opitomize the specfile
This commit is contained in:
parent
0c45e2aa11
commit
0e84ddeb96
@ -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 <zhoushuiqing2@huawei.com> - 1.31-2
|
||||
- opitomize the specfile
|
||||
|
||||
* Mon Dec 6 2021 guozhaorui <guozhaorui1@huawei.com> - 1.31-1
|
||||
- update version to 1.31
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user