- drop systemd leftovers
authorMarcin Krol <hawk@tld-linux.org>
Sun, 19 Jul 2015 12:45:02 +0000 (12:45 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Sun, 19 Jul 2015 12:45:02 +0000 (12:45 +0000)
dspam.spec
dspam.tmpfiles [deleted file]

index 0c56d41a7e5b53ef3f00d59ec7505f50923ae2a4..6c6f11ca41625817525670e7931b9ece4faee890 100644 (file)
@@ -22,7 +22,6 @@ Source0:      http://downloads.sourceforge.net/project/dspam/dspam/%{name}-%{version}
 # Source0-md5: 10d092b57d628d8c91655fee5dc0d0cd
 Source1:       %{name}.init
 Source2:       %{name}-apache.conf
-Source3:       %{name}.tmpfiles
 Source4:       %{name}-httpd.conf
 Patch0:                %{name}-webui.patch
 Patch1:                %{name}-config.patch
@@ -323,8 +322,7 @@ hash_drv
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/var/run/dspam,/etc/{rc.d/init.d,sysconfig}} \
-       $RPM_BUILD_ROOT/var/lib/%{name}/{txt,data} \
-       $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
+       $RPM_BUILD_ROOT/var/lib/%{name}/{txt,data}
 
 %{__make} -j1 install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -386,8 +384,6 @@ install %{SOURCE2} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
 install %{SOURCE4} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
 touch $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/htpasswd
 
-install %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
-
 # cleanup
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/dspam/*.{a,la}
 
@@ -436,7 +432,6 @@ rm -rf $RPM_BUILD_ROOT
 %doc README CHANGELOG RELEASE.NOTES UPGRADING
 %doc doc/{courier,exim,markov,pop3filter,postfix,qmail,relay,sendmail}.txt
 %doc scripts/train.pl
-/usr/lib/tmpfiles.d/%{name}.conf
 %dir %attr(775,root,mail) /var/run/dspam
 %dir %attr(750,root,mail) /var/lib/%{name}
 %dir %attr(770,root,mail) /var/lib/%{name}/data
diff --git a/dspam.tmpfiles b/dspam.tmpfiles
deleted file mode 100644 (file)
index e48ffcd..0000000
+++ /dev/null
@@ -1 +0,0 @@
-d /var/run/dspam 0775 root mail -