forked from pool/fetchmail
Accepting request 984196 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/984196 OBS-URL: https://build.opensuse.org/package/show/server:mail/fetchmail?expand=0&rev=133
This commit is contained in:
parent
3c17df6a9f
commit
8d79cc8c79
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 21 13:43:53 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 28 10:16:07 UTC 2022 - David Anes <david.anes@suse.com>
|
||||
|
||||
|
@ -113,8 +113,14 @@ export CFLAGS="%{optflags} -fPIE"
|
||||
%install
|
||||
%make_install
|
||||
ln -sf fetchmail.1.gz %{buildroot}%{_mandir}/man1/fetchmailconf.1.gz
|
||||
%if 0%{?suse_version} > 1500
|
||||
mkdir -p %{buildroot}%{_sysconfdir}
|
||||
mkdir -p %{buildroot}%{_distconfdir}/logrotate.d
|
||||
cp fetchmail.logrotate %{buildroot}%{_distconfdir}/logrotate.d/fetchmail
|
||||
%else
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
|
||||
cp fetchmail.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/fetchmail
|
||||
%endif
|
||||
mkdir -p %{buildroot}/sbin
|
||||
mkdir -p %{buildroot}%{_unitdir}
|
||||
mkdir -p %{buildroot}%{_tmpfilesdir}
|
||||
@ -163,7 +169,11 @@ rm -r contrib/gai*
|
||||
%ghost %attr(0600, fetchmail, root) %{_localstatedir}/log/fetchmail
|
||||
%{_mandir}/man1/fetchmail.1%{?ext_man}
|
||||
%ghost %config(noreplace) %attr(0600, fetchmail, root) %{_sysconfdir}/fetchmailrc
|
||||
%if 0%{?suse_version} > 1500
|
||||
%{_distconfdir}/logrotate.d/fetchmail
|
||||
%else
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/fetchmail
|
||||
%endif
|
||||
%{_unitdir}/%{name}.service
|
||||
%{_sbindir}/rc%{name}
|
||||
%{_libexecdir}/%{name}-systemd-exec
|
||||
|
Loading…
Reference in New Issue
Block a user