forked from pool/perl-Data-Util
Accepting request 414799 from devel:languages:perl:autoupdate
- updated to 0.64 see /usr/share/doc/packages/perl-Data-Util/Changes 0.64 2016-07-23T15:13:01Z - Fix on perl 5.22.x or higher versions - Minilla migrate - remove upstream perl522.patch OBS-URL: https://build.opensuse.org/request/show/414799 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Util?expand=0&rev=18
This commit is contained in:
committed by
Git OBS Bridge
parent
ff4d988e74
commit
67784d8fd1
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Data-Util
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 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
|
||||
@@ -17,23 +17,26 @@
|
||||
|
||||
|
||||
Name: perl-Data-Util
|
||||
Version: 0.63
|
||||
Version: 0.64
|
||||
Release: 0
|
||||
%define cpan_name Data-Util
|
||||
Summary: A selection of utilities for data and data types
|
||||
Summary: Selection of Utilities for Data and Data Types
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Data-Util/
|
||||
Source: http://www.cpan.org/authors/id/G/GF/GFUJI/%{cpan_name}-%{version}.tar.gz
|
||||
Patch0: perl522.patch
|
||||
Source0: http://www.cpan.org/authors/id/S/SY/SYOHEX/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Devel::PPPort) >= 3.19
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
|
||||
BuildRequires: perl(ExtUtils::ParseXS) >= 3.18
|
||||
BuildRequires: perl(Hash::Util::FieldHash::Compat)
|
||||
BuildRequires: perl(Module::Build) >= 0.400500
|
||||
BuildRequires: perl(Module::Build::XSUtil) >= 0.02
|
||||
BuildRequires: perl(Scope::Guard)
|
||||
BuildRequires: perl(Test::Exception) >= 0.27
|
||||
BuildRequires: perl(Test::Exception) >= 0.270000
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -47,23 +50,20 @@ There are many benchmarks in the _DIST-DIR/benchmark/_ directory.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
./Build test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes example README
|
||||
%doc Changes circle.yml example LICENSE minil.toml README.md
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user