!5 Fix not striped and rpath problem
From: @si-gui Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
736985e4f0
10
ykpers.spec
10
ykpers.spec
@ -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,6 +54,9 @@ 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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user