diff --git a/Test-Compile-v1.3.0.tar.gz b/Test-Compile-v1.3.0.tar.gz deleted file mode 100644 index 0f0a9c2..0000000 --- a/Test-Compile-v1.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:77527e9477ac5260443c756367a7f7bc3d8f6c6ebbc561b0b2fb3f79303bad33 -size 15198 diff --git a/Test-Compile-v2.0.0.tar.gz b/Test-Compile-v2.0.0.tar.gz new file mode 100644 index 0000000..b607bbd --- /dev/null +++ b/Test-Compile-v2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7988b766a44301b67847e9a491a4d2494d0b502048e9a4c99a9f9971972ef855 +size 15612 diff --git a/perl-Test-Compile.changes b/perl-Test-Compile.changes index 5789fc2..b884221 100644 --- a/perl-Test-Compile.changes +++ b/perl-Test-Compile.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed Jun 19 05:32:26 UTC 2019 - Stephan Kulow + +- updated to 2.0.0 + see /usr/share/doc/packages/perl-Test-Compile/Changes + + v2.0_0 2019-06-18 (DEV RELEASE) + Ɓukasz Hejnak + - Replaced import() with Exporter usage. + - Added all_files_ok to the procedural mode. + - Added .git to list of directories ignored when looking for pm/pl files. + - Added an else clause for pl_file_compiles so that it catches file not found errors. + Evan Giles + - Remove 'exported_to' function + - Remove cleanup steps from the Build.PL file + - Bump version number for backwards incompatible changes (semver.org) + ------------------------------------------------------------------- Sat Sep 26 09:15:01 UTC 2015 - coolo@suse.com diff --git a/perl-Test-Compile.spec b/perl-Test-Compile.spec index d34155d..f967bb7 100644 --- a/perl-Test-Compile.spec +++ b/perl-Test-Compile.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Test-Compile # -# Copyright (c) 2015 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,28 +12,32 @@ # 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-Test-Compile -Version: 1.3.0 +Version: 2.0.0 Release: 0 %define cpan_name Test-Compile Summary: Check whether Perl files compile correctly -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/Test-Compile/ -Source0: http://www.cpan.org/authors/id/E/EG/EGILES/%{cpan_name}-v%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/E/EG/EGILES/%{cpan_name}-v%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Exporter) >= 5.68 BuildRequires: perl(Module::Build) >= 0.380000 BuildRequires: perl(UNIVERSAL::require) +BuildRequires: perl(parent) >= 0.225 BuildRequires: perl(version) +Requires: perl(Exporter) >= 5.68 Requires: perl(UNIVERSAL::require) +Requires: perl(parent) >= 0.225 Requires: perl(version) Recommends: perl(Devel::CheckOS) %{perl_requires} @@ -60,10 +64,10 @@ all Perl files in a module distribution: %prep %setup -q -n %{cpan_name}-v%{version} -find . -type f -print0 | xargs -0 chmod 644 +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check @@ -75,6 +79,7 @@ find . -type f -print0 | xargs -0 chmod 644 %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes LICENSE README +%doc Changes README +%license LICENSE %changelog