commit 349c60dcb93265818af559cb2efde8c113ace083 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Tue Feb 19 15:09:35 2013 +0100 Fix the dependencies and clean the spec a bit perl-POE-Wheel-Null.spec | 31 ++++++++----------------------- 1 files changed, 8 insertions(+), 23 deletions(-) --- diff --git a/perl-POE-Wheel-Null.spec b/perl-POE-Wheel-Null.spec index b750ccf..e9f26bf 100644 --- a/perl-POE-Wheel-Null.spec +++ b/perl-POE-Wheel-Null.spec @@ -2,20 +2,18 @@ Name: perl-POE-Wheel-Null Version: 0.01 Release: 15%{?dist} Summary: POE Wheel that does puts data nowhere, and sends nothing - Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/POE-Wheel-Null Source0: http://search.cpan.org/CPAN/authors/id/H/HA/HACHI/POE-Wheel-Null-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch -BuildRequires: perl(POE) +BuildRequires: perl(base) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(POE::Wheel) +BuildRequires: perl(strict) BuildRequires: perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -# I'm not sure why this isn't automagically found, but... -Requires: perl(POE) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description POE::Wheel::Null creates a wheel which doesn't do anything upon put(), and @@ -24,39 +22,26 @@ doesn't send any events to the current session. Its function is the same as those pipes in the Enterprise's engine room marked "GNDN". - %prep %setup -q -n POE-Wheel-Null-%{version} - %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} - %install -rm -rf %{buildroot} -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w %{buildroot}/* - %check make test - -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/*.3* - %changelog * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.01-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_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