[perl-prefork] Remove RHEL spec file compatibility.

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

 



commit 3844ca7ae8d7358ddbf700faae6c8639f03a3ca7
Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx>
Date:   Thu Nov 22 11:13:30 2012 +0100

    Remove RHEL spec file compatibility.
    
    - Fix FTBFS (BZ 878829).

 perl-prefork.spec |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/perl-prefork.spec b/perl-prefork.spec
index 79a0aa5..6929787 100644
--- a/perl-prefork.spec
+++ b/perl-prefork.spec
@@ -1,20 +1,23 @@
 Name: 		perl-prefork
 Version: 	1.04
-Release: 	9%{?dist}
+Release: 	10%{?dist}
 Summary: 	Optimized module loading for forking or non-forking processes
 License: 	GPL+ or Artistic
 Group: 		Development/Libraries
 URL: 		http://search.cpan.org/dist/prefork/
 Source0: 	http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/prefork-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch: noarch
 
+BuildRequires: perl(Carp)  
+BuildRequires: perl(ExtUtils::MakeMaker)
 BuildRequires: perl(Test::More) >= 0.47
 BuildRequires: perl(File::Spec) >= 0.80
 BuildRequires: perl(List::Util) >= 0.18
 BuildRequires: perl(Scalar::Util) >= 1.18
+BuildRequires: perl(strict)  
+BuildRequires: perl(vars)  
 
 # Required by tests
 BuildRequires: perl(Test::Pod) >= 1.00
@@ -37,15 +40,11 @@ mode) and to act as a relatively light-weight module loader.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -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
-
 %check
 make test AUTOMATED_TESTING=1
 
@@ -56,6 +55,10 @@ make test AUTOMATED_TESTING=1
 %{_mandir}/man3/*
 
 %changelog
+* Thu Nov 22 2012 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 1.04-10
+- Remove RHEL spec file compatibility.
+- Fix FTBFS (BZ 878829).
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.04-9
 - 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