Resolves: #1947099 - centralizing default index.html for httpd

This commit is contained in:
Luboš Uhliarik 2021-06-08 11:17:18 +02:00
parent 538ad5ff55
commit a8dd1da944
1 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,7 @@
Summary: Apache HTTP Server Summary: Apache HTTP Server
Name: httpd Name: httpd
Version: 2.4.48 Version: 2.4.48
Release: 1%{?dist} Release: 2%{?dist}
URL: https://httpd.apache.org/ URL: https://httpd.apache.org/
Source0: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2 Source0: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
Source1: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2.asc Source1: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2.asc
@ -104,7 +104,7 @@ BuildRequires: perl-interpreter, perl-generators, systemd-devel
BuildRequires: zlib-devel, libselinux-devel, lua-devel, brotli-devel BuildRequires: zlib-devel, libselinux-devel, lua-devel, brotli-devel
BuildRequires: apr-devel >= 1.5.0, apr-util-devel >= 1.5.0, pcre-devel >= 5.0 BuildRequires: apr-devel >= 1.5.0, apr-util-devel >= 1.5.0, pcre-devel >= 5.0
BuildRequires: gnupg2 BuildRequires: gnupg2
Requires: /etc/mime.types, system-logos-httpd >= 34.0.1 Requires: /etc/mime.types, system-logos-httpd
Provides: webserver Provides: webserver
Provides: mod_dav = %{version}-%{release}, httpd-suexec = %{version}-%{release} Provides: mod_dav = %{version}-%{release}, httpd-suexec = %{version}-%{release}
Provides: httpd-mmn = %{mmn}, httpd-mmn = %{mmnisa} Provides: httpd-mmn = %{mmn}, httpd-mmn = %{mmnisa}
@ -461,7 +461,7 @@ EOF
# Handle contentdir # Handle contentdir
mkdir $RPM_BUILD_ROOT%{contentdir}/noindex \ mkdir $RPM_BUILD_ROOT%{contentdir}/noindex \
$RPM_BUILD_ROOT%{contentdir}/server-status $RPM_BUILD_ROOT%{contentdir}/server-status
ln -s ../../fedora-testpage/index.html \ ln -s ../../testpage/index.html \
$RPM_BUILD_ROOT%{contentdir}/noindex/index.html $RPM_BUILD_ROOT%{contentdir}/noindex/index.html
install -m 644 -p docs/server-status/* \ install -m 644 -p docs/server-status/* \
$RPM_BUILD_ROOT%{contentdir}/server-status $RPM_BUILD_ROOT%{contentdir}/server-status
@ -787,6 +787,9 @@ exit $rv
%{_rpmconfigdir}/macros.d/macros.httpd %{_rpmconfigdir}/macros.d/macros.httpd
%changelog %changelog
* Tue Jun 08 2021 Luboš Uhliarik <luhliari@redhat.com> - 2.4.48-2
- Resolves: #1947099 - centralizing default index.html for httpd
* Wed Jun 02 2021 Luboš Uhliarik <luhliari@redhat.com> - 2.4.48-1 * Wed Jun 02 2021 Luboš Uhliarik <luhliari@redhat.com> - 2.4.48-1
- new version 2.4.48 - new version 2.4.48
- Resolves: #1952817 - rebase to 2.4.48 - Resolves: #1952817 - rebase to 2.4.48