[perl-Perl-Metrics-Simple] Modernize spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 236e19bf343edeab30ac1725610be3a39717e91f
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Mon Oct 29 09:27:22 2012 +0100

    Modernize spec file

 perl-Perl-Metrics-Simple.spec |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/perl-Perl-Metrics-Simple.spec b/perl-Perl-Metrics-Simple.spec
index 5137aa1..a736dae 100644
--- a/perl-Perl-Metrics-Simple.spec
+++ b/perl-Perl-Metrics-Simple.spec
@@ -28,13 +28,6 @@ Requires:   perl(PPI) >= 1.113
 Requires:   perl(Readonly) >= 1.03
 Requires:   perl(Readonly::XS) >= 1.02
 
-# Filter underspecified dependencies
-%filter_from_requires /^perl(File::Find)$/d
-%filter_from_requires /^perl(IO::File)$/d
-%filter_from_requires /^perl(PPI)$/d
-%filter_from_requires /^perl(Readonly)$/d
-%filter_setup
-# RPM 4.9 filter style
 %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(File::Find\\)$
 %global __requires_exclude %__requires_exclude|perl\\(IO::File\\)$
 %global __requires_exclude %__requires_exclude|perl\\(PPI\\)$
@@ -56,14 +49,12 @@ sed -i '1 s|^#!.*|#!%{__perl}|' bin/countperl
 
 %install
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 ./Build test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes EXAMPLES LICENSE README Todo
 %{_bindir}/*
 %{perl_vendorlib}/*
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux