!24 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:30 +00:00 committed by Gitee
commit c92cbff0fa
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: libtirpc
Version: 1.3.3
Release: 1
Release: 2
Summary: Transport-independent RPC library
License: SISSL and BSD
URL: http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary
@ -32,7 +32,7 @@ autoreconf -fisv
%install
%make_install libdir=/%{_lib} pkgconfigdir=%{_libdir}/pkgconfig
%delete_la
%delete_la_and_a
mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t
@ -52,7 +52,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/*
@ -63,6 +62,12 @@ mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t
%{_mandir}/*/*
%changelog
* Tue Feb 28 2023 gaihuiying <eaglegai@163.com> - 1.3.3-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: delete *.a file
* Tue Nov 15 2022 gaihuiying <eaglegai@163.com> - 1.3.3-1
- Type:requirements
- ID:NA