[packages/fail2ban] - install upstream tmpfiles config

baggins baggins at pld-linux.org
Mon Jan 6 21:03:20 CET 2014


commit 76dfd851d265e40d316cdee2868c361c3ec568a8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Jan 6 18:51:32 2014 +0100

    - install upstream tmpfiles config

 fail2ban.spec     | 3 +--
 fail2ban.tmpfiles | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/fail2ban.spec b/fail2ban.spec
index 93d6c7f..7a5fd89 100644
--- a/fail2ban.spec
+++ b/fail2ban.spec
@@ -8,7 +8,6 @@ Group:		Daemons
 Source0:	http://download.sourceforge.net/fail2ban/%{name}-%{version}.tar.gz
 # Source0-md5:	2182a21c7efd885f373ffc941d11914d
 Source1:	%{name}.init
-Source2:	%{name}.tmpfiles
 Patch0:		ipv6.patch
 URL:		http://fail2ban.sourceforge.net/
 BuildRequires:	python-devel
@@ -57,7 +56,7 @@ PYTHONPATH=$RPM_BUILD_ROOT%{py_sitescriptdir}; export PYTHONPATH
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fail2ban
 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
-install %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+install files/fail2ban-tmpfiles.conf $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
 
 %py_postclean
 
diff --git a/fail2ban.tmpfiles b/fail2ban.tmpfiles
deleted file mode 100644
index b70864b..0000000
--- a/fail2ban.tmpfiles
+++ /dev/null
@@ -1 +0,0 @@
-d /var/run/fail2ban 0755 root root -
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fail2ban.git/commitdiff/47c24e99b565dd110b23ae0681d14a78b86c19b6



More information about the pld-cvs-commit mailing list