Resolves: #1992851 Remove the ap24 subpackage so that users can simply install mod_jk
This commit is contained in:
parent
95b0a33f2b
commit
79b2fa4134
18
mod_jk.spec
18
mod_jk.spec
@ -48,6 +48,8 @@ Source3: workers.properties.sample
|
|||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
Requires: httpd
|
||||||
|
|
||||||
BuildRequires: httpd-devel
|
BuildRequires: httpd-devel
|
||||||
BuildRequires: apr-devel
|
BuildRequires: apr-devel
|
||||||
BuildRequires: apr-util-devel
|
BuildRequires: apr-util-devel
|
||||||
@ -63,18 +65,7 @@ BuildRequires: xalan-j2 >= 2.7.0
|
|||||||
Tomcat-connectors (mod_jk) is a project that provides web server
|
Tomcat-connectors (mod_jk) is a project that provides web server
|
||||||
connectors for the Apache Tomcat servlet engine.
|
connectors for the Apache Tomcat servlet engine.
|
||||||
|
|
||||||
%package ap24
|
Obsoletes: %{pkg_name}-ap24 < %{epoch}:%{version}
|
||||||
Summary: Tomcat %{pkg_name} connector for Apache 2.4.x
|
|
||||||
Group: Internet/WWW/Servers
|
|
||||||
Provides: %{pkg_name} = %{epoch}:%{version}-%{release}
|
|
||||||
Obsoletes: tomcat-mod
|
|
||||||
Obsoletes: %{pkg_name}-ap20 < %{epoch}:%{version}
|
|
||||||
Obsoletes: %{pkg_name}-ap22 < %{epoch}:%{version}
|
|
||||||
Obsoletes: mod_jk-tools < %{epoch}:%{version}-%{release}
|
|
||||||
Requires: httpd >= 2.4.6
|
|
||||||
|
|
||||||
%description ap24
|
|
||||||
Tomcat %{pkg_name} connector for Apache 2.4.x.
|
|
||||||
|
|
||||||
%package manual
|
%package manual
|
||||||
Summary: Tomcat %{pkg_name} connector manual
|
Summary: Tomcat %{pkg_name} connector manual
|
||||||
@ -150,7 +141,7 @@ command="s|/usr/local/bin\b|%{_bindir}|"
|
|||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files ap24
|
%files
|
||||||
%{!?apxs: %{expand: %%define apxs %{_bindir}/apxs}}
|
%{!?apxs: %{expand: %%define apxs %{_bindir}/apxs}}
|
||||||
%define aplibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
|
%define aplibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -170,6 +161,7 @@ command="s|/usr/local/bin\b|%{_bindir}|"
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Aug 16 2021 Coty Sutherland <csutherl@redhat.com> - 1.2.48-20
|
* Mon Aug 16 2021 Coty Sutherland <csutherl@redhat.com> - 1.2.48-20
|
||||||
- Cleanup spec file and remove .redhat-N suffix from release
|
- Cleanup spec file and remove .redhat-N suffix from release
|
||||||
|
- Remove ap24 subpackage since we only need to build for one version of httpd
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0:1.2.48-19.redhat_1.1
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0:1.2.48-19.redhat_1.1
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
- name: Install required packages
|
- name: Install required packages
|
||||||
dnf:
|
dnf:
|
||||||
name: >
|
name: >
|
||||||
httpd, mod_jk-ap24
|
httpd, mod_jk
|
||||||
|
|
||||||
- name: Configure mod_jk.conf
|
- name: Configure mod_jk.conf
|
||||||
command: mv /etc/httpd/conf.d/mod_jk.conf.sample /etc/httpd/conf.d/mod_jk.conf
|
command: mv /etc/httpd/conf.d/mod_jk.conf.sample /etc/httpd/conf.d/mod_jk.conf
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
dir: .
|
dir: .
|
||||||
run: "grep -e \"mod_jk/.* configured -- resuming normal operations\" /var/log/httpd/error_log"
|
run: "grep -e \"mod_jk/.* configured -- resuming normal operations\" /var/log/httpd/error_log"
|
||||||
required_packages:
|
required_packages:
|
||||||
- mod_jk-ap24
|
- mod_jk
|
||||||
- httpd
|
- httpd
|
||||||
required_services:
|
required_services:
|
||||||
- httpd
|
- httpd
|
||||||
|
Loading…
Reference in New Issue
Block a user