Accepting request 985767 from home:schubi2
- Moved logrotate files from user specific directory /etc/logrotate.d to vendor specific directory /usr/etc/logrotate.d. OBS-URL: https://build.opensuse.org/request/show/985767 OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=197
This commit is contained in:
parent
3a299c7f83
commit
c8db686502
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 29 10:54:08 UTC 2022 - Stefan Schubert <schubi@suse.com>
|
||||||
|
|
||||||
|
- Moved logrotate files from user specific directory /etc/logrotate.d
|
||||||
|
to vendor specific directory /usr/etc/logrotate.d.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 12 16:30:32 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
Sun Jun 12 16:30:32 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||||
|
|
||||||
|
@ -104,7 +104,12 @@ install -Dpm0660 sentinel.conf %{buildroot}%{_conf_dir}/sentinel.conf.e
|
|||||||
|
|
||||||
# some sysctl stuff
|
# some sysctl stuff
|
||||||
install -Dpm0644 %{SOURCE6} %{buildroot}/%{_prefix}/lib/sysctl.d/00-%{name}.conf
|
install -Dpm0644 %{SOURCE6} %{buildroot}/%{_prefix}/lib/sysctl.d/00-%{name}.conf
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
mkdir -p %{buildroot}%{_distconfdir}/logrotate.d
|
||||||
|
install -Dpm0644 %{SOURCE1} %{buildroot}%{_distconfdir}/logrotate.d/%{name}
|
||||||
|
%else
|
||||||
install -Dpm0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
install -Dpm0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
||||||
|
%endif
|
||||||
install -Dpm0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.target
|
install -Dpm0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.target
|
||||||
install -Dpm0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}@.service
|
install -Dpm0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}@.service
|
||||||
install -Dpm0644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}/%{name}.conf
|
install -Dpm0644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}/%{name}.conf
|
||||||
@ -144,7 +149,11 @@ echo "See %{_docdir}/%{name}/README.SUSE to continue"
|
|||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc 00-RELEASENOTES BUGS CONTRIBUTING README.md
|
%doc 00-RELEASENOTES BUGS CONTRIBUTING README.md
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%{_distconfdir}/logrotate.d/%{name}
|
||||||
|
%else
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
||||||
|
%endif
|
||||||
%{_prefix}/lib/sysctl.d/00-%{name}.conf
|
%{_prefix}/lib/sysctl.d/00-%{name}.conf
|
||||||
%{_bindir}/%{name}-*
|
%{_bindir}/%{name}-*
|
||||||
%{_sbindir}/%{name}-*
|
%{_sbindir}/%{name}-*
|
||||||
|
Loading…
Reference in New Issue
Block a user