Dominique Leuenberger 2017-11-29 09:49:58 +00:00 committed by Git OBS Bridge
commit a4544851e9
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 23 13:38:18 UTC 2017 - rbrown@suse.com
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 4 10:01:17 UTC 2017 - vcizek@suse.com Mon Sep 4 10:01:17 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: cyrus-sasl-saslauthd Name: cyrus-sasl-saslauthd
Version: 2.1.26 Version: 2.1.26
Release: 0 Release: 0
@ -122,7 +127,7 @@ mkdir -p $RPM_BUILD_ROOT/usr/bin
install -m 755 testsaslauthd $RPM_BUILD_ROOT/usr/bin/testsaslauthd install -m 755 testsaslauthd $RPM_BUILD_ROOT/usr/bin/testsaslauthd
cd - cd -
mkdir -p $RPM_BUILD_ROOT/sbin mkdir -p $RPM_BUILD_ROOT/sbin
install -D -m 644 SuSE/sysconfig.saslauthd $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.saslauthd install -D -m 644 SuSE/sysconfig.saslauthd $RPM_BUILD_ROOT%{_fillupdir}/sysconfig.saslauthd
rm -f $RPM_BUILD_ROOT/%{_mandir}/cat?/* rm -f $RPM_BUILD_ROOT/%{_mandir}/cat?/*
rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libsasldb* rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libsasldb*
rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libldapdb.la rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libldapdb.la
@ -148,7 +153,7 @@ install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_unitdir}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
/var/adm/fillup-templates/sysconfig.saslauthd %{_fillupdir}/sysconfig.saslauthd
%{_unitdir}/saslauthd.service %{_unitdir}/saslauthd.service
%dir %attr(0755, root, root) %ghost /run/sasl2 %dir %attr(0755, root, root) %ghost /run/sasl2
/usr/sbin/* /usr/sbin/*