From 3a1cd7841fd5fde447b2717462d9534b7475a99b Mon Sep 17 00:00:00 2001
From: "Nathanael d. Noblet" <[email protected]>
Date: Mon, 16 Jan 2017 09:32:38 -0700
Subject: use tmpfiles macro, fix bug #12140629

---
 dspam.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dspam.spec b/dspam.spec
index 9b79efc..9844dc4 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -12,7 +12,7 @@
 Summary:                A library and Mail Delivery Agent for Bayesian SPAM 
filtering
 Name:                   dspam
 Version:                3.10.2
-Release:                19%{?dist}
+Release:                20%{?dist}
 License:                GPLv2
 Group:                  System Environment/Daemons
 Source0:                
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -238,7 +238,7 @@ echo "Scanned and tagged as non-SPAM with DSPAM %{version} 
by Your ISP.com"> $RP
 %{__install} -Dp -m0644 %{SOURCE3} 
$RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/dspam
 
 # install tmpfiles script
-%{__install} -Dp -m0644 %{SOURCE7} 
$RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/dspam.conf
+%{__install} -Dp -m0644 %{SOURCE7} $RPM_BUILD_ROOT%{_tmpfilesdir}/dspam.conf
 
 # install devel files
 %{__install} -Dp -m 0644 src/*.h $RPM_BUILD_ROOT%{_includedir}/dspam/
@@ -303,7 +303,7 @@ exit 0
 %config(noreplace) %{dspam_homedir}/txt/*
 %attr(0770,%{dspam_user},%{mail_group}) %dir %{_var}/run/dspam
 %{_sysconfdir}/cron.daily/dspam
-%config(noreplace) %{_sysconfdir}/tmpfiles.d/dspam.conf
+%{_tmpfilesdir}/dspam.conf
 %config(noreplace) %{_sysconfdir}/logrotate.d/dspam
 %attr(0640,root,%{mail_group}) %config(noreplace) %{dspam_confdir}/dspam.conf
 %attr(0644,root,%{mail_group}) %config(noreplace) 
%{dspam_confdir}/dspam.conf.default
@@ -375,6 +375,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Sat Jan 14 2017 Ville Skyttä <[email protected]> - 3.10.2-20
+- Move tmpfiles.d config to %%{_tmpfilesdir}
+
 * Wed Feb 03 2016 Fedora Release Engineering <[email protected]> - 
3.10.2-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/dspam.git/commit/?h=f24&id=3a1cd7841fd5fde447b2717462d9534b7475a99b
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to