rpms/perl-String-ShellQuote/devel perl-String-ShellQuote.spec, 1.11, 1.12

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Wed Apr 18 15:53:33 UTC 2007


Author: steve

Update of /cvs/extras/rpms/perl-String-ShellQuote/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4685

Modified Files:
	perl-String-ShellQuote.spec 
Log Message:
Reformat to match cpanspec output.
Use fixperms macro instead of our own chmod incantation.
BR ExtUtils::MakeMaker.



Index: perl-String-ShellQuote.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-String-ShellQuote/devel/perl-String-ShellQuote.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- perl-String-ShellQuote.spec	29 Aug 2006 06:43:47 -0000	1.11
+++ perl-String-ShellQuote.spec	18 Apr 2007 15:52:58 -0000	1.12
@@ -1,49 +1,44 @@
 Name:           perl-String-ShellQuote
 Version:        1.03
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Perl module for quoting strings for passing through the shell
-
-Group:          Development/Libraries
 License:        GPL or Artistic
+Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/String-ShellQuote/
 Source0:        http://www.cpan.org/authors/id/R/RO/ROSCH/String-ShellQuote-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
-BuildRequires:  perl
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 This package contains a Perl module and a command line utility which
 are useful for quoting strings which are going to pass through the
 shell or a shell-like object.
 
-
 %prep
 %setup -q -n String-ShellQuote-%{version}
 
-
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
-
 %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 -depth -type d -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
 
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -52,8 +47,12 @@
 %{_mandir}/man1/shell-quote.1*
 %{_mandir}/man3/String::ShellQuote.3*
 
-
 %changelog
+* Wed Apr 18 2007 Steven Pritchard <steve at kspei.com> 1.03-4
+- Reformat to match cpanspec output.
+- Use fixperms macro instead of our own chmod incantation.
+- BR ExtUtils::MakeMaker.
+
 * Tue Aug 29 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.03-3
 - Fix order of arguments to find(1).
 - Drop version from perl build dependency.




More information about the scm-commits mailing list