rpms/perl-Graphics-ColorNames/devel perl-Graphics-ColorNames.spec, 1.3, 1.4

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Tue Apr 17 23:31:32 UTC 2007


Author: steve

Update of /cvs/extras/rpms/perl-Graphics-ColorNames/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7791

Modified Files:
	perl-Graphics-ColorNames.spec 
Log Message:
Use fixperms macro instead of our own chmod incantation.
Use the __perl macro.



Index: perl-Graphics-ColorNames.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Graphics-ColorNames/devel/perl-Graphics-ColorNames.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- perl-Graphics-ColorNames.spec	17 Sep 2006 19:11:43 -0000	1.3
+++ perl-Graphics-ColorNames.spec	17 Apr 2007 23:30:58 -0000	1.4
@@ -1,6 +1,6 @@
 Name:           perl-Graphics-ColorNames
 Version:        1.06
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Defines RGB values for common color names
 License:        GPL or Artistic
 Group:          Development/Libraries
@@ -25,10 +25,10 @@
 
 %prep
 %setup -q -n Graphics-ColorNames-%{version}
-perl -pi -e 's/\r//g' Changes README
+%{__perl} -pi -e 's/\r//g' Changes README
 
 %build
-perl Build.PL installdirs=vendor
+%{__perl} Build.PL installdirs=vendor
 ./Build
 
 %install
@@ -37,7 +37,7 @@
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
-chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 ./Build test
@@ -52,6 +52,10 @@
 %{_mandir}/man3/*
 
 %changelog
+* Tue Apr 17 2007 Steven Pritchard <steve at kspei.com> 1.06-4
+- Use fixperms macro instead of our own chmod incantation.
+- Use the __perl macro.
+
 * Sat Sep 16 2006 Steven Pritchard <steve at kspei.com> 1.06-3
 - Fix find option order.
 




More information about the scm-commits mailing list