!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
Version: 1.20.0
Release: 3
Release: 4
Summary: The YubiKey Personalization package contains a library and command line tool used to personalize
License: BSD
URL: https://developers.yubico.com/yubikey-personalization/
Source0: https://developers.yubico.com/yubikey-personalization/%{name}-%{version}.tar.gz
Patch0: ykpers-args-extern.patch
BuildRequires: libusb-devel gcc libyubikey-devel systemd-udev
BuildRequires: libusb-devel gcc libyubikey-devel systemd-udev chrpath
%description
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
%make_install
rm -rf %{buildroot}/%{_libdir}/*.la
chrpath -d %{buildroot}%{_bindir}/*
%pre
%preun
@ -55,8 +54,11 @@ rm -rf %{buildroot}/%{_libdir}/*.la
%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
-fix gcc upgrade causes compilation failure
- fix gcc upgrade causes compilation failure
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 1.20.0-2
- Completing build dependencies to define %{_udevrulesdir} macros