Compare commits
67 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6246accae | ||
|
|
1b2f8ef6d9 | ||
|
|
e1a22bc2bf | ||
|
|
922d589e64 | ||
|
|
cfa0ed06cc | ||
|
|
35f2755fd1 | ||
|
|
6015a7ef86 | ||
|
|
6a5dffd2aa | ||
|
|
f7115aee66 | ||
|
|
2dc58c1b4a | ||
|
|
9eae7c317a | ||
|
|
55ffac7941 | ||
|
|
cdf316a2f0 | ||
|
|
397fdf2e2e | ||
|
|
3c60e9fb09 | ||
|
|
3b3d4720d7 | ||
|
|
79945597b9 | ||
|
|
25b0e35ce6 | ||
|
|
7e3be976ab | ||
|
|
987625859e | ||
|
|
33955ca639 | ||
|
|
4a35676781 | ||
|
|
3bc9669c92 | ||
|
|
b4f5296338 | ||
|
|
78f7015909 | ||
|
|
866385e700 | ||
|
|
d56e3c9a0e | ||
|
|
bd10c72eff | ||
|
|
cd185fa508 | ||
|
|
36b27510aa | ||
|
|
fb80fe23e4 | ||
|
|
0559a64142 | ||
|
|
8d8a869c2e | ||
|
|
177c1aa024 | ||
|
|
01f88a3e9c | ||
|
|
527e2158f3 | ||
|
|
f771c96d92 | ||
|
|
0d75b57e96 | ||
|
|
5b42bbd1ae | ||
|
|
5a663f3961 | ||
|
|
153431058b | ||
|
|
afc96310f4 | ||
|
|
eca613a2ab | ||
|
|
5c8a69deca | ||
|
|
9e1550b608 | ||
|
|
524080c49f | ||
|
|
1a5e851e22 | ||
|
|
07f14cc8f8 | ||
|
|
03b7b8f8e6 | ||
|
|
740d603f37 | ||
|
|
d584406620 | ||
|
|
4c675c785f | ||
|
|
c86e1e94da | ||
|
|
74d5d93859 | ||
|
|
48b049b116 | ||
|
|
c1868d6654 | ||
|
|
fd0d6ea01f | ||
|
|
4cb7465289 | ||
|
|
c76067efd8 | ||
|
|
e4b70e261a | ||
|
|
6313caf0fd | ||
|
|
da88992d30 | ||
|
|
0ca450977f | ||
|
|
2c9c3acacc | ||
|
|
727c3d6f65 | ||
|
|
a7d2bc1fe9 | ||
|
|
d3fe6302c1 |
3 changed files with 45 additions and 22 deletions
11
gating.yaml
11
gating.yaml
|
|
@ -1,12 +1,19 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
- fedora-rawhide
|
||||
decision_contexts:
|
||||
- bodhi_update_push_testing
|
||||
- bodhi_update_push_stable
|
||||
- bodhi_update_push_testing
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional}
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_contexts:
|
||||
- bodhi_update_push_stable
|
||||
- bodhi_update_push_testing
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis}
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional}
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/javapackages.functional}
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (apache-tomcat-10.1.34-src.tar.gz) = 0124d92eb1d184bdce1a50d5934958a0c796460a7157a8622aeee2b21060f5377198939a0260285bcdaa25cea42b880cb97575469a63f7b33ec22d532927e6ca
|
||||
SHA512 (apache-tomcat-10.1.46-src.tar.gz) = 4abb5a5fad013135c4107508e4530673e4af623658b6aff5c4fc18fd557dfca37b58a9c5c0479e52e240b53d469ad91a34225a80b718aa2f91b8d385d16d9682
|
||||
|
|
|
|||
54
tomcat.spec
54
tomcat.spec
|
|
@ -31,7 +31,7 @@
|
|||
%global jspspec 3.1
|
||||
%global major_version 10
|
||||
%global minor_version 1
|
||||
%global micro_version 34
|
||||
%global micro_version 46
|
||||
%global packdname apache-tomcat-%{version}-src
|
||||
%global servletspec 6.0
|
||||
%global elspec 5.0
|
||||
|
|
@ -86,23 +86,22 @@ Patch6: rhbz-1857043.patch
|
|||
BuildArch: noarch
|
||||
ExclusiveArch: %{java_arches} noarch
|
||||
|
||||
BuildRequires: ant >= 1.10.2
|
||||
BuildRequires: ant-openjdk25 >= 1.10.2
|
||||
BuildRequires: ecj >= 4.20
|
||||
BuildRequires: findutils
|
||||
BuildRequires: java-devel >= 17
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: java-25-devel
|
||||
BuildRequires: javapackages-local-openjdk25
|
||||
BuildRequires: aqute-bnd
|
||||
BuildRequires: aqute-bndlib
|
||||
BuildRequires: systemd
|
||||
BuildRequires: tomcat-jakartaee-migration
|
||||
|
||||
Requires: (java-headless >= 11 or java >= 11)
|
||||
Requires: (java-25-headless or java-25)
|
||||
Requires: javapackages-tools
|
||||
Requires: %{name}-lib = %{epoch}:%{version}-%{release}
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
Recommends: tomcat-native >= %{native_version}
|
||||
%endif
|
||||
Requires(pre): shadow-utils
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
|
|
@ -137,9 +136,11 @@ The docs web application for Apache Tomcat.
|
|||
%package jsp-%{jspspec}-api
|
||||
Summary: Apache Tomcat JavaServer Pages v%{jspspec} API Implementation Classes
|
||||
Provides: jsp = %{jspspec}
|
||||
Obsoletes: %{name}-jsp-api < %{jspspec}
|
||||
Requires: %{name}-servlet-%{servletspec}-api = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-el-%{elspec}-api = %{epoch}:%{version}-%{release}
|
||||
Obsoletes: %{name}-jsp-2.3-api < 1:9.1
|
||||
Provides: %{name}-jsp-2.3-api = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
|
||||
|
||||
%description jsp-%{jspspec}-api
|
||||
Apache Tomcat JSP API Implementation Classes.
|
||||
|
|
@ -159,7 +160,8 @@ Libraries needed to run the Tomcat Web container.
|
|||
%package servlet-%{servletspec}-api
|
||||
Summary: Apache Tomcat Java Servlet v%{servletspec} API Implementation Classes
|
||||
Provides: servlet = %{servletspec}
|
||||
Obsoletes: %{name}-servlet-api < %{servletspec}
|
||||
Obsoletes: %{name}-servlet-4.0-api < 1:9.1
|
||||
Provides: %{name}-servlet-4.0-api = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
|
||||
%description servlet-%{servletspec}-api
|
||||
Apache Tomcat Servlet API Implementation Classes.
|
||||
|
|
@ -167,7 +169,8 @@ Apache Tomcat Servlet API Implementation Classes.
|
|||
%package el-%{elspec}-api
|
||||
Summary: Apache Tomcat Expression Language v%{elspec} API Implementation Classes
|
||||
Provides: el_api = %{elspec}
|
||||
Obsoletes: %{name}-el-api < %{elspec}
|
||||
Obsoletes: %{name}-el-3.0-api < 1:9.1
|
||||
Provides: %{name}-el-3.0-api = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
|
||||
%description el-%{elspec}-api
|
||||
Apache Tomcat EL API Implementation Classes.
|
||||
|
|
@ -203,6 +206,11 @@ find . -type f \( -name "*.bat" -o -name "*.class" -o -name Thumbs.db -o -name "
|
|||
%mvn_alias "org.apache.tomcat:tomcat-jsp-api" "jakarta.servlet:jakarta.servlet.jsp"
|
||||
%mvn_package ":tomcat-servlet-api" tomcat-servlet-api
|
||||
|
||||
# Create a sysusers.d config file
|
||||
cat >tomcat.sysusers.conf <<EOF
|
||||
u tomcat %{tcuid} 'Apache Tomcat' %{homedir} -
|
||||
EOF
|
||||
|
||||
|
||||
%build
|
||||
# we don't care about the tarballs and we're going to replace jars
|
||||
|
|
@ -401,16 +409,7 @@ popd
|
|||
|
||||
%mvn_install
|
||||
|
||||
%pre
|
||||
# add the tomcat user and group
|
||||
getent group tomcat >/dev/null || %{_sbindir}/groupadd -f -g %{tcuid} -r tomcat
|
||||
if ! getent passwd tomcat >/dev/null ; then
|
||||
if ! getent passwd %{tcuid} >/dev/null ; then
|
||||
%{_sbindir}/useradd -r -u %{tcuid} -g tomcat -d %{homedir} -s /sbin/nologin -c "Apache Tomcat" tomcat
|
||||
# Tomcat uses a reserved ID, so there should never be an else
|
||||
fi
|
||||
fi
|
||||
exit 0
|
||||
install -m0644 -D tomcat.sysusers.conf %{buildroot}%{_sysusersdir}/tomcat.conf
|
||||
|
||||
%post
|
||||
# install but don't activate
|
||||
|
|
@ -476,6 +475,7 @@ exit 0
|
|||
%{homedir}/work
|
||||
%{homedir}/logs
|
||||
%{homedir}/conf
|
||||
%{_sysusersdir}/tomcat.conf
|
||||
|
||||
%files admin-webapps
|
||||
%defattr(0664,root,tomcat,0755)
|
||||
|
|
@ -523,6 +523,22 @@ exit 0
|
|||
%{appdir}/ROOT
|
||||
|
||||
%changelog
|
||||
* Thu Sep 25 2025 Adam Williamson <awilliam@redhat.com> - 1:10.1.46-2
|
||||
- Drop now-unnecessary version bounds in java requirements
|
||||
- Specify java-25-headless, not java-headless (#2398212)
|
||||
|
||||
* Fri Sep 12 2025 Dimitris Soumis <dsoumis@redhat.com> - 1:10.1.46-1
|
||||
- Update to version 10.1.46
|
||||
|
||||
* Tue Aug 19 2025 Dimitris Soumis <dsoumis@redhat.com> - 1:10.1.43-7
|
||||
- Add virtual provides to resolve installability issues
|
||||
|
||||
* Thu Aug 14 2025 Dimitris Soumis <dsoumis@redhat.com> - 1:10.1.43-6
|
||||
- Rebuilt for the side tag f43-build-side-116701
|
||||
|
||||
* Tue Jul 29 2025 Dimitris Soumis <dsoumis@redhat.com> - 1:10.1.43-5
|
||||
- Rebuilt for the side tag f43-build-side-114811
|
||||
|
||||
* Fri Jan 10 2025 Dimitris Soumis <dsoumis@redhat.com> - 1:10.1.34-1
|
||||
- Update to version 10.1.34
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue