rpms/perl-Catalyst-Action-REST/F-13 perl-Catalyst-Action-REST.spec, 1.1, 1.2

Iain Arnell iarnell at fedoraproject.org
Sat Jul 17 06:24:16 UTC 2010


Author: iarnell

Update of /cvs/pkgs/rpms/perl-Catalyst-Action-REST/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv3266

Modified Files:
	perl-Catalyst-Action-REST.spec 
Log Message:
* Sat Jul 17 2010 Iain Arnell <iarnell at gmail.com> 0.85-2
- cleanup spec for modern rpmbuild



Index: perl-Catalyst-Action-REST.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Catalyst-Action-REST/F-13/perl-Catalyst-Action-REST.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- perl-Catalyst-Action-REST.spec	17 Jul 2010 06:21:50 -0000	1.1
+++ perl-Catalyst-Action-REST.spec	17 Jul 2010 06:24:15 -0000	1.2
@@ -1,14 +1,12 @@
 Name:           perl-Catalyst-Action-REST
 Version:        0.85
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Automated REST Method Dispatching
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Catalyst-Action-REST/
 Source0:        http://www.cpan.org/authors/id/B/BO/BOBTFISH/Catalyst-Action-REST-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl >= 1:5.8.1
 BuildRequires:  perl(Catalyst::Runtime) >= 5.80
 BuildRequires:  perl(Class::Inspector) >= 1.13
 BuildRequires:  perl(Config::General)
@@ -59,8 +57,6 @@ regular method.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install DESTDIR=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -71,9 +67,6 @@ find $RPM_BUILD_ROOT -depth -type d -exe
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README TODO
@@ -81,5 +74,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jul 17 2010 Iain Arnell <iarnell at gmail.com> 0.85-2
+- cleanup spec for modern rpmbuild
+
 * Sun Jun 27 2010 Iain Arnell <iarnell at gmail.com> 0.85-1
 - Specfile autogenerated by cpanspec 1.78.



More information about the scm-commits mailing list