forked from pool/perl-Encode
Accepting request 894242 from devel:languages:perl:autoupdate
- updated to 3.10 see /usr/share/doc/packages/perl-Encode/Changes OBS-URL: https://build.opensuse.org/request/show/894242 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Encode?expand=0&rev=55
This commit is contained in:
committed by
Git OBS Bridge
parent
3f788a2f9b
commit
ca4dd34b4a
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Encode
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,18 +16,16 @@
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Encode
|
||||
Version: 3.08
|
||||
Release: 0
|
||||
%define cpan_name Encode
|
||||
Name: perl-Encode
|
||||
Version: 3.10
|
||||
Release: 0
|
||||
Summary: Character encodings in Perl
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: perl-Encode-rpmlintrc
|
||||
Source2: cpanspec.yml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More) >= 0.92
|
||||
@@ -61,11 +59,11 @@ This document mostly explains the _how_. perlunitut and perlunifaq explain
|
||||
the _why_.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -84,7 +82,6 @@ make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc AUTHORS Changes README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user