From 3fcdac1011dd7d2cbf2f4b2bdf86a308f8239e9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= <con...@redhat.com> Date: Mon, 1 Feb 2016 15:04:41 +0100 Subject: Package cleanup
--- perl-Getopt-Usaginator.spec | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/perl-Getopt-Usaginator.spec b/perl-Getopt-Usaginator.spec index 72c6717..705a46f 100644 --- a/perl-Getopt-Usaginator.spec +++ b/perl-Getopt-Usaginator.spec @@ -1,20 +1,25 @@ Name: perl-Getopt-Usaginator Version: 0.0012 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Conjure up a usage function for your applications License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/Getopt-Usaginator/ Source0: http://www.cpan.org/authors/id/R/RO/ROKR/Getopt-Usaginator-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) +# Build +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(Package::Pkg) >= 0.0014 +# Tests only BuildRequires: perl(File::Spec) BuildRequires: perl(IPC::Open3) -BuildRequires: perl(Package::Pkg) >= 0.0014 +BuildRequires: perl(Symbol) BuildRequires: perl(Test::Most) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -%{?perl_default_filter} +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description Getopt::Usaginator is a tool for creating a handy usage subroutine for @@ -25,27 +30,25 @@ with Getopt::Long or any of the other myriad of option parsers. %setup -q -n Getopt-Usaginator-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} - -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} %{buildroot}/* %check make test %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Mon Feb 01 2016 Petr Ĺ abata <con...@redhat.com> - 0.0012-14 +- Package cleanup + * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 0.0012-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild -- cgit v0.11.2 http://pkgs.fedoraproject.org/cgit/perl-Getopt-Usaginator.git/commit/?h=master&id=3fcdac1011dd7d2cbf2f4b2bdf86a308f8239e9b -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org