[perl-FCGI] Add missing buildtime dependencies
Petr Šabata
psabata at fedoraproject.org
Mon Nov 26 14:07:10 UTC 2012
commit a67a1a6aaf78deadcdf7b289d9fae760d47eb266
Author: Petr Šabata <contyk at redhat.com>
Date: Mon Nov 26 15:07:06 2012 +0100
Add missing buildtime dependencies
perl-FCGI.spec | 30 ++++++++++++++----------------
1 files changed, 14 insertions(+), 16 deletions(-)
---
diff --git a/perl-FCGI.spec b/perl-FCGI.spec
index 1bce555..f9c51de 100644
--- a/perl-FCGI.spec
+++ b/perl-FCGI.spec
@@ -3,30 +3,29 @@ Summary: FastCGI Perl bindings
# needed to properly replace/obsolete fcgi-perl
Epoch: 1
Version: 0.74
-Release: 5%{?dist}
+Release: 6%{?dist}
# same as fcgi
License: OML
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/FCGI-%{version}.tar.gz
URL: http://search.cpan.org/dist/FCGI
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+BuildRequires: perl(constant)
BuildRequires: perl(Cwd)
+BuildRequires: perl(DynaLoader)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(ExtUtils::Liblist)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Copy)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(IO::File)
-# Run-requires:
-BuildRequires: perl(DynaLoader)
-BuildRequires: perl(Exporter)
-# Tests:
BuildRequires: perl(Test)
-
Provides: fcgi-perl = %{epoch}:%{version}-%{release}
Obsoletes: fcgi-perl =< 2.4.0
+# Dropped during f19 development cycle
+Obsoletes: %{name}-tests <= 0.74-6
%{?perl_default_filter}
-%{?perl_subpackage_tests: %perl_subpackage_tests test.pl .proverc test.t }
%description
%{summary}.
@@ -35,20 +34,14 @@ Obsoletes: fcgi-perl =< 2.4.0
%setup -q -n FCGI-%{version}
find . -type f -exec chmod -c -x {} +
-echo "test.pl" > .proverc
-# limitation in the macros, currently -- must have at least one .t :\
-cp test.pl test.t
-
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-
%{_fixperms} %{buildroot}/*
%check
@@ -61,6 +54,11 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Mon Nov 26 2012 Petr Šabata <contyk at redhat.com> - 1:0.74-6
+- Add missing buildtime dependencies
+- Drop command macros
+- Drop the tests subpackage
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.74-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the perl-devel
mailing list