diff --git a/perl-Unicode-Collate.spec b/perl-Unicode-Collate.spec index 9116ef490db073b3aa5a800d3f49ab39a0167008..44ede3808dd5bcada8992d7c6439d90a5b426d2c 100644 --- a/perl-Unicode-Collate.spec +++ b/perl-Unicode-Collate.spec @@ -1,12 +1,11 @@ -%global base_name Unicode-Collate - -Name: perl-Unicode-Collate +%define mod_name Unicode-Collate +Name: perl-%{mod_name} Version: 1.31 -Release: 1 +Release: 2 Summary: Unicode Collation Algorithm (UCA) License: (GPL+ or Artistic) and Unicode -URL: http://search.cpan.org/dist/Unicode-Collate/ -Source0: https://cpan.metacpan.org/authors/id/S/SA/SADAHIRO/Unicode-Collate-%{version}.tar.gz +URL: http://search.cpan.org/dist/%{mod_name}/ +Source0: https://cpan.metacpan.org/authors/id/S/SA/SADAHIRO/%{mod_name}-%{version}.tar.gz BuildRequires: gcc coreutils findutils make perl-devel perl-generators perl-interpreter BuildRequires: perl(Carp) perl(constant) perl(ExtUtils::MakeMaker) >= 6.76 perl(File::Spec) @@ -22,7 +21,7 @@ or sort text in any writing system and language that can be represented with Uni %package_help %prep -%autosetup -n %{base_name}-%{version} +%autosetup -n %{mod_name}-%{version} rm Collate/Locale/* @@ -41,14 +40,6 @@ make pure_install DESTDIR=%{buildroot} %check make test -%pre - -%preun - -%post - -%postun - %files %defattr(-,root,root) %doc Changes README @@ -59,6 +50,9 @@ make test %{_mandir}/man3/* %changelog +* Tue Oct 25 2022 zhoushuiqing - 1.31-2 +- opitomize the specfile + * Mon Dec 6 2021 guozhaorui - 1.31-1 - update version to 1.31