[cyrus-sasl] Cleanup spec file: tmpfiles.d macros and tab/space cleanup

Jakub Jelen jjelen at fedoraproject.org
Fri Mar 13 16:27:12 UTC 2015


commit 25b0bbbdb6fff36b4930a065afb9e7641eaa983d
Author: Jakub Jelen <jjelen at redhat.com>
Date:   Thu Mar 12 13:43:25 2015 +0100

    Cleanup spec file: tmpfiles.d macros and tab/space cleanup

 cyrus-sasl.spec | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec
index a33d01f..78890a8 100644
--- a/cyrus-sasl.spec
+++ b/cyrus-sasl.spec
@@ -1,6 +1,6 @@
-%define username	saslauth
-%define hint		Saslauthd user
-%define homedir		/run/saslauthd
+%define username    saslauth
+%define hint        Saslauthd user
+%define homedir     /run/saslauthd
 
 %define _plugindir2 %{_libdir}/sasl2
 %define bootstrap_cyrus_sasl 0
@@ -325,8 +325,8 @@ install -m755 -d $RPM_BUILD_ROOT/etc/rc.d/init.d $RPM_BUILD_ROOT/etc/sysconfig
 install -d -m755 $RPM_BUILD_ROOT/%{_unitdir}
 install -m644 -p %{SOURCE5} $RPM_BUILD_ROOT/%{_unitdir}/saslauthd.service
 install -m644 -p %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/saslauthd
-install -m755 -d $RPM_BUILD_ROOT/%{_prefix}/lib/tmpfiles.d
-install -m644 -p %{SOURCE11} $RPM_BUILD_ROOT/%{_prefix}/lib/tmpfiles.d/saslauthd.conf
+install -m755 -d $RPM_BUILD_ROOT/%{_tmpfilesdir}
+install -m644 -p %{SOURCE11} $RPM_BUILD_ROOT/%{_tmpfilesdir}/saslauthd.conf
 
 # Install the config dirs if they're not already there.
 install -m755 -d $RPM_BUILD_ROOT/%{_sysconfdir}/sasl2
@@ -377,7 +377,7 @@ getent passwd %{username} >/dev/null || useradd -r -g %{username} -d %{homedir}
 %{_sbindir}/testsaslauthd
 %config(noreplace) /etc/sysconfig/saslauthd
 %{_unitdir}/saslauthd.service
-%{_prefix}/lib/tmpfiles.d/saslauthd.conf
+%{_tmpfilesdir}/saslauthd.conf
 %dir %attr(-, saslauth, saslauth) /run/saslauthd
 
 %files lib


More information about the scm-commits mailing list