commit perl-Locale-Msgfmt for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Locale-Msgfmt for openSUSE:Factory checked in at 2017-10-03 23:19:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Locale-Msgfmt (Old) and /work/SRC/openSUSE:Factory/.perl-Locale-Msgfmt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Locale-Msgfmt" Tue Oct 3 23:19:01 2017 rev:5 rq:530744 version:0.15 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Locale-Msgfmt/perl-Locale-Msgfmt.changes 2013-01-02 12:59:57.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Locale-Msgfmt.new/perl-Locale-Msgfmt.changes 2017-10-03 23:19:03.843396399 +0200 @@ -1,0 +2,5 @@ +Tue Oct 3 08:15:23 UTC 2017 - coolo@suse.com + +- patch the Makefile to build with perl 5.26 + +------------------------------------------------------------------- New: ---- cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Locale-Msgfmt.spec ++++++ --- /var/tmp/diff_new_pack.fgLBWM/_old 2017-10-03 23:19:04.543297900 +0200 +++ /var/tmp/diff_new_pack.fgLBWM/_new 2017-10-03 23:19:04.547297337 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Locale-Msgfmt # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,55 +19,43 @@ Name: perl-Locale-Msgfmt Version: 0.15 Release: 0 +%define cpan_name Locale-Msgfmt Summary: Compile .po files to .mo files License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Source: http://search.cpan.org/CPAN/authors/id/A/AZ/AZAWAWI/Locale-Msgfmt-%{version}.tar.gz -Url: http://search.cpan.org/dist/Locale-Msgfmt +Url: http://search.cpan.org/dist/Locale-Msgfmt/ +Source0: https://cpan.metacpan.org/authors/id/A/AZ/AZAWAWI/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: perl = %{perl_version} -BuildRequires: make BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 -BuildRequires: perl(File::Spec) >= 0.80 -BuildRequires: perl(Test::More) >= 0.47 -Requires: perl(File::Spec) >= 0.80 +%{perl_requires} %description -This module does the same thing as msgfmt from GNU gettext-tools, except this -is pure Perl. +Compile .po files to .mo files %prep -%setup -q -n "Locale-Msgfmt-%{version}" -%__sed -i '/^auto_install/d' Makefile.PL +%setup -q -n %{cpan_name}-%{version} +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +# MANUAL BEGIN +sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL +# MANUAL END %build -%__perl Makefile.PL PREFIX="%{_prefix}" -%__make %{?jobs:-j%{jobs}} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install %perl_make_install %perl_process_packlist +%perl_gen_filelist -%check -%__make test - -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} - -%files -%defattr(-,root,root) +%files -f %{name}.files +%defattr(-,root,root,755) %doc Changes README -%dir %{perl_vendorlib}/Locale -%{perl_vendorlib}/Locale/Msgfmt.pm -%{perl_vendorlib}/Locale/Msgfmt -%dir %{perl_vendorlib}/Module -%dir %{perl_vendorlib}/Module/Install -%{perl_vendorlib}/Module/Install/Msgfmt.pm -%dir %{perl_vendorarch}/auto/Locale -%{perl_vendorarch}/auto/Locale/Msgfmt -%doc %{perl_man3dir}/Locale::Msgfmt.%{perl_man3ext}%{ext_man} -%doc %{perl_man3dir}/Locale::Msgfmt::*.%{perl_man3ext}%{ext_man} %changelog ++++++ cpanspec.yml ++++++ --- post_prep: sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
participants (1)
-
root@hilbert.suse.de