diff --git a/perl-Want.spec b/perl-Want.spec index 3a84732..24fbd1b 100644 --- a/perl-Want.spec +++ b/perl-Want.spec @@ -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) - -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +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) + +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 @@ how its return value is going to be immediately used. %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} +make install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -a \( -name .packlist \ - -o -name perllocal.pod \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' +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 @@ make test %{_mandir}/man3/* %changelog +* Mon Feb 20 2006 Ralf Corsépius - 0.09-3 +- Rebuild. + +* Sat Aug 13 2005 Ralf Corsepius - 0.09-2 +- Streamline with FE spec-template. + * Sat Jul 02 2005 Ralf Corsepius - 0.09-1 - Upstream update to 0.09.