From a247023829fc49b9cf4816030edef742f0858c07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <con...@redhat.com>
Date: Wed, 2 Mar 2016 16:51:03 +0100
Subject: Package cleanup

---
 perl-Text-SimpleTable.spec | 39 ++++++++++++++++++---------------------
 1 file changed, 18 insertions(+), 21 deletions(-)

diff --git a/perl-Text-SimpleTable.spec b/perl-Text-SimpleTable.spec
index 56b8509..3bd020a 100644
--- a/perl-Text-SimpleTable.spec
+++ b/perl-Text-SimpleTable.spec
@@ -1,20 +1,23 @@
 Name:           perl-Text-SimpleTable
 Summary:        Simple Eyecandy ASCII Tables
 Version:        2.03
-Release:        16%{?dist}
-License:        GPL+ or Artistic
-Group:          Development/Libraries
+Release:        17%{?dist}
+License:        Artistic 2.0
 Source0:        
http://search.cpan.org/CPAN/authors/id/M/MR/MRAMBERG/Text-SimpleTable-%{version}.tar.gz
 
 URL:            http://search.cpan.org/dist/Text-SimpleTable/
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 BuildArch:      noarch
-
-BuildRequires:  perl(ExtUtils::MakeMaker)
+# Build
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Runtime
+# -
+# Tests only
 BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
 
-
-%{?perl_default_filter}
 %{?perl_default_subpackage_tests}
 
 %description
@@ -24,32 +27,26 @@ Simple eyecandy ASCII tables, as seen in Catalyst.
 %setup -q -n Text-SimpleTable-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 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
-#export TEST_POD=1
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
-%doc Changes README
+%license LICENSE
+%doc Changes README examples
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Mar 02 2016 Petr Ĺ abata <con...@redhat.com> - 2.03-17
+- Package cleanup
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
2.03-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Text-SimpleTable.git/commit/?h=master&id=a247023829fc49b9cf4816030edef742f0858c07
--
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

Reply via email to