SHA256
1
0
forked from pool/fetchmail

Accepting request 544714 from home:RBrownSUSE:branches:server:mail

Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544714
OBS-URL: https://build.opensuse.org/package/show/server:mail/fetchmail?expand=0&rev=78
This commit is contained in:
Tomáš Chvátal 2017-11-24 07:06:33 +00:00 committed by Git OBS Bridge
parent 623357a802
commit be24df9059
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 23 13:43:10 UTC 2017 - rbrown@suse.com
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
-------------------------------------------------------------------
Mon Nov 13 17:18:00 UTC 2017 - vcizek@suse.com

View File

@ -16,6 +16,11 @@
#
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
%endif
Name: fetchmail
Version: 6.3.26
Release: 0
@ -111,8 +116,8 @@ install -m 0755 %{SOURCE8} %{buildroot}/%{_libexecdir}/%{name}-systemd-exec
mkdir -p %{buildroot}%{_sbindir}
ln -s service %{buildroot}%{_sbindir}/rc%{name}
touch %{buildroot}%{_sysconfdir}/fetchmailrc
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
cp sysconfig.%{name} %{buildroot}%{_localstatedir}/adm/fillup-templates
mkdir -p %{buildroot}%{_fillupdir}
cp sysconfig.%{name} %{buildroot}%{_fillupdir}
mkdir -p %{buildroot}%{_localstatedir}/log
touch %{buildroot}%{_localstatedir}/log/fetchmail
mkdir -p %{buildroot}%{_localstatedir}/lib/fetchmail
@ -160,7 +165,7 @@ fi
%{_sbindir}/rc%{name}
%{_libexecdir}/%{name}-systemd-exec
%{_libexecdir}/tmpfiles.d/%{name}.conf
%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
%{_fillupdir}/sysconfig.%{name}
%files -n fetchmailconf
%defattr(-, root, root)