2024-07-24 19:36:48 +00:00
committed by Git OBS Bridge
parent 868b22881a
commit a8613f1b78

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Log-Dispatch-Perl # spec file for package perl-Log-Dispatch-Perl
# #
# Copyright (c) 2020 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
@@ -16,24 +16,26 @@
# #
Name: perl-Log-Dispatch-Perl
Version: 0.05
Release: 0
%define cpan_name Log-Dispatch-Perl %define cpan_name Log-Dispatch-Perl
Summary: Use core Perl functions for logging Name: perl-Log-Dispatch-Perl
Version: 0.50.0
Release: 0
# 0.05 -> normalize -> 0.50.0
%define cpan_version 0.05
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: Use core Perl functions for logging
URL: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{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(Log::Dispatch) >= 1.16 BuildRequires: perl(Log::Dispatch) >= 1.16
BuildRequires: perl(Log::Dispatch::Output) BuildRequires: perl(Log::Dispatch::Output)
Requires: perl(Log::Dispatch) >= 1.16 Requires: perl(Log::Dispatch) >= 1.16
Requires: perl(Log::Dispatch::Output) Requires: perl(Log::Dispatch::Output)
Provides: perl(Log::Dispatch::Perl) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -44,11 +46,11 @@ possibility for a logging action to halt the current environment, such as
with "die" and "croak". with "die" and "croak".
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %make_build
%check %check
make test make test
@@ -59,7 +61,6 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING README %doc Changes CONTRIBUTING README
%license LICENCE %license LICENCE