2024-03-12 17:17:51 +00:00
committed by Git OBS Bridge
parent 62172f58db
commit d7ebfa256a
2 changed files with 18 additions and 12 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 12 17:02:38 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 30 06:29:56 UTC 2019 - Stephan Kulow <coolo@suse.com> Wed Jan 30 06:29:56 UTC 2019 - Stephan Kulow <coolo@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Ouch # spec file for package perl-Ouch
# #
# 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,24 +16,25 @@
# #
Name: perl-Ouch
Version: 0.0501
Release: 0
%define cpan_name Ouch %define cpan_name Ouch
Summary: Exceptions that don't hurt Name: perl-Ouch
Version: 0.50.100
Release: 0
%define cpan_version 0.0501
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: Exceptions that don't hurt
Url: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RI/RIZEN/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/R/RI/RIZEN/%{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(Test::Trap) BuildRequires: perl(Test::Trap)
BuildRequires: perl(parent) BuildRequires: perl(parent)
Requires: perl(Test::Trap) Requires: perl(Test::Trap)
Requires: perl(parent) Requires: perl(parent)
Provides: perl(Ouch) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -44,11 +45,11 @@ requires less typing, and has no prereqs, but still gives you much of that
same functionality, then Ouch is for you. same functionality, then Ouch is for you.
%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 +60,6 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README README.md %doc Changes README README.md
%license LICENSE %license LICENSE