[ikiwiki] RPM 4.9 dependency filtering added
Petr Sabata
psabata at fedoraproject.org
Fri Jul 22 09:06:23 UTC 2011
commit d2d40e1031bd659d4bcaf26fa6e3195c6b17f20b
Author: Petr Pisar <ppisar at redhat.com>
Date: Fri Jul 22 11:03:51 2011 +0200
RPM 4.9 dependency filtering added
ikiwiki.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ikiwiki.spec b/ikiwiki.spec
index 777b781..4c1263d 100644
--- a/ikiwiki.spec
+++ b/ikiwiki.spec
@@ -1,6 +1,6 @@
Name: ikiwiki
Version: 3.20110715
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A wiki compiler
Group: Applications/Internet
@@ -39,10 +39,15 @@ Requires: python-docutils
%global cgi_bin %{_libexecdir}/w3m/cgi-bin
+# RPM 4.8 style
%filter_from_provides /perl(IkiWiki.*)/d
%filter_from_requires /perl(IkiWiki.*)/d
%filter_from_requires /perl(Monotone)/d
%filter_setup
+# RPM 4.9 style
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(IkiWiki.*\\)
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(IkiWiki.*\\)
+%global __requires_exclude %__requires_exclude|perl\\(Monotone\\)
%description
Ikiwiki is a wiki compiler. It converts wiki pages into HTML pages
@@ -131,6 +136,9 @@ meta-wrapper in this package.
%changelog
+* Fri Jul 22 2011 Petr Pisar <ppisar at redhat.com> - 3.20110715-2
+- RPM 4.9 dependency filtering added
+
* Thu Jul 21 2011 Thomas Moschny <thomas.moschny at gmx.de> - 3.20110715-1
- Update to 3.20110715.
More information about the scm-commits
mailing list