rpms/perl-Params-Validate/F-11 .cvsignore, 1.13, 1.14 perl-Params-Validate.spec, 1.22, 1.23 sources, 1.13, 1.14

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

 



Author: corsepiu

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

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



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Params-Validate/F-11/.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/F-11/perl-Params-Validate.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -p -r1.22 -r1.23
--- perl-Params-Validate.spec	27 Feb 2009 00:17:32 -0000	1.22
+++ perl-Params-Validate.spec	23 Nov 2009 09:23:16 -0000	1.23
@@ -1,7 +1,7 @@
 Summary: 	Params-Validate Perl module
 Name: 		perl-Params-Validate
-Version: 	0.91
-Release: 	2%{?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@xxxxxxxxxxxxxxxxx> - 0.92-1
+- Upstream update.
+- Switch to Build.PL.
+- Disable IS_MAINTAINER test.
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.91-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Params-Validate/F-11/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

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[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