rpms/perl-Want/devel perl-Want.spec,1.3,1.4

Ralf Corsépius (corsepiu) fedora-extras-commits at redhat.com
Mon Feb 20 06:11:00 UTC 2006


Author: corsepiu

Update of /cvs/extras/rpms/perl-Want/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26477

Modified Files:
	perl-Want.spec 
Log Message:
Rebuild.


Index: perl-Want.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Want/devel/perl-Want.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- perl-Want.spec	2 Jul 2005 05:29:55 -0000	1.3
+++ perl-Want.spec	20 Feb 2006 06:11:00 -0000	1.4
@@ -1,14 +1,15 @@
-Name: perl-Want
-Version: 0.09
-Release: 1%{?dist}
-Summary: Perl module implementing a generalisation of wantarray
-License: GPL or Artistic
-Group: Development/Libraries
-URL: http://search.cpan.org/dist/Want/
-Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROBIN/Want-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Name: 		perl-Want
+Version: 	0.09
+Release: 	3%{?dist}
+Summary: 	Perl module implementing a generalisation of wantarray
+License: 	GPL or Artistic
+Group: 		Development/Libraries
+URL: 		http://search.cpan.org/dist/Want/
+Source0: 	http://search.cpan.org/CPAN/authors/id/R/RO/ROBIN/Want-%{version}.tar.gz
+BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:	perl
+Requires:  	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 This module generalises the mechanism of the wantarray
@@ -19,19 +20,17 @@
 %setup -q -n Want-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="${RPM_OPT_FLAGS}"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="${RPM_OPT_FLAGS}"
 make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install \
-    PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
-    INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
-
-find $RPM_BUILD_ROOT -type f -a \( -name .packlist \
-  -o -name perllocal.pod \
-  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
+make install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -47,6 +46,12 @@
 %{_mandir}/man3/*
 
 %changelog
+* Mon Feb 20 2006 Ralf Corsépius <rc040203 at freenet.de> - 0.09-3
+- Rebuild.
+
+* Sat Aug 13 2005 Ralf Corsepius <ralf at links2linux.de> - 0.09-2
+- Streamline with FE spec-template.
+
 * Sat Jul 02 2005 Ralf Corsepius <ralf at links2linux.de> - 0.09-1
 - Upstream update to 0.09.
 




More information about the scm-commits mailing list