Author: kasal Update of /cvs/extras/rpms/perl-Unicode-String/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14771 Modified Files: perl-Unicode-String.spec Log Message: - better buildroot - no need to define perl_vendorarch Index: perl-Unicode-String.spec =================================================================== RCS file: /cvs/extras/rpms/perl-Unicode-String/devel/perl-Unicode-String.spec,v retrieving revision 1.18 retrieving revision 1.19 diff -u -p -r1.18 -r1.19 --- perl-Unicode-String.spec 26 Jul 2009 17:23:58 -0000 1.18 +++ perl-Unicode-String.spec 26 Jan 2010 16:34:30 -0000 1.19 @@ -1,8 +1,6 @@ -%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)} - Name: perl-Unicode-String Version: 2.09 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Perl modules to handle various Unicode issues @@ -10,10 +8,11 @@ Group: Development/Libraries License: (GPL+ or Artistic) and (GPLv2+ or Artistic) URL: http://search.cpan.org/dist/Unicode-String/ Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Unicode-String-2.09.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -Requires: perl(MIME::Base64) BuildRequires: perl(ExtUtils::MakeMaker), perl(MIME::Base64) +# not detected by auto provide scripts: +Requires: perl(MIME::Base64) %description %{summary}. @@ -33,9 +32,9 @@ 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 perllocal.pod -o -name .packlist \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +find $RPM_BUILD_ROOT -type f \( -name perllocal.pod -o -name .packlist \ + -o \( -name '*.bs' -empty \) \) -exec rm {} ';' +find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} ';' chmod -R u+w $RPM_BUILD_ROOT/* @@ -56,6 +55,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Jan 26 2010 Stepan Kasal <skasal@xxxxxxxxxx> - 2.09-12 +- better buildroot +- no need to define perl_vendorarch + * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.09-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel