From 711c4f8b07c343a740a75bf7344117228479e69a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <con...@redhat.com>
Date: Thu, 18 Feb 2016 15:54:42 +0100
Subject: Package cleanup

---
 perl-Lingua-Stem-Fr.spec | 32 +++++++++++++++++++-------------
 1 file changed, 19 insertions(+), 13 deletions(-)

diff --git a/perl-Lingua-Stem-Fr.spec b/perl-Lingua-Stem-Fr.spec
index b8133d1..3660094 100644
--- a/perl-Lingua-Stem-Fr.spec
+++ b/perl-Lingua-Stem-Fr.spec
@@ -1,16 +1,25 @@
 Name:           perl-Lingua-Stem-Fr
 Version:        0.02
-Release:        16%{?dist}
+Release:        17%{?dist}
 Summary:        Perl French Stemming
 License:        GPL+ or Artistic
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Lingua-Stem-Fr/
 Source0:        
http://www.cpan.org/authors/id/S/SD/SDP/Lingua-Stem-Fr-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
-
-%{?perl_default_filter}
+# Build
+BuildRequires:  coreutils
+BuildRequires:  glibc-common
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Tests only
+# -
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
 
 %description
 This module use the a modified version of the Porter Stemming Algorithm to
@@ -18,33 +27,30 @@ return a stemmed words.
 
 %prep
 %setup -q -n Lingua-Stem-Fr-%{version}
-
 iconv -f iso-8859-1 -t utf-8 README >README.iconv
 touch -r README README.iconv
 mv -f README.iconv README
 
 %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 README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Feb 18 2016 Petr Ĺ abata <con...@redhat.com> - 0.02-17
+- Package cleanup
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.02-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Lingua-Stem-Fr.git/commit/?h=master&id=711c4f8b07c343a740a75bf7344117228479e69a
--
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