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

This commit is contained in:
Jakub Jelen 2015-03-12 13:43:25 +01:00
parent c11ac22f93
commit 25b0bbbdb6

View File

@ -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