diff --git a/Test-Without-Module-0.21.tar.gz b/Test-Without-Module-0.21.tar.gz deleted file mode 100644 index 958e18f..0000000 --- a/Test-Without-Module-0.21.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3cdeafadac4853ebeafe689346d555da5dfa3cfa9d4c84e3e5e7bfee50beec46 -size 13985 diff --git a/Test-Without-Module-0.22.tar.gz b/Test-Without-Module-0.22.tar.gz new file mode 100644 index 0000000..bf60ff5 --- /dev/null +++ b/Test-Without-Module-0.22.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27cde4394891028c7d8ecef22a2806308a3389597b70f6a9a421b4247e69052f +size 19464 diff --git a/perl-Test-Without-Module.changes b/perl-Test-Without-Module.changes index 5af4f7b..c950c7c 100644 --- a/perl-Test-Without-Module.changes +++ b/perl-Test-Without-Module.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sat Jul 6 05:29:00 UTC 2024 - Tina Müller + +- updated to 0.220.0 (0.22) + see /usr/share/doc/packages/perl-Test-Without-Module/Changes + + 0.22 2024-07-05 + - Fix test suite to not skip a failing test + ------------------------------------------------------------------- Sun Dec 11 03:07:14 UTC 2022 - Tina Müller diff --git a/perl-Test-Without-Module.spec b/perl-Test-Without-Module.spec index e3ab2af..31097f4 100644 --- a/perl-Test-Without-Module.spec +++ b/perl-Test-Without-Module.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Test-Without-Module # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,20 @@ %define cpan_name Test-Without-Module Name: perl-Test-Without-Module -Version: 0.21 +Version: 0.220.0 Release: 0 -License: Artistic-1.0 OR GPL-1.0-or-later +# 0.22 -> normalize -> 0.220.0 +%define cpan_version 0.22 +License: Artistic-2.0 Summary: Test fallback behaviour in absence of modules URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/C/CO/CORION/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/C/CO/CORION/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros +Provides: perl(Test::Without::Module) = %{version} +%undefine __perllib_provides %{perl_requires} %description @@ -36,8 +40,9 @@ though they are installed. This is mostly useful for testing modules that have a fallback when a certain dependency module is not installed. %prep -%autosetup -n %{cpan_name}-%{version} -find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{cpan_version} + +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor @@ -53,5 +58,6 @@ make test %files -f %{name}.files %doc Changes README README.mkdn +%license LICENSE %changelog