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

rpms/perl-Class-C3/devel .cvsignore, 1.3, 1.4 perl-Class-C3.spec, 1.4, 1.5 sources, 1.3, 1.4



Author: cweyl

Update of /cvs/extras/rpms/perl-Class-C3/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23339/devel

Modified Files:
	.cvsignore perl-Class-C3.spec sources 
Log Message:
update to 0.17, leverage Class::C3::XS



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Class-C3/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	25 Sep 2006 19:26:23 -0000	1.3
+++ .cvsignore	10 May 2007 01:40:35 -0000	1.4
@@ -1 +1 @@
-Class-C3-0.14.tar.gz
+Class-C3-0.17.tar.gz


Index: perl-Class-C3.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Class-C3/devel/perl-Class-C3.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- perl-Class-C3.spec	25 Sep 2006 19:26:23 -0000	1.4
+++ perl-Class-C3.spec	10 May 2007 01:40:35 -0000	1.5
@@ -1,5 +1,5 @@
 Name:           perl-Class-C3
-Version:        0.14
+Version:        0.17
 Release:        1%{?dist}
 Summary:        Pragma to use the C3 method resolution order algorithm
 License:        GPL or Artistic
@@ -8,22 +8,26 @@
 Source0:        http://www.cpan.org/authors/id/B/BL/BLBLACK/Class-C3-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 # see rh#205081,rh#204800
 %define         __perl_provides %{nil}
 Provides:       perl(Class::C3) = %{version}
 
-BuildRequires:  perl(Algorithm::C3) >= 0.05
+# core
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+# cpan
+BuildRequires:  perl(Algorithm::C3) >= 0.06
+BuildRequires:  perl(Class::C3::XS) >= 0.03
 BuildRequires:  perl(Test::Exception) >= 0.15
 # testing...
 BuildRequires:  perl(Test::Pod), perl(Test::Pod::Coverage)
 BuildRequires:  perl(Sub::Name)
 
-# auto-requires from cpanspec
-#Requires:       perl(Algorithm::C3) >= 0.05
-#Requires:       perl(Test::Exception) >= 0.15
-
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# missed!
+Requires:       perl(Algorithm::C3) >= 0.06
+Requires:       perl(Class::C3::XS) >= 0.03
 
 %description
 This is a pragma to change Perl 5's standard method resolution order from 
@@ -33,6 +37,16 @@
 %prep
 %setup -q -n Class-C3-%{version}
 
+# Filter unwanted Requires:
+cat << \EOF > %{name}-req
+#!/bin/sh
+%{__perl_requires} $* |\
+  sed -e '/perl(c3)/d; /perl(base)/d'
+EOF
+
+%define __perl_requires %{_builddir}/Class-C3-%{version}/%{name}-req
+chmod +x %{__perl_requires}
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -54,11 +68,15 @@
 
 %files
 %defattr(-,root,root,-)
-%doc ChangeLog README opt/ util/
+%doc ChangeLog README opt/ util/ t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed May 09 2007 Chris Weyl <cweyl alumni drew edu> 0.17-1
+- update to 0.17
+- BR Class::C3::XS
+
 * Mon Sep 25 2006 Chris Weyl <cweyl alumni drew edu> 0.14-1
 - update to 0.14
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Class-C3/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	25 Sep 2006 19:26:23 -0000	1.3
+++ sources	10 May 2007 01:40:35 -0000	1.4
@@ -1 +1 @@
-72da38cad9fb3390f3bb7d898e44a437  Class-C3-0.14.tar.gz
+cb041be761c17919a9b2eda1f15bc3f3  Class-C3-0.17.tar.gz


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