From ea0850cac287cfa1a445404f785c1015d1b19092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= <con...@redhat.com> Date: Wed, 2 Mar 2016 10:45:51 +0100 Subject: Package cleanup
--- perl-Template-Plugin-Cycle.spec | 50 ++++++++++++++++++++++++----------------- 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/perl-Template-Plugin-Cycle.spec b/perl-Template-Plugin-Cycle.spec index 12819cc..7aa029a 100644 --- a/perl-Template-Plugin-Cycle.spec +++ b/perl-Template-Plugin-Cycle.spec @@ -1,20 +1,36 @@ Name: perl-Template-Plugin-Cycle Version: 1.06 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Cyclically insert into a Template from a sequence of values License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/Template-Plugin-Cycle/ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Template-Plugin-Cycle-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) +# Build +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(ExtUtils::MM_Unix) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(FindBin) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +# Runtime +BuildRequires: perl(overload) BuildRequires: perl(Params::Util) >= 0.20 BuildRequires: perl(Template) >= 2.10 +BuildRequires: perl(Template::Plugin) +# Tests only BuildRequires: perl(Test::More) >= 0.47 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(Params::Util) >= 0.20 +Requires: perl(Template) >= 2.10 -%{?perl_default_filter} +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Util\\)$ %description Sometimes, apparently almost exclusively when doing alternating table row @@ -28,32 +44,26 @@ these sorts of tasks. %setup -q -n Template-Plugin-Cycle-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT - -make pure_install DESTDIR=$RPM_BUILD_ROOT - -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot}/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) -%doc Changes LICENSE README +%license LICENSE +%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Wed Mar 02 2016 Petr Ĺ abata <con...@redhat.com> - 1.06-17 +- Package cleanup + * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 1.06-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-Template-Plugin-Cycle.git/commit/?h=master&id=ea0850cac287cfa1a445404f785c1015d1b19092 -- 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