forked from pool/apache2
Accepting request 985733 from Apache
OBS-URL: https://build.opensuse.org/request/show/985733 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2?expand=0&rev=195
This commit is contained in:
commit
2b5b9f5ff2
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 28 14:39:26 UTC 2022 - Stefan Schubert <schubi@intern>
|
||||||
|
|
||||||
|
- Moved logrotate files from user specific directory /etc/logrotate.d
|
||||||
|
to vendor specific directory /usr/etc/logrotate.d.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 8 11:26:13 UTC 2022 - pgajdos@suse.com
|
Wed Jun 8 11:26:13 UTC 2022 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -513,8 +513,13 @@ cat > %{buildroot}/%{_libexecdir}/apache2_MMN <<-EOF
|
|||||||
echo %{apache_mmn}
|
echo %{apache_mmn}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
mkdir -p %{buildroot}%{_distconfdir}/logrotate.d
|
||||||
|
install -m 644 %{SOURCE31} %{buildroot}/%{_distconfdir}/logrotate.d/apache2
|
||||||
|
%else
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
|
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
|
||||||
install -m 644 %{SOURCE31} %{buildroot}/%{_sysconfdir}/logrotate.d/apache2
|
install -m 644 %{SOURCE31} %{buildroot}/%{_sysconfdir}/logrotate.d/apache2
|
||||||
|
%endif
|
||||||
|
|
||||||
make DESTDIR=%{buildroot} install-suexec -j1
|
make DESTDIR=%{buildroot} install-suexec -j1
|
||||||
|
|
||||||
@ -852,7 +857,11 @@ exit 0
|
|||||||
%dir %{sysconfdir}/conf.d
|
%dir %{sysconfdir}/conf.d
|
||||||
%dir %{sysconfdir}/vhosts.d
|
%dir %{sysconfdir}/vhosts.d
|
||||||
%{_fillupdir}/sysconfig.apache2
|
%{_fillupdir}/sysconfig.apache2
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%{_distconfdir}/logrotate.d/apache2
|
||||||
|
%else
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/apache2
|
%config(noreplace) %{_sysconfdir}/logrotate.d/apache2
|
||||||
|
%endif
|
||||||
%{_unitdir}/apache2.service
|
%{_unitdir}/apache2.service
|
||||||
%{_unitdir}/apache2@.service
|
%{_unitdir}/apache2@.service
|
||||||
%{_unitdir}/apache2.target
|
%{_unitdir}/apache2.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user