fix strip problem

This commit is contained in:
jiangpengjuj 2021-09-11 09:16:01 +08:00
parent adadd9807f
commit 2b5eac31b8

View File

@ -1,6 +1,6 @@
Name: xdp-tools Name: xdp-tools
Version: 1.0.1 Version: 1.0.1
Release: 0%{?dist} Release: 1%{?dist}
Summary: Utilities and example programs for use with XDP Summary: Utilities and example programs for use with XDP
%global _soversion 1.0.0 %global _soversion 1.0.0
@ -82,6 +82,8 @@ export MANDIR='%{_mandir}'
export DATADIR='%{_datadir}' export DATADIR='%{_datadir}'
export HDRDIR='%{_includedir}/xdp' export HDRDIR='%{_includedir}/xdp'
make install V=1 make install V=1
strip %{buildroot}%{_libdir}/{libxdp.so,libxdp.so.1.0.0}
strip %{buildroot}%{_sbindir}/{xdpdump,xdp-loader,xdp-filter}
%files %files
%{_sbindir}/xdp-filter %{_sbindir}/xdp-filter
@ -108,6 +110,9 @@ make install V=1
%{_libdir}/pkgconfig/libxdp.pc %{_libdir}/pkgconfig/libxdp.pc
%changelog %changelog
* Fri Sep 10 2021 Pengju Jiang <jiangpengju2@huawei.com> 1.0.1-1
- solve the strip problem of dark conversion compilation
* Tue Oct 20 2020 Hubble Zhu <hubble_zhu@qq.com> 1.0.1-0 * Tue Oct 20 2020 Hubble Zhu <hubble_zhu@qq.com> 1.0.1-0
- Initial package - Initial package