From 2479dbdd61a6da6cb98c91529cf2f84ecc11e56d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org> Date: Thu, 26 Nov 2015 05:06:53 +0100 Subject: Upstream update.
- Reflect upstream having changed tarball name to Locale-gettext. - Rename binary package to perl-Locale-gettext. - Remove BR: per(Data::Dumper). --- .gitignore | 2 +- perl-gettext.spec | 41 ++++++++++++++++++++++++++++++++--------- sources | 2 +- 3 files changed, 34 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 4068812..0942fd0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/gettext-1.06.tar.gz +/Locale-gettext-1.07.tar.gz diff --git a/perl-gettext.spec b/perl-gettext.spec index dfba1a2..07a9cbb 100644 --- a/perl-gettext.spec +++ b/perl-gettext.spec @@ -1,15 +1,18 @@ +# This package should be renamed into perl-Locale-gettext +%global tarname Locale-gettext + Name: perl-gettext -Version: 1.06 +Version: 1.07 Release: 1%{?dist} Summary: Interface to gettext family of functions Group: Development/Libraries 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 +Source0: http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/%{tarname}-%{version}.tar.gz -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: gettext +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: gettext # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(Exporter) @@ -19,17 +22,31 @@ BuildRequires: perl(POSIX) # Optional BuildRequires: perl(Encode) # Tests: -BuildRequires: perl(Data::Dumper) BuildRequires: perl(Test) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description -The gettext module permits access from perl to the gettext() family of +The gettext module permits access from perl to the gettext() family of +functions for retrieving message strings from databases constructed to +internationalize software. + + +%package -n perl-%{tarname} +Summary: %{summary} +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +Obsoletes: perl-gettext < %{version}-%{release} +Obsoletes: perl-gettext%{?_isa} < %{version}-%{release} +Provides: perl-gettext = %{version}-%{release} +Provides: perl-gettext%{?_isa} = %{version}-%{release} + + +%description -n perl-%{tarname} +The gettext module permits access from perl to the gettext() family of functions for retrieving message strings from databases constructed to internationalize software. %prep -%setup -q -n gettext-%{version} +%setup -q -n %{tarname}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" @@ -47,7 +64,7 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' make test -%files +%files -n perl-%{tarname} %doc README %{perl_vendorarch}/auto/Locale %{perl_vendorarch}/Locale @@ -55,6 +72,12 @@ make test %changelog +* Thu Nov 26 2015 Ralf Corsépius <corse...@fedoraproject.org> - 1.07-1 +- Upstream update. +- Reflect upstream having changed tarball name to Locale-gettext. +- Rename binary package to perl-Locale-gettext. +- Remove BR: per(Data::Dumper). + * Thu Sep 24 2015 Ralf Corsépius <corse...@fedoraproject.org> - 1.06-1 - Update to 1.06. - Remove Obsoletes: perl-Locale-gettext. diff --git a/sources b/sources index 3292dd8..de6c865 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -dbafd5b97e0ce5b4cd1d8ded9661f09e gettext-1.06.tar.gz +bc652758af65c24500f1d06a77415019 Locale-gettext-1.07.tar.gz -- cgit v0.11.2 http://pkgs.fedoraproject.org/cgit/perl-gettext.git/commit/?h=master&id=2479dbdd61a6da6cb98c91529cf2f84ecc11e56d -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org