[perl-prefork] Remove RHEL spec file compatibility.
corsepiu
corsepiu at fedoraproject.org
Thu Nov 22 10:13:40 UTC 2012
commit 3844ca7ae8d7358ddbf700faae6c8639f03a3ca7
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
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 at fedoraproject.org> - 1.04-10
+- Remove RHEL spec file compatibility.
+- Fix FTBFS (BZ 878829).
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.04-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the perl-devel
mailing list