!26 delete *.a file

From: @eaglegai 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
This commit is contained in:
openeuler-ci-bot 2023-03-01 06:28:08 +00:00 committed by Gitee
commit 075c3827b3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: libtirpc
Version: 1.3.2
Release: 2
Release: 3
Summary: Transport-independent RPC library
License: SISSL and BSD
URL: http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary
@ -34,7 +34,7 @@ autoreconf -fisv
%install
%make_install libdir=/%{_lib} pkgconfigdir=%{_libdir}/pkgconfig
%delete_la
%delete_la_and_a
mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t
@ -54,7 +54,6 @@ mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t
%files devel
%defattr(-,root,root)
%{!?_licensedir:%global license %%doc}
/%{_lib}/*.a
/%{_lib}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/tirpc/*
@ -65,6 +64,12 @@ mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t
%{_mandir}/*/*
%changelog
* Tue Feb 28 2023 gaihuiying <eaglegai@163.com> - 1.3.2-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: delete *.a file
* Fri Jul 22 2022 gaihuiying <eaglegai@163.com> - 1.3.2-2
- Type:CVE
- ID:CVE-2021-46828