[perl-CGI-Application-Structured-Tools] RPM 4.9 filtering added

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 8849be418d100ba4e484f868aa044e6c4fd758d2
Author: Petr Pisar <ppisar@xxxxxxxxxx>
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@xxxxxxxxxx> - 0.013-4
+- RPM 4.9 filtering added
+
 * Thu Jul 21 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.013-3
 - Perl mass rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux