rpms/perl-B-Compiling/devel perl-B-Compiling.spec,1.1,1.2

Iain Arnell iarnell at fedoraproject.org
Sat Jul 17 05:46:07 UTC 2010


Author: iarnell

Update of /cvs/pkgs/rpms/perl-B-Compiling/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv29452/devel

Modified Files:
	perl-B-Compiling.spec 
Log Message:
* Sat Jul 17 2010 Iain Arnell <iarnell at gmail.com> 0.02-2
- cleanup spec for modern rpmbuild



Index: perl-B-Compiling.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-B-Compiling/devel/perl-B-Compiling.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- perl-B-Compiling.spec	17 Jul 2010 05:44:42 -0000	1.1
+++ perl-B-Compiling.spec	17 Jul 2010 05:46:06 -0000	1.2
@@ -1,12 +1,11 @@
 Name:           perl-B-Compiling
 Version:        0.02
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Expose PL_compiling to perl
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/B-Compiling/
 Source0:        http://www.cpan.org/authors/id/F/FL/FLORA/B-Compiling-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Sub::Exporter)
 BuildRequires:  perl(Test::More)
@@ -25,8 +24,6 @@ This module exposes the perl interpreter
 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 {} \;
@@ -38,9 +35,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
@@ -49,5 +43,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jul 17 2010 Iain Arnell <iarnell at gmail.com> 0.02-2
+- cleanup spec for modern rpmbuild
+
 * Sat Jul 03 2010 Iain Arnell <iarnell at gmail.com> 0.02-1
 - Specfile autogenerated by cpanspec 1.78.




More information about the perl-devel mailing list