opitomize the specfile

This commit is contained in:
zhoushuiqing 2022-10-25 03:12:12 +00:00 committed by Gitee
parent 0c45e2aa11
commit 0e84ddeb96
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,12 +1,11 @@
%global base_name Unicode-Collate %define mod_name Unicode-Collate
Name: perl-%{mod_name}
Name: perl-Unicode-Collate
Version: 1.31 Version: 1.31
Release: 1 Release: 2
Summary: Unicode Collation Algorithm (UCA) Summary: Unicode Collation Algorithm (UCA)
License: (GPL+ or Artistic) and Unicode License: (GPL+ or Artistic) and Unicode
URL: http://search.cpan.org/dist/Unicode-Collate/ URL: http://search.cpan.org/dist/%{mod_name}/
Source0: https://cpan.metacpan.org/authors/id/S/SA/SADAHIRO/Unicode-Collate-%{version}.tar.gz 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: gcc coreutils findutils make perl-devel perl-generators perl-interpreter
BuildRequires: perl(Carp) perl(constant) perl(ExtUtils::MakeMaker) >= 6.76 perl(File::Spec) 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 %package_help
%prep %prep
%autosetup -n %{base_name}-%{version} %autosetup -n %{mod_name}-%{version}
rm Collate/Locale/* rm Collate/Locale/*
@ -41,14 +40,6 @@ make pure_install DESTDIR=%{buildroot}
%check %check
make test make test
%pre
%preun
%post
%postun
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc Changes README %doc Changes README
@ -59,6 +50,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Tue Oct 25 2022 zhoushuiqing <zhoushuiqing2@huawei.com> - 1.31-2
- opitomize the specfile
* Mon Dec 6 2021 guozhaorui <guozhaorui1@huawei.com> - 1.31-1 * Mon Dec 6 2021 guozhaorui <guozhaorui1@huawei.com> - 1.31-1
- update version to 1.31 - update version to 1.31