From d750441d33c7d03b411dec544bff0f41b0c503510f31f07d8971d3b357714f4e Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 13 Dec 2022 11:45:32 +0000 Subject: [PATCH] Accepting request 1042269 from devel:languages:perl:autoupdate - updated to 0.21 see /usr/share/doc/packages/perl-Test-Without-Module/Changes OBS-URL: https://build.opensuse.org/request/show/1042269 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Without-Module?expand=0&rev=13 --- Test-Without-Module-0.20.tar.gz | 3 --- Test-Without-Module-0.21.tar.gz | 3 +++ perl-Test-Without-Module.changes | 6 ++++++ perl-Test-Without-Module.spec | 27 ++++++++++++--------------- 4 files changed, 21 insertions(+), 18 deletions(-) delete mode 100644 Test-Without-Module-0.20.tar.gz create mode 100644 Test-Without-Module-0.21.tar.gz diff --git a/Test-Without-Module-0.20.tar.gz b/Test-Without-Module-0.20.tar.gz deleted file mode 100644 index 6154250..0000000 --- a/Test-Without-Module-0.20.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8e9aeb7c32a6c6d0b8a93114db2a8c072721273a9d9a2dd4f9ca86cfd28aa524 -size 13609 diff --git a/Test-Without-Module-0.21.tar.gz b/Test-Without-Module-0.21.tar.gz new file mode 100644 index 0000000..958e18f --- /dev/null +++ b/Test-Without-Module-0.21.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cdeafadac4853ebeafe689346d555da5dfa3cfa9d4c84e3e5e7bfee50beec46 +size 13985 diff --git a/perl-Test-Without-Module.changes b/perl-Test-Without-Module.changes index 9a7e44e..5af4f7b 100644 --- a/perl-Test-Without-Module.changes +++ b/perl-Test-Without-Module.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Dec 11 03:07:14 UTC 2022 - Tina Müller + +- updated to 0.21 + see /usr/share/doc/packages/perl-Test-Without-Module/Changes + ------------------------------------------------------------------- Mon Apr 10 06:48:44 UTC 2017 - coolo@suse.com diff --git a/perl-Test-Without-Module.spec b/perl-Test-Without-Module.spec index c373c40..e3ab2af 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) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,22 +12,20 @@ # 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-Without-Module -Version: 0.20 -Release: 0 %define cpan_name Test-Without-Module +Name: perl-Test-Without-Module +Version: 0.21 +Release: 0 +License: Artistic-1.0 OR GPL-1.0-or-later Summary: Test fallback behaviour in absence of modules -License: Artistic-1.0 or GPL-1.0+ -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Test-Without-Module/ +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/C/CO/CORION/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros %{perl_requires} @@ -38,15 +36,15 @@ though they are installed. This is mostly useful for testing modules that have a fallback when a certain dependency module is not installed. %prep -%setup -q -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{version} +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -54,7 +52,6 @@ find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README README.mkdn %changelog