[perl-libintl] Add some missing deps

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

 



commit 3ac716d44683d776c606ad7eaafaa129821e8fd8
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Tue Nov 20 14:12:13 2012 +0100

    Add some missing deps

 perl-libintl.spec |   31 +++++++++++++------------------
 1 files changed, 13 insertions(+), 18 deletions(-)
---
diff --git a/perl-libintl.spec b/perl-libintl.spec
index 38766b4..019c118 100644
--- a/perl-libintl.spec
+++ b/perl-libintl.spec
@@ -1,13 +1,12 @@
 Summary: Internationalization library for Perl, compatible with gettext
 Name: perl-libintl
 Version: 1.20
-Release: 9%{?dist}
+Release: 10%{?dist}
 License: LGPLv2+
 Group: Development/Libraries
 URL: http://search.cpan.org/dist/libintl-perl/
 Source: http://search.cpan.org/CPAN/authors/id/G/GU/GUIDO/libintl-perl-%{version}.tar.gz
-BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Provides: perl-libintl-perl = %{version}-%{release}
 BuildRequires: perl(ExtUtils::MakeMaker)
 # Run-time:
@@ -16,10 +15,12 @@ BuildRequires: perl(Carp)
 BuildRequires: perl(constant)
 BuildRequires: perl(Cwd)
 BuildRequires: perl(Encode)
+BuildRequires: perl(Encode::Alias)
 BuildRequires: perl(Exporter)
 BuildRequires: perl(IO::Handle)
 # Tests:
 BuildRequires: perl(File::Spec)
+BuildRequires: perl(Test)
 BuildRequires: perl(Test::Harness)
 
 %{?perl_default_filter}
@@ -37,36 +38,30 @@ find lib/Locale gettext_xs \( -name '*.pm' -o -name '*.pod' \) \
     -exec sed -i -e '/^#! \/bin\/false/d' {} \;
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-%{__make} %{?_smp_mflags}
-
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
 
 %install
-%{__rm} -rf %{buildroot}
-%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f \( -name .packlist -o \
 			-name '*.bs' -size 0 \) -exec rm -f {} ';'
-find %{buildroot} -depth -type d -empty -exec rmdir {} ';'
 chmod -R u+w %{buildroot}/*
 
-
 %check
-%{__make} test
-
-
-%clean
-%{__rm} -rf %{buildroot}
-
+make test
 
 %files
-%defattr(-,root,root,-)
 %doc ChangeLog COPYING* NEWS README THANKS TODO
 %{perl_vendorlib}/Locale/
 %{perl_vendorarch}/auto/Locale/
 %{_mandir}/man?/*
 
-
 %changelog
+* Tue Nov 20 2012 Petr Šabata <contyk@xxxxxxxxxx> - 1.20-10
+- Add some missing BRs
+- Modernize the spec
+- Drop command macros
+
 * Thu Oct 11 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1.20-9
 - Do not provide private library
 - Drop unneeded build-time dependencies
--
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