diff --git a/perl-Throwable.spec b/perl-Throwable.spec index 0c9e8c4..54b8dd0 100644 --- a/perl-Throwable.spec +++ b/perl-Throwable.spec @@ -1,11 +1,11 @@ -%global cpan_version 0.201 Name: perl-Throwable -Version: 0.201000 -Release: 1%{?dist} +Epoch: 1 +Version: 0.201 +Release: 2%{?dist} Summary: Role for classes that can be thrown License: GPL+ or Artistic URL: https://metacpan.org/release/Throwable -Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Throwable-%{cpan_version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Throwable-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: make @@ -39,7 +39,7 @@ to standard program flow. It is very simple and does only two things: saves any previous value for $@ and calls die $self. %prep -%setup -q -n Throwable-%{cpan_version} +%setup -q -n Throwable-%{version} %build /usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 @@ -59,6 +59,9 @@ any previous value for $@ and calls die $self. %{_mandir}/man3/* %changelog +* Mon Jun 21 2021 Jitka Plesnikova - 1:0.201-2 +- Add epoch of 1 (0.200013 => 0.201) (bug#1974137) + * Sun Jun 20 2021 Emmanuel Seyman - 0.201000-1 - Update to 0.201 - Use %%{make_install} instead of "make pure_install"