commit a13c0762912264c6083ac21b97b452c6f0e8ca76 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Fri Nov 23 15:21:31 2012 +0100 Update deps. Clean up spec. perl-threads-shared.spec | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) --- diff --git a/perl-threads-shared.spec b/perl-threads-shared.spec index 724cb20..9a42a0f 100644 --- a/perl-threads-shared.spec +++ b/perl-threads-shared.spec @@ -1,6 +1,6 @@ Name: perl-threads-shared Version: 1.42 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Perl extension for sharing data structures between threads License: GPL+ or Artistic Group: Development/Libraries @@ -10,12 +10,13 @@ BuildRequires: perl(Carp) BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::testlib) +BuildRequires: perl(File::Spec) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test) BuildRequires: perl(Test::More) BuildRequires: perl(threads) >= 1.73 BuildRequires: perl(XSLoader) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Carp) Requires: perl(threads) >= 1.73 Requires: perl(XSLoader) @@ -32,15 +33,14 @@ Win32). It is used together with the threads module. %setup -q -n threads-shared-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* @@ -48,13 +48,18 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; make test %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/threads* %{_mandir}/man3/* %changelog +* Fri Nov 23 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.42-2 +- Add BR perl(File::Spec) +- Replace PERL_INSTALL_ROOT with DESTDIR +- Remove deleting empty directories +- Remove defattr + * Wed Oct 03 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1.42-1 - 1.42 bump -- 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