forked from pool/perl-libintl-perl
update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-libintl-perl?expand=0&rev=36
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: perl-libintl-perl
|
||||
Version: 1.29
|
||||
Version: 1.30
|
||||
Release: 0
|
||||
%define cpan_name libintl-perl
|
||||
Summary: High-Level Interface to Uniforum Message Translation
|
||||
@@ -25,10 +25,9 @@ License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/G/GU/GUIDO/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: libintl-perl-1.30.tar.gz
|
||||
Source1: libintl-perl-rpmlintrc
|
||||
Source2: cpanspec.yml
|
||||
# PATCH-FIX-SUSE https://github.com/gflohr/libintl-perl/issues/3
|
||||
Patch0: disable-broken-04find_domain_bug-test.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
@@ -47,19 +46,18 @@ for example in GNU gettext.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%patch0 -p1
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%ifarch %arm
|
||||
# This test blocks the qemu-arm and the worker gets stalled. Needs more attention.
|
||||
rm ./tests/04find_domain_bug.t
|
||||
%endif
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
|
||||
Reference in New Issue
Block a user