[perl-AnyEvent] RPM 4.9 dependency filtering added

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

 



commit 1f433d46a0e172f14ead502b259d9f4755bbd96b
Author: Petr Pisar <ppisar@xxxxxxxxxx>
Date:   Fri Jul 22 13:22:41 2011 +0200

    RPM 4.9 dependency filtering added

 perl-AnyEvent.spec |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/perl-AnyEvent.spec b/perl-AnyEvent.spec
index 78f250b..83b740c 100644
--- a/perl-AnyEvent.spec
+++ b/perl-AnyEvent.spec
@@ -2,7 +2,7 @@
 
 Name:           perl-AnyEvent
 Version:        5.27
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Framework for multiple event loops
 
 Group:          Development/Libraries
@@ -16,11 +16,19 @@ BuildRequires:  perl(ExtUtils::MakeMaker)
 # Needed for test
 BuildRequires:  perl(Test::Simple)
 
+# RPM 4.8 style
 %{?filter_setup:
 %filter_from_requires /perl(Tk)/d; /perl(EV)/d; /perl(Irssi)/d; /perl(Qt/d; /perl(AnyEvent::Impl::Qt/d
 %filter_from_provides /perl(AnyEvent::Impl::Qt/d
 %filter_setup
 }
+# RPM 4.9 style
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}perl(Tk)
+%global __requires_exclude %__requires_exclude|perl(EV)
+%global __requires_exclude %__requires_exclude|perl(Irssi)
+%global __requires_exclude %__requires_exclude|perl(Qt
+%global __requires_exclude %__requires_exclude|perl(AnyEvent::Impl::Qt
+%global __provides_exclude %{?__provides_exclude:__provides_exclude|}perl(AnyEvent::Impl::Qt
 
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -65,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Jul 22 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 5.27-6
+- RPM 4.9 dependency filtering added
+
 * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 5.27-5
 - 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