rpms/perl-Params-Validate/devel .cvsignore, 1.13, 1.14 perl-Params-Validate.spec, 1.23, 1.24 sources, 1.13, 1.14

corsepiu corsepiu at fedoraproject.org
Mon Nov 23 09:23:16 UTC 2009


Author: corsepiu

Update of /cvs/pkgs/rpms/perl-Params-Validate/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10270/devel

Modified Files:
	.cvsignore perl-Params-Validate.spec sources 
Log Message:
* Mon Nov 23 2009 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.92-1
- Upstream update.
- Switch to Build.PL.
- Disable IS_MAINTAINER test.



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Params-Validate/devel/.cvsignore,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- .cvsignore	10 Jun 2008 12:40:55 -0000	1.13
+++ .cvsignore	23 Nov 2009 09:23:16 -0000	1.14
@@ -1 +1 @@
-Params-Validate-0.91.tar.gz
+Params-Validate-0.92.tar.gz


Index: perl-Params-Validate.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Params-Validate/devel/perl-Params-Validate.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- perl-Params-Validate.spec	26 Jul 2009 14:06:29 -0000	1.23
+++ perl-Params-Validate.spec	23 Nov 2009 09:23:16 -0000	1.24
@@ -1,7 +1,7 @@
 Summary: 	Params-Validate Perl module
 Name: 		perl-Params-Validate
-Version: 	0.91
-Release: 	3%{?dist}
+Version: 	0.92
+Release: 	1%{?dist}
 License: 	GPL+ or Artistic
 Group: 		Development/Libraries
 URL: 		http://search.cpan.org/dist/Params-Validate/
@@ -10,16 +10,18 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 
 Requires:  	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::CBuilder)
+BuildRequires:  perl(Pod::Man)
+# N/A in Fedora: BuildRequires:  perl(Module::Build) >= 0.35
+BuildRequires:  perl(Module::Build)
+
 # Required by the tests
 BuildRequires: 	perl(Test::Taint)
 BuildRequires:	perl(Readonly)
 BuildRequires:	perl(Readonly::XS)
 
-# Not available in Fedora
-# BuildRequires:  perl(Test::Kwalitee)
-
 # For improved tests
+BuildRequires:  perl(Test::Kwalitee)
 BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl(Test::Pod)
 
@@ -36,26 +38,25 @@ certain methods, or applying validation 
 %setup -q -n Params-Validate-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
+./Build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %check
-%if "%{version}" > "0.91"
-# pod-coverage is too broken
-make test IS_MAINTAINER=1
+%if "%{version}" > "0.92"
+IS_MAINTAINER=1 ./Build test
 %else
-make test
+./Build test
 %endif
 
 %files
@@ -67,6 +68,11 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon Nov 23 2009 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.92-1
+- Upstream update.
+- Switch to Build.PL.
+- Disable IS_MAINTAINER test.
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.91-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Params-Validate/devel/sources,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- sources	10 Jun 2008 12:40:55 -0000	1.13
+++ sources	23 Nov 2009 09:23:16 -0000	1.14
@@ -1 +1 @@
-22c5467a1d4673374a1b7b2dbcfd473e  Params-Validate-0.91.tar.gz
+e221233119dbdca3c610dec93a8f6cf2  Params-Validate-0.92.tar.gz




More information about the Fedora-perl-devel-list mailing list