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

rpms/perl-Moose/FC-6 perl-Moose.spec,1.10,1.11 sources,1.8,1.9



Author: cweyl

Update of /cvs/extras/rpms/perl-Moose/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6019/FC-6

Modified Files:
	perl-Moose.spec sources 
Log Message:
* Fri May 04 2007 Chris Weyl <cweyl alumni drew edu> 0.21-1
- update to 0.21

* Tue May 01 2007 Chris Weyl <cweyl alumni drew edu> 0.20-2
- add t/ to %%doc
- add br for optional test #7



Index: perl-Moose.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Moose/FC-6/perl-Moose.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- perl-Moose.spec	7 Apr 2007 18:44:48 -0000	1.10
+++ perl-Moose.spec	4 May 2007 16:21:02 -0000	1.11
@@ -1,5 +1,5 @@
 Name:           perl-Moose
-Version:        0.20
+Version:        0.21
 Release:        1%{?dist}
 Summary:        Complete modern object system for Perl 5
 License:        GPL or Artistic
@@ -8,8 +8,12 @@
 Source0:        http://www.cpan.org/authors/id/S/ST/STEVAN/Moose-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-BuildRequires:  perl, perl(Module::Build)
+# core
+BuildRequires:  perl(Test::More)
+# cpan
+BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Class::MOP) >= 0.36
 BuildRequires:  perl(Sub::Exporter) >= 0.954
 BuildRequires:  perl(Sub::Install) >= 0.92
@@ -26,16 +30,15 @@
 # commented out as Locale::US's license is ambiguous at the moment, precluding
 # packaging it.
 #BuildRequires:  perl(Regexp::Common), perl(Locale::US)
-# optional test #5 (yes, I know IO::File is core)
+# optional test #5
 BuildRequires:  perl(IO::File), perl(IO::String)
 # optional test #6
 BuildRequires:  perl(Test::Deep)
-# optional test #7 -- not yet in Fedora
-#BuildRequires:  perl(Declare::Constraints::Simple)
+# optional test #7 
+BuildRequires:  perl(Declare::Constraints::Simple)
 # optional test #8 (as of 0.20)
 BuildRequires:  perl(Module::Refresh)
 
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 Moose is an extension of the Perl 5 object system.
@@ -61,6 +64,16 @@
 %{__perl} Build.PL installdirs=vendor
 ./Build
 
+# Filter unwanted Provides:
+cat << \EOF > %{name}-prov
+#!/bin/sh
+%{__perl_provides} $* |\
+  sed -e '/perl(MyMoose.*)/d; /perl(Bar)/d; /perl(Foo)/d'    
+EOF
+
+%define __perl_provides %{_builddir}/Moose-%{version}/%{name}-prov
+chmod +x %{__perl_provides}
+
 %install
 rm -rf %{buildroot}
 
@@ -77,11 +90,18 @@
 
 %files
 %defattr(-,root,root,-)
-%doc Changes README
+%doc Changes README t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri May 04 2007 Chris Weyl <cweyl alumni drew edu> 0.21-1
+- update to 0.21
+
+* Tue May 01 2007 Chris Weyl <cweyl alumni drew edu> 0.20-2
+- add t/ to %%doc
+- add br for optional test #7
+
 * Sat Apr 07 2007 Chris Weyl <cweyl alumni drew edu> 0.20-1
 - update to 0.20
 - add additional BR's for new optional tests


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Moose/FC-6/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources	7 Apr 2007 18:44:48 -0000	1.8
+++ sources	4 May 2007 16:21:02 -0000	1.9
@@ -1 +1 @@
-6ef1bc5d57103188a3789fbba5bc7b8c  Moose-0.20.tar.gz
+5934e2fe4a7bb988ea28b083c8a57638  Moose-0.21.tar.gz


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