commit e9a9587ab6106a56970538771a5057bff378c102
Author: Petr Pisar <[email protected]>
Date: Mon Jul 25 13:57:35 2011 +0200
RPM 4.9 dependency filtering added
perl-Language-Functional.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/perl-Language-Functional.spec b/perl-Language-Functional.spec
index eb13973..30169ca 100644
--- a/perl-Language-Functional.spec
+++ b/perl-Language-Functional.spec
@@ -1,6 +1,6 @@
Name: perl-Language-Functional
Version: 0.04
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Module which makes Perl slightly more functional
License: GPL+ or Artistic
Group: Development/Libraries
@@ -18,10 +18,13 @@ BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Tie::Array)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
+# RPM 4.8 style:
%{?filter_setup:
%filter_from_provides /^perl(InfiniteList)/d
%filter_setup
}
+# RPM 4.9 style:
+%global __provides_exclude
%{?__provides_exclude:__provides_exclude|}^perl\\(InfiniteList\\)
%description
Perl already contains some functional-like functions, such as map and grep.
@@ -51,6 +54,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Mon Jul 25 2011 Petr Pisar <[email protected]> - 0.04-3
+- RPM 4.9 dependency filtering added
+
* Wed Jul 20 2011 Petr Sabata <[email protected]> - 0.04-2
- Perl mass rebuild
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel