[perl-Object-InsideOut] fix filtering; clean up requires

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

 



commit 3b0b77697fc2245288f03470871af2fa9f80d540
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Tue Jul 19 06:28:10 2011 +0200

    fix filtering; clean up requires

 perl-Object-InsideOut.spec |   23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)
---
diff --git a/perl-Object-InsideOut.spec b/perl-Object-InsideOut.spec
index be4ed95..31b073f 100644
--- a/perl-Object-InsideOut.spec
+++ b/perl-Object-InsideOut.spec
@@ -1,6 +1,6 @@
 Name:           perl-Object-InsideOut
 Version:        3.81
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Comprehensive inside-out object support module
 
 Group:          Development/Libraries
@@ -13,7 +13,7 @@ BuildRequires:  perl(Exception::Class) >= 1.29
 BuildRequires:  perl(Want) >= 0.12
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage)
-%if !%{defined perl_bootstrap}
+%if !0%{?perl_bootstrap}
 BuildRequires:  perl(Math::Random::MT::Auto)
 %endif
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -27,11 +27,13 @@ BuildRequires:  perl(Test::More) >= 0.5
 BuildRequires:  perl(B)
 
 ### auto-added reqs!
-Requires:       perl(B)
-Requires:       perl(Config)
 Requires:       perl(Data::Dumper)
-Requires:       perl(Exception::Class) >= 1.29
-Requires:       perl(Scalar::Util) >= 1.23
+
+%{?perl_default_filter}
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(Object::InsideOut\\)$
+%if 0%{?perl_bootstrap}
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Math::Random::MT::Auto\\)
+%endif
 
 %description
 This module provides comprehensive support for implementing classes using the
@@ -44,10 +46,6 @@ set as readonly to prevent accidental modifications to the ID. Object data
 (i.e., fields) are stored within the class's package in either arrays indexed
 by the object's ID, or hashes keyed to the object's ID.
 
-%{?perl_default_filter}
-%global __provides_exclude %{?__provides_exclude}|perl\\(Object::InsideOut\\)
-%global __requires_exclude %{?__requires_exclude}|perl\\(t::Imp|perl\\(Math::Random::MT::Auto\\)
-
 %prep
 %setup -q -n Object-InsideOut-%{version}
 
@@ -75,6 +73,11 @@ make test
 
 
 %changelog
+* Tue Jul 19 2011 Iain Arnell <iarnell@xxxxxxxxx> 3.81-2
+- fix provides filter
+- on filter requires when bootstrapping
+- remove unnecessary explicit requires
+
 * Sat Jul 02 2011 Iain Arnell <iarnell@xxxxxxxxx> 3.81-1
 - minimize the impact of perl_bootstrap on testing; it's only
   perl-Math-Random-MT-Auto which causes circular deps and is
--
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