[perl-CGI-Application-Structured-Tools] RPM 4.9 filtering added
Petr Sabata
psabata at fedoraproject.org
Wed Jul 27 13:24:07 UTC 2011
commit 8849be418d100ba4e484f868aa044e6c4fd758d2
Author: Petr Pisar <ppisar at redhat.com>
Date: Wed Jul 27 15:22:37 2011 +0200
RPM 4.9 filtering added
perl-CGI-Application-Structured-Tools.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/perl-CGI-Application-Structured-Tools.spec b/perl-CGI-Application-Structured-Tools.spec
index 252bc78..53a1794 100644
--- a/perl-CGI-Application-Structured-Tools.spec
+++ b/perl-CGI-Application-Structured-Tools.spec
@@ -1,6 +1,6 @@
Name: perl-CGI-Application-Structured-Tools
Version: 0.013
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Tools to generate and maintain CGI::Application::Structured based web apps
License: GPL+ or Artistic
Group: Development/Libraries
@@ -24,8 +24,13 @@ BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::WWW::Mechanize::CGIApp)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# RPM 4.8 style:
%filter_from_requires /main_module>)/d; /perl(<tmpl_var)/d; /perl(<tmpl_var/d
%{?perl_default_filter}
+# RPM 4.9 style:
+%global __requires_exclude %{?__requires_exclude|%__requires_exclude"|}main_module>\\)
+%global __requires_exclude %__requires_exclude|perl\\(<tmpl_var\\)
+%global __requires_exclude %__requires_exclude|perl\\(<tmpl_var
%description
A simple, medium-weight, MVC, DB web micro-framework built on
@@ -81,6 +86,9 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/cas-starter.pl
%changelog
+* Wed Jul 27 2011 Petr Pisar <ppisar at redhat.com> - 0.013-4
+- RPM 4.9 filtering added
+
* Thu Jul 21 2011 Petr Sabata <contyk at redhat.com> - 0.013-3
- Perl mass rebuild
More information about the scm-commits
mailing list