diff --git a/cpanspec.yml b/cpanspec.yml index 76ad4a4..3c892b8 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -21,8 +21,7 @@ # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 -#custom_build: |- -#./Build build flags=%{?_smp_mflags} --myflag -#custom_test: |- -#startserver && make test -#ignore_requires: Bizarre::Module +custom_build: |- + PERL_USE_UNSAFE_INC=1 perl Build.PL installdirs=vendor optimize="%{optflags}" + ./Build build flags=%{?_smp_mflags} + diff --git a/perl-Hash-FieldHash.changes b/perl-Hash-FieldHash.changes index 3c33751..3f59c4d 100644 --- a/perl-Hash-FieldHash.changes +++ b/perl-Hash-FieldHash.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 10:51:12 UTC 2019 - Stephan Kulow + +- Workaround https://github.com/gfx/p5-Hash-FieldHash/issues + ------------------------------------------------------------------- Mon Feb 13 12:09:59 UTC 2017 - coolo@suse.com diff --git a/perl-Hash-FieldHash.spec b/perl-Hash-FieldHash.spec index f999d18..bfcabcf 100644 --- a/perl-Hash-FieldHash.spec +++ b/perl-Hash-FieldHash.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Hash-FieldHash # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,9 +21,9 @@ Version: 0.15 Release: 0 %define cpan_name Hash-FieldHash Summary: Lightweight field hash for inside-out objects -License: Artistic-1.0 or GPL-1.0+ +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Hash-FieldHash/ +Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/G/GF/GFUJI/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -68,7 +68,7 @@ supports Perl 5.8 using the traditional tie-hash layer. %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Build.PL installdirs=vendor optimize="%{optflags}" +PERL_USE_UNSAFE_INC=1 perl Build.PL installdirs=vendor optimize="%{optflags}" ./Build build flags=%{?_smp_mflags} %check @@ -80,7 +80,6 @@ supports Perl 5.8 using the traditional tie-hash layer. %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes example minil.toml README.md -%license LICENSE +%doc Changes example LICENSE minil.toml README.md %changelog