!5 Fix not striped and rpath problem

From: @si-gui
Reviewed-by: @overweight
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2021-09-10 02:55:02 +00:00 committed by Gitee
commit 736985e4f0

View File

@ -1,15 +1,13 @@
#%global debug_package %{nil}
Name: ykpers Name: ykpers
Version: 1.20.0 Version: 1.20.0
Release: 3 Release: 4
Summary: The YubiKey Personalization package contains a library and command line tool used to personalize Summary: The YubiKey Personalization package contains a library and command line tool used to personalize
License: BSD License: BSD
URL: https://developers.yubico.com/yubikey-personalization/ URL: https://developers.yubico.com/yubikey-personalization/
Source0: https://developers.yubico.com/yubikey-personalization/%{name}-%{version}.tar.gz Source0: https://developers.yubico.com/yubikey-personalization/%{name}-%{version}.tar.gz
Patch0: ykpers-args-extern.patch Patch0: ykpers-args-extern.patch
BuildRequires: libusb-devel gcc libyubikey-devel systemd-udev BuildRequires: libusb-devel gcc libyubikey-devel systemd-udev chrpath
%description %description
The YubiKey Personalization package contains a library and command line tool used to personalize The YubiKey Personalization package contains a library and command line tool used to personalize
@ -31,6 +29,7 @@ The YubiKey Personalization package contains a library and command line tool use
%install %install
%make_install %make_install
rm -rf %{buildroot}/%{_libdir}/*.la rm -rf %{buildroot}/%{_libdir}/*.la
chrpath -d %{buildroot}%{_bindir}/*
%pre %pre
%preun %preun
@ -55,6 +54,9 @@ rm -rf %{buildroot}/%{_libdir}/*.la
%changelog %changelog
* Wed Sep 08 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.20.0-4
- Fix not striped and rpath problem
* Fri 30 Jul 2021 zhangtao <zhangtao221@huawei.com> - 1.20.0-3 * Fri 30 Jul 2021 zhangtao <zhangtao221@huawei.com> - 1.20.0-3
- fix gcc upgrade causes compilation failure - fix gcc upgrade causes compilation failure