[perl-Locale-Codes] Add missing deps

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

 



commit 69d51ebb4d78eb472839ccdaf7437b55c4e42dcf
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Tue Nov 20 17:16:20 2012 +0100

    Add missing deps

 perl-Locale-Codes.spec |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/perl-Locale-Codes.spec b/perl-Locale-Codes.spec
index 755b8f3..bf393bf 100644
--- a/perl-Locale-Codes.spec
+++ b/perl-Locale-Codes.spec
@@ -7,13 +7,14 @@ Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Locale-Codes/
 Source0:        http://www.cpan.org/authors/id/S/SB/SBECK/Locale-Codes-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
-# Tests
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(constant)
 BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Tests
 BuildRequires:  perl(Storable)
 BuildRequires:  perl(Test::More)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 # Inject not detected module version
 %{?filter_setup:
@@ -31,14 +32,13 @@ including languages, countries, currency, etc.
 chmod -x examples/*
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
@@ -49,6 +49,11 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Nov 20 2012 Petr Šabata <contyk@xxxxxxxxxx> - 3.23-1
+- Add missing deps
+- Drop command macros
+- Modernize spec
+
 * Tue Sep 04 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 3.23-1
 - 3.23 bump
 
--
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