[perl-AppConfig-Std] Add perl default filter and clean up spec file

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

 



commit 818368756eadd4452ddf243204402fddba192a0e
Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx>
Date:   Sun Mar 11 10:46:50 2012 +0100

    Add perl default filter and clean up spec file

 perl-AppConfig-Std.spec |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/perl-AppConfig-Std.spec b/perl-AppConfig-Std.spec
index f943f7c..dbea598 100644
--- a/perl-AppConfig-Std.spec
+++ b/perl-AppConfig-Std.spec
@@ -1,14 +1,13 @@
 
 Name:       perl-AppConfig-Std 
 Version:    1.07 
-Release:        10%{?dist}
+Release:    11%{?dist}
 # see lib/AppConfig/Std.pm
 License:    GPL+ or Artistic 
 Group:      Development/Libraries
 Summary:    Provides standard configuration options 
 Source:     http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/AppConfig-Std-%{version}.tar.gz 
 Url:        http://search.cpan.org/dist/AppConfig-Std
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:  noarch
 
@@ -16,6 +15,7 @@ BuildRequires: perl(ExtUtils::MakeMaker)
 BuildRequires: perl(AppConfig) >= 1.52
 BuildRequires: perl(Pod::Usage) >= 1.14
 
+%{?perl_default_filter}
 
 %description
 AppConfig::Std is a Perl module that provides a set of standard
@@ -34,8 +34,6 @@ perl -pi -e 's|^#!\./perl|#!/usr/bin/perl|' t/*
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 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 ';'
@@ -45,16 +43,16 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 %check
 make test
 
-%clean
-rm -rf %{buildroot} 
-
 %files
-%defattr(-,root,root,-)
 %doc ChangeLog README t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sun Mar 11 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx - 1.07-11
+- Add perl default filter
+- Clean up spec file
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.07-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
--
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