rpms/perl-Class-Factory-Util/FC-6 perl-Class-Factory-Util.spec, 1.3, 1.4 sources, 1.2, 1.3

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Mon Apr 2 16:38:12 UTC 2007


Author: cweyl

Update of /cvs/extras/rpms/perl-Class-Factory-Util/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29070/FC-6

Modified Files:
	perl-Class-Factory-Util.spec sources 
Log Message:
+* Mon Apr 02 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.7-1
+- update to 1.7
+- switch to Build.PL
+- misc spec cleanups



Index: perl-Class-Factory-Util.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Class-Factory-Util/FC-6/perl-Class-Factory-Util.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- perl-Class-Factory-Util.spec	1 Sep 2006 03:59:07 -0000	1.3
+++ perl-Class-Factory-Util.spec	2 Apr 2007 16:37:39 -0000	1.4
@@ -1,6 +1,6 @@
 Name:           perl-Class-Factory-Util
-Version:        1.6        
-Release:        3%{?dist}
+Version:        1.7
+Release:        1%{?dist}
 Summary:        Provide utility methods for factory classes 
 
 Group:          Development/Libraries
@@ -10,7 +10,7 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  perl
+BuildRequires:  perl, perl(Module::Build)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -22,20 +22,21 @@
 
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build
 
 
 %install
 rm -rf %{buildroot}
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w %{buildroot}/*
+
+./Build install destdir=%{buildroot} create_packlist=0
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
 
 
 %check
-make test
+./Build test
 
 
 %clean
@@ -50,7 +51,12 @@
 
 
 %changelog
-* Thu Aug 31 2006 Chris Weyl <cweyl.drew.edu> 1.6-3
+* Mon Apr 02 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.7-1
+- update to 1.7
+- switch to Build.PL
+- misc spec cleanups
+
+* Thu Aug 31 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.6-3
 - bump for mass rebuild
 
 * Sun Aug 06 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.6-2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Class-Factory-Util/FC-6/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	6 Aug 2006 17:08:37 -0000	1.2
+++ sources	2 Apr 2007 16:37:39 -0000	1.3
@@ -1 +1 @@
-88b4471f9c22abcc1192f87be013cc18  Class-Factory-Util-1.6.tar.gz
+aebd79da361b676a7ecd3245fc3d1b3f  Class-Factory-Util-1.7.tar.gz




More information about the scm-commits mailing list