fix: remove unused files before %file
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
This commit is contained in:
parent
41e066f29d
commit
5b9c1b0d9c
@ -1,6 +1,6 @@
|
||||
Name: perl-MIME-Types
|
||||
Version: 2.22
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: MIME-types module in Perl
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/MIME-Types
|
||||
@ -46,6 +46,7 @@ perl Makefile.PL INSTALLDIRS=vendor
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
%check
|
||||
@ -54,7 +55,6 @@ make test
|
||||
%files
|
||||
%doc ChangeLog
|
||||
%{perl_vendorlib}/MIME/
|
||||
%exclude %{_libdir}/perl5/vendor_perl/auto/MIME/Types/.packlist
|
||||
|
||||
%files -n perl-MojoX-MIME-Types
|
||||
%{perl_vendorlib}/MojoX/
|
||||
@ -66,6 +66,9 @@ make test
|
||||
%{_mandir}/man3/MojoX::MIME::Types.3*
|
||||
|
||||
%changelog
|
||||
* Tue May 23 2023 Jia Chao <jiac13@chinaunicom.cn> - 2.22-2
|
||||
- Fix: find and remove .packlist, not exclude it.
|
||||
|
||||
* Tue Jun 14 2022 SimpleUpdate Robot <tc@openeuler.org> - 2.22-1
|
||||
- Upgrade to version 2.22
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user