rpms/perl-HTML-Template-Expr/devel perl-HTML-Template-Expr.spec, 1.7, 1.8

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


Author: steve

Update of /cvs/extras/rpms/perl-HTML-Template-Expr/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8447

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



Index: perl-HTML-Template-Expr.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-HTML-Template-Expr/devel/perl-HTML-Template-Expr.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- perl-HTML-Template-Expr.spec	20 Oct 2006 00:56:36 -0000	1.7
+++ perl-HTML-Template-Expr.spec	17 Apr 2007 23:39:11 -0000	1.8
@@ -1,16 +1,15 @@
 Name:           perl-HTML-Template-Expr
 Version:        0.07
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Expression support extension for HTML::Template
-
-Group:          Development/Libraries
 License:        GPL or Artistic
+Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/HTML-Template-Expr/
 Source0:        http://www.cpan.org/authors/id/S/SA/SAMTREGAR/HTML-Template-Expr-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
-BuildRequires:  perl(HTML::Template)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(HTML::Template) >= 2.4
 BuildRequires:  perl(Parse::RecDescent)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -22,40 +21,41 @@
 string operations and a mechanism to allow you add your own functions
 at runtime.
 
-
 %prep
 %setup -q -n HTML-Template-Expr-%{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 ANNOUNCE ARTISTIC Changes GPL README
 %{perl_vendorlib}/HTML/
 %{_mandir}/man3/HTML::Template::Expr.3*
 
-
 %changelog
+* Tue Apr 17 2007 Steven Pritchard <steve at kspei.com> 0.07-4
+- Reformat to match cpanspec output.
+- Use fixperms macro instead of our own chmod incantation.
+- BR ExtUtils::MakeMaker.
+
 * Thu Oct 19 2006 Steven Pritchard <steve at kspei.com> 0.07-3
 - Rebuild.
 




More information about the scm-commits mailing list