[perl-threads/f18] Update dependencies. Use DESTDIR instead of PERL_INSTALL_ROOT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 621562716a3b2f0715511fb85d3903c454cd6811
Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx>
Date:   Thu Nov 1 13:18:20 2012 +0100

    Update dependencies. Use DESTDIR instead of PERL_INSTALL_ROOT

 perl-threads.spec |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/perl-threads.spec b/perl-threads.spec
index d9cb458..daf26c7 100644
--- a/perl-threads.spec
+++ b/perl-threads.spec
@@ -1,6 +1,6 @@
 Name:           perl-threads
 Version:        1.86
-Release:        4%{?dist}
+Release:        241%{?dist}
 Summary:        Perl interpreter-based threads
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -9,13 +9,14 @@ Source0:        http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/threads-%{v
 BuildRequires:  perl(Config)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(ExtUtils::testlib)
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(XSLoader)
 # Tests only:
-BuildRequires:  perl(ExtUtils::testlib)
 BuildRequires:  perl(IO::File)
 BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Carp)
 
 %{?perl_default_filter}
 
@@ -36,10 +37,9 @@ This threading model has been deprecated, and was removed as of Perl 5.10.0.)
 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/*
 
 %check
@@ -52,6 +52,10 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Thu Nov 01 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.86-241
+- Update dependencies.
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.86-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux