7
0

Compare commits

4 Commits

4 changed files with 33 additions and 9 deletions

BIN
Test-Without-Module-0.21.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
Test-Without-Module-0.23.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Mon Jul 15 05:30:03 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.230.0 (0.23)
see /usr/share/doc/packages/perl-Test-Without-Module/Changes
0.23 2024-07-14
- Lower minimum required Perl version back to 5.006, this addresses GH #5
-------------------------------------------------------------------
Sat Jul 6 05:29:00 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- 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 <timueller+perl@suse.de> Sun Dec 11 03:07:14 UTC 2022 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Test-Without-Module # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,20 @@
%define cpan_name Test-Without-Module %define cpan_name Test-Without-Module
Name: perl-Test-Without-Module Name: perl-Test-Without-Module
Version: 0.21 Version: 0.230.0
Release: 0 Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later # 0.23 -> normalize -> 0.230.0
%define cpan_version 0.23
License: Artistic-2.0
Summary: Test fallback behaviour in absence of modules Summary: Test fallback behaviour in absence of modules
URL: https://metacpan.org/release/%{cpan_name} 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 Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
Provides: perl(Test::Without::Module) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %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. have a fallback when a certain dependency module is not installed.
%prep %prep
%autosetup -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
@@ -53,5 +58,6 @@ make test
%files -f %{name}.files %files -f %{name}.files
%doc Changes README README.mkdn %doc Changes README README.mkdn
%license LICENSE
%changelog %changelog