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