[perl-Dancer] update add filter for RPM 4.8
Marcela Mašláňová
mmaslano at fedoraproject.org
Wed Aug 10 14:38:59 UTC 2011
commit 0b0afa50378d5503d7cb7e63a441a9fef62d1c5b
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date: Wed Aug 10 16:38:37 2011 +0200
update
add filter for RPM 4.8
.gitignore | 1 +
perl-Dancer.spec | 14 +++++++++++---
sources | 2 +-
3 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 17f779d..9e75479 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/Dancer-1.3040.tar.gz
+/Dancer-1.3071.tar.gz
diff --git a/perl-Dancer.spec b/perl-Dancer.spec
index 079191a..2307737 100644
--- a/perl-Dancer.spec
+++ b/perl-Dancer.spec
@@ -1,11 +1,11 @@
Name: perl-Dancer
-Version: 1.3040
-Release: 3%{?dist}
+Version: 1.3071
+Release: 1%{?dist}
Summary: Lightweight yet powerful web application framework
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Dancer/
-Source0: http://www.cpan.org/authors/id/X/XS/XSAWYERX/Dancer-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/S/SU/SUKRIA/Dancer-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(Carp)
BuildRequires: perl(Clone)
@@ -50,6 +50,10 @@ Requires: perl(HTTP::Server::Simple::PSGI) >= 0.11
Requires: perl(LWP)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# RPM 4.8 style
+%{?filter_from_requires: %filter_from_requires /perl(HTTP::Body)/d; /perl(HTTP::Server::Simple::PSGI)/d; }
+%{?perl_default_filter}
+# RPM 4.9 style
%global __requires_exclude perl\\(HTTP::Body|HTTP::Server::Simple::PSGI\\)
%description
@@ -84,6 +88,10 @@ make test
%{_mandir}/man3/*
%changelog
+* Wed Aug 10 2011 Marcela Mašláňová <mmaslano at redhat.com> 1.3071-1
+- update
+- add filter for RPM 4.8
+
* Wed Jul 20 2011 Petr Sabata <contyk at redhat.com> - 1.3040-3
- Perl mass rebuild
diff --git a/sources b/sources
index b30dc8a..6e73a45 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-aee9a71497f402414bf34964051cf5de Dancer-1.3040.tar.gz
+9fbe54f6d43c95c7d4aea4f765075bdb Dancer-1.3071.tar.gz
More information about the perl-devel
mailing list