Author: iarnell

Update of /cvs/pkgs/rpms/perl-MooseX-Meta-TypeConstraint-ForceCoercion/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv3838/devel

Modified Files:
        perl-MooseX-Meta-TypeConstraint-ForceCoercion.spec 
Log Message:
* Sat Jul 17 2010 Iain Arnell <[email protected]> 0.01-2
- update spec for modern rpmbuild



Index: perl-MooseX-Meta-TypeConstraint-ForceCoercion.spec
===================================================================
RCS file: 
/cvs/pkgs/rpms/perl-MooseX-Meta-TypeConstraint-ForceCoercion/devel/perl-MooseX-Meta-TypeConstraint-ForceCoercion.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- perl-MooseX-Meta-TypeConstraint-ForceCoercion.spec  17 Jul 2010 06:26:34 
-0000      1.1
+++ perl-MooseX-Meta-TypeConstraint-ForceCoercion.spec  17 Jul 2010 06:27:43 
-0000      1.2
@@ -1,12 +1,11 @@
 Name:           perl-MooseX-Meta-TypeConstraint-ForceCoercion
 Version:        0.01
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Force coercion when validating type constraints
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            
http://search.cpan.org/dist/MooseX-Meta-TypeConstraint-ForceCoercion/
 Source0:        
http://www.cpan.org/authors/id/F/FL/FLORA/MooseX-Meta-TypeConstraint-ForceCoercion-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Moose)
@@ -29,8 +28,6 @@ against it.
 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 {} \;
@@ -41,9 +38,6 @@ find $RPM_BUILD_ROOT -depth -type d -exe
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes LICENSE README
@@ -51,5 +45,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jul 17 2010 Iain Arnell <[email protected]> 0.01-2
+- update spec for modern rpmbuild
+
 * Fri Jul 16 2010 Iain Arnell <[email protected]> 0.01-1
 - Specfile autogenerated by cpanspec 1.78.

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to