Sync from SUSE:SLFO:Main perl-Test-Without-Module revision d3fb97a324bab366a497f65553f21022

This commit is contained in:
2025-02-26 14:02:11 +01:00
parent d15107f8d1
commit c0eabbd020
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>

View File

@@ -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.230.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
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