2024-08-18 21:57:56 +00:00
committed by Git OBS Bridge
parent bec5e028f3
commit dd11d7afab

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-LoadAllModules
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -16,35 +16,38 @@
#
Name: perl-Test-LoadAllModules
Version: 0.022
Release: 0
%define cpan_name Test-LoadAllModules
Summary: Do use_ok for modules in search path
Name: perl-Test-LoadAllModules
Version: 0.22.0
Release: 0
# 0.022 -> normalize -> 0.22.0
%define cpan_version 0.022
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/K/KI/KITANO/%{cpan_name}-%{version}.tar.gz
Summary: Do use_ok for modules in search path
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/K/KI/KITANO/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Module::Pluggable::Object)
Requires: perl(List::MoreUtils)
Requires: perl(Module::Pluggable::Object)
Provides: perl(Test::LoadAllModules) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
Test::LoadAllModules do use_ok for modules in search_path.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@@ -55,7 +58,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%changelog