eseyman pushed to perl-Task-Catalyst (master). "Clean up spec file and tighten file listing"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Aug 20 15:58:26 UTC 2015


From f3b97ad9f5e6f76c6312a7f9285a5b962857fabd Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Thu, 20 Aug 2015 17:58:16 +0200
Subject: Clean up spec file and tighten file listing


diff --git a/perl-Task-Catalyst.spec b/perl-Task-Catalyst.spec
index 9e24e30..4a976c7 100644
--- a/perl-Task-Catalyst.spec
+++ b/perl-Task-Catalyst.spec
@@ -1,9 +1,9 @@
 Name:       perl-Task-Catalyst 
 Version:    4.02
-Release:    9%{?dist}
+Release:    10%{?dist}
 # lib/Task/Catalyst.pm -> GPL+ or Artistic
 License:    GPL+ or Artistic 
-Group:      Development/Libraries
+
 Summary:    All you need to start with Catalyst 
 Source:     http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Task-Catalyst-%{version}.tar.gz
 Url:        http://search.cpan.org/dist/Task-Catalyst
@@ -13,6 +13,8 @@ BuildArch:  noarch
 BuildRequires: perl(ExtUtils::MakeMaker) => 6.42
 # tests for Task::Catalyst itself
 BuildRequires: perl(Test::More)
+# tests for release-testing
+BuildRequires: perl(Pod::Coverage::TrustPod)
 BuildRequires: perl(Test::Pod)
 BuildRequires: perl(Test::Pod::Coverage)
 
@@ -77,25 +79,26 @@ developing Catalyst apps.
 %setup -q -n Task-Catalyst-%{version}
 
 %build
-PERL_AUTOINSTALL='--skipdeps' %{__perl} Makefile.PL INSTALLDIRS=vendor
+PERL_AUTOINSTALL='--skipdeps' %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-
+make pure_install DESTDIR=%{buildroot}
 %{_fixperms} %{buildroot}/*
 
 %check
-TEST_POD=1 make test
+RELEASE_TESTING=1 TEST_POD=1 make test
 
 %files
 %doc Changes README 
-%{perl_vendorlib}/*
-%{_mandir}/man3/*.3*
+%{perl_vendorlib}/Task*
+%{_mandir}/man3/Task*.3*
 
 %changelog
+* Thu Aug 20 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 4.02-10
+- Clean up spec file
+- Tighten file listing
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.02-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Task-Catalyst.git/commit/?h=master&id=f3b97ad9f5e6f76c6312a7f9285a5b962857fabd


More information about the perl-devel mailing list