Fix: do not create useless files

Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
(cherry picked from commit fe48150da321cb131b49d501e017a8e49ad55686)
This commit is contained in:
Jia Chao 2024-12-03 09:58:04 +08:00 committed by openeuler-sync-bot
parent 5c0f9097b8
commit 05b69d9adf

View File

@ -1,6 +1,6 @@
Name: perl-Class-ISA
Version: 0.36
Release: 0
Release: 1
Summary: A class's ISA tree to report the search path
License: GPL+ or Artistic
URL: https://metacpan.org/release/Class-ISA
@ -20,7 +20,7 @@ find a method, with no duplicates.
%autosetup -n Class-ISA-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
@ -35,8 +35,10 @@ make test
%doc ChangeLog README
%{perl_vendorlib}/*
%exclude %{_mandir}/man3/*
%exclude %{_libdir}/perl5/vendor_perl/auto/Class/ISA/.packlist
%changelog
* Tue Dec 03 2024 Jia Chao <jiac13@chinaunicom.cn> - 0.36-1
- Fix: fix build params, do not create useless files.
* Wed Apr 22 2020 leiju <leiju4@huawei.com> - 0.36-0
- Package init