[perl-gettext] Add %{?perl_default_filter}. Modernize spec.

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

 



commit 7923d70d38aca0bd899ce07b4d1c914b3b75b64e
Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx>
Date:   Sun Jan 22 08:06:15 2012 +0100

    Add %{?perl_default_filter}.
    Modernize spec.

 perl-gettext.spec |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/perl-gettext.spec b/perl-gettext.spec
index 87b99d5..4e04b79 100644
--- a/perl-gettext.spec
+++ b/perl-gettext.spec
@@ -1,6 +1,6 @@
 Name:           perl-gettext
 Version:        1.05
-Release:        23%{?dist}
+Release:        24%{?dist}
 Summary:        Interface to gettext family of functions
 
 Group:          Development/Libraries
@@ -8,7 +8,6 @@ License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/gettext/
 Source0:        http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz
 Patch0:         http://patch-tracking.debian.net/patch/series/view/liblocale-gettext-perl/1.05-4/compatibility-with-POSIX-module.diff
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	gettext
@@ -16,6 +15,8 @@ Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 Obsoletes:	perl-Locale-gettext <= 1.05
 
+%{?perl_default_filter}
+
 %description
 The gettext module permits access from perl to the gettext() family of 
 functions for retrieving message strings from databases constructed to
@@ -31,7 +32,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
@@ -47,9 +47,6 @@ case "$LANG" in
 esac
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 
 %files
 %defattr(-,root,root,-)
@@ -60,6 +57,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Jan 22 2012 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 1.05-24
+- Add %%{?perl_default_filter}.
+- Modernize spec.
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.05-23
 - 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