diff --git a/perl-Mozilla-CA.spec b/perl-Mozilla-CA.spec index ce83563..932fc6a 100644 --- a/perl-Mozilla-CA.spec +++ b/perl-Mozilla-CA.spec @@ -1,11 +1,13 @@ -Name: perl-Mozilla-CA +%define mod_name Mozilla-CA + +Name: perl-%{mod_name} Epoch: 1 Version: 20211001 -Release: 1 +Release: 2 Summary: Mozilla's CA cert bundle in PEM format License: MPLv2.0 -URL: https://metacpan.org/release/Mozilla-CA -Source0: https://cpan.metacpan.org/authors/id/A/AB/ABH/Mozilla-CA-%{version}.tar.gz +URL: https://metacpan.org/release/%{mod_name} +Source0: https://cpan.metacpan.org/authors/id/A/AB/ABH/%{mod_name}-%{version}.tar.gz BuildArch: noarch # For check failure @@ -27,7 +29,7 @@ BuildArch: noarch This package provide %{summary}. %prep -%autosetup -n Mozilla-CA-%{version} -p1 +%autosetup -n %{mod_name}-%{version} -p1 rm -vf lib/Mozilla/CA/cacert.pem mk-ca-bundle.pl sed -i '/^mk-ca-bundle.pl$/d' MANIFEST @@ -50,7 +52,10 @@ make test %{_mandir}/man3/* %changelog -* Thu Dec 2 2021 shangyibin - 1:20211001-1 +* Wed Oct 26 2022 wangyuhang - 1:20211001-2 +- define mod_name to opitomize the specfile + +* Tue Dec 21 2021 shangyibin - 1:20211001-1 - update to 20211001-1 * Wed Jul 29 2020 shixuantong - 1:20200520-1