diff --git a/File-ShareDir-1.112.tar.gz b/File-ShareDir-1.112.tar.gz deleted file mode 100644 index 83321e1..0000000 --- a/File-ShareDir-1.112.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f8305566a6e474178b0f55c3163db4d34e17c40004b5cbdacd5a5d435172dba4 -size 26170 diff --git a/File-ShareDir-1.116.tar.gz b/File-ShareDir-1.116.tar.gz new file mode 100644 index 0000000..45034c4 --- /dev/null +++ b/File-ShareDir-1.116.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59d90bfdf98c4656ff4173e62954ea8cf0de66565e35d108ecd7050596cb8328 +size 27487 diff --git a/cpanspec.yml b/cpanspec.yml index 76ad4a4..1b9f670 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -10,8 +10,10 @@ #patches: # foo.patch: -p1 # bar.patch: -#preamble: |- -# BuildRequires: gcc-c++ +preamble: |- + # because File::ShareDir::Install is in inc/ it won't be seen as a + # dependency by cpanspec + BuildRequires: perl(File::ShareDir::Install) #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL diff --git a/perl-File-ShareDir.changes b/perl-File-ShareDir.changes index 5f76f37..ac68211 100644 --- a/perl-File-ShareDir.changes +++ b/perl-File-ShareDir.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Tue Oct 22 16:28:24 UTC 2019 - Tina Mueller + +- Add manual dependency File::ShareDir::Install + * The module delivers a version of this in inc/, but doesn't use this + in the tests. cpanspec won't detect this as a dependency + +------------------------------------------------------------------- +Wed Apr 3 06:58:00 UTC 2019 - Stephan Kulow + +- updated to 1.116 + see /usr/share/doc/packages/perl-File-ShareDir/Changes + + 1.116 2018-06-24 + - fix fail-test which incorrectly read without permission + ==> introduce new CI test proving this (Thanks to Ville + Skyttä ) + - spelling fixes (Thanks to Ville Skyttä ) + - fix author tests when run without recommended dependencies + (reported by Mohammed Anwar & Wesley Schwengle) + - add a test proving and reporting dependencies + + 1.114 2018-06-21 + - be more expressive regarding to prerequisites + - improve detection for situations where no permission test + can be done + - fix edge case for 5.8 + ------------------------------------------------------------------- Tue Jun 19 05:22:48 UTC 2018 - coolo@suse.com diff --git a/perl-File-ShareDir.spec b/perl-File-ShareDir.spec index 0aeeb22..76f09fb 100644 --- a/perl-File-ShareDir.spec +++ b/perl-File-ShareDir.spec @@ -1,7 +1,7 @@ # # spec file for package perl-File-ShareDir # -# Copyright (c) 2018 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,18 +12,18 @@ # 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/ # Name: perl-File-ShareDir -Version: 1.112 +Version: 1.116 Release: 0 %define cpan_name File-ShareDir Summary: Locate per-dist and per-module shared files License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/File-ShareDir/ +Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch @@ -31,11 +31,17 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Inspector) >= 1.12 -BuildRequires: perl(Test::More) >= 0.9 +BuildRequires: perl(File::Path) >= 2.080000 +BuildRequires: perl(Test::More) >= 0.90 Requires: perl(Class::Inspector) >= 1.12 Recommends: perl(List::MoreUtils) >= 0.428 Recommends: perl(Params::Util) >= 1.07 %{perl_requires} +# MANUAL BEGIN +# because File::ShareDir::Install is in inc/ it won't be seen as a +# dependency by cpanspec +BuildRequires: perl(File::ShareDir::Install) +# MANUAL END %description The intent of File::ShareDir is to provide a companion to Class::Inspector @@ -80,14 +86,14 @@ of data. %prep %setup -q -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install