[fail2ban] Need empty %files to produce main and -all package

Orion Poplawski orion at fedoraproject.org
Thu Mar 20 14:58:58 UTC 2014


commit d81aba9573a205551f8e54998ca16480605af610
Author: Orion Poplawski <orion at nwra.com>
Date:   Thu Mar 20 08:59:00 2014 -0600

    Need empty %files to produce main and -all package

 fail2ban.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/fail2ban.spec b/fail2ban.spec
index 6eed81d..7a24cbf 100644
--- a/fail2ban.spec
+++ b/fail2ban.spec
@@ -1,7 +1,7 @@
 Summary: Daemon to ban hosts that cause multiple authentication errors
 Name: fail2ban
 Version: 0.9
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+
 URL: http://fail2ban.sourceforge.net/
 Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
@@ -216,6 +216,8 @@ fi
 %systemd_postun_with_restart fail2ban.service
 %endif
 
+%files
+
 %files server
 %doc README.md TODO ChangeLog COPYING doc/*.txt
 %{_bindir}/fail2ban-server
@@ -242,6 +244,8 @@ fi
 %dir %{_localstatedir}/lib/fail2ban/
 %dir %{_localstatedir}/run/fail2ban/
 
+%files all
+
 %files firewalld
 %config(noreplace) %{_sysconfdir}/fail2ban/jail.d/00-firewalld.conf
 
@@ -263,6 +267,9 @@ fi
 
 
 %changelog
+* Thu Mar 20 2014 Orion Poplawski <orion at cora.nwra.com> - 0.9-4
+- Need empty %%files to produce main and -all package
+
 * Wed Mar 19 2014 Orion Poplawski <orion at cora.nwra.com> - 0.9-3
 - Split into sub-packages for different components
 - Enable journal filter by default (bug #985567)


More information about the scm-commits mailing list