commit c6d26e1929626a1a6cbcf5225aac57a1402af7ec Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Tue May 7 15:41:30 2013 +0200 Upstream update. - Modernize spec. - Filter perl(Text::Haml). .gitignore | 2 +- perl-Locale-Maketext-Lexicon.spec | 30 +++++++++++++++++------------- sources | 2 +- 3 files changed, 19 insertions(+), 15 deletions(-) --- diff --git a/.gitignore b/.gitignore index c358011..bbcc7e7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/Locale-Maketext-Lexicon-0.91.tar.gz +/Locale-Maketext-Lexicon-0.94.tar.gz diff --git a/perl-Locale-Maketext-Lexicon.spec b/perl-Locale-Maketext-Lexicon.spec index 1c4a890..3b15307 100644 --- a/perl-Locale-Maketext-Lexicon.spec +++ b/perl-Locale-Maketext-Lexicon.spec @@ -1,25 +1,25 @@ Name: perl-Locale-Maketext-Lexicon -Version: 0.91 -Release: 5%{?dist} +Version: 0.94 +Release: 1%{?dist} Summary: Extract translatable strings from source License: MIT Group: Development/Libraries URL: http://search.cpan.org/dist/Locale-Maketext-Lexicon/ Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DRTECH/Locale-Maketext-Lexicon-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) > 6.30 BuildRequires: perl(HTML::Parser) >= 3.56 # optional, not yet in Fedora: BuildRequires: perl(Lingua::EN::Sentence) >= 0.25 BuildRequires: perl(PPI) >= 1.203 BuildRequires: perl(Template) >= 2.20 BuildRequires: perl(Template::Constants) >= 2.75 BuildRequires: perl(YAML) >= 0.66 -BuildRequires: perl(YAML::Loader) >= 0.66 +BuildRequires: perl(YAML::Loader) >= 0.66 BuildRequires: perl(Locale::Maketext) >= 1.17 +# optional, not yet in Fedora: BuildRequires: perl(Text::Haml) # Required by the tests BuildRequires: /usr/bin/msgunfmt @@ -32,6 +32,9 @@ Requires: perl(YAML::Loader) %{?perl_default_filter} +# Optional, not yet in Fedora +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Text::Haml\)$ + %description Locale::Maketext::Lexicon provides lexicon-handling backends for Locale::Maketext to read from other localization formats, such as PO files, @@ -45,14 +48,10 @@ MO files, or from databases via the "Tie" interface. 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 d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* - -%clean -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 d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w ${RPM_BUILD_ROOT}/* %check make test @@ -67,6 +66,11 @@ make test %{_mandir}/man3/* %changelog +* Tue May 07 2013 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 0.94-1 +- Upstream update. +- Modernize spec. +- Filter perl(Text::Haml). + * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.91-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index 7bc4cfe..44c825f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ead74d03d40c72cd52d4d70771bbd122 Locale-Maketext-Lexicon-0.91.tar.gz +b7fda63c7ffb76474606fda809f2cc33 Locale-Maketext-Lexicon-0.94.tar.gz -- 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