add filter for RPM 4.8
This commit is contained in:
Marcela Mašláňová 2011-08-10 16:38:37 +02:00
parent 579bfe03c1
commit 0b0afa5037
3 changed files with 13 additions and 4 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/Dancer-1.3040.tar.gz
/Dancer-1.3071.tar.gz

View File

@ -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@redhat.com> 1.3071-1
- update
- add filter for RPM 4.8
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.3040-3
- Perl mass rebuild

View File

@ -1 +1 @@
aee9a71497f402414bf34964051cf5de Dancer-1.3040.tar.gz
9fbe54f6d43c95c7d4aea4f765075bdb Dancer-1.3071.tar.gz