!14 [sync] PR-11: Fix unsafe compilation options STRIP, RPATH
From: @openeuler-sync-bot Reviewed-by: @hua_yadong Signed-off-by: @hua_yadong
This commit is contained in:
commit
c3b1207a0b
@ -1,6 +1,6 @@
|
||||
Name: biometric-authentication
|
||||
Version: 0.9.72
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: biometric-authentication
|
||||
License: LGPL-3.0
|
||||
URL: http://www.ukui.org
|
||||
@ -25,6 +25,7 @@ BuildRequires: sqlite-devel
|
||||
BuildRequires: libfprint-devel
|
||||
BuildRequires: polkit-devel
|
||||
BuildRequires: uuid-devel
|
||||
BuildRequires: chrpath
|
||||
|
||||
Requires: systemd
|
||||
Requires: python-prettytable
|
||||
@ -108,6 +109,29 @@ make -j4
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=%{buildroot}
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/aes1610.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/aes1660.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/aes2501.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/aes2550.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/aes2660.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/aes3500.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/aes4000.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/elan.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/etes603.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/fdu2000.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/upeksonly.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/upektc.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/upektc_img.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/upekts.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/uru4000.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/vcom5s.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/vfs0050.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/vfs101.so
|
||||
chrpath -d %{buildroot}/usr/lib/biometric-authentication/drivers/vfs301.so
|
||||
chrpath -d %{buildroot}/usr/lib/%{platform}-linux-gnu/libbiometric.so
|
||||
chrpath -d %{buildroot}/usr/lib/%{platform}-linux-gnu/libbiometric.so.0
|
||||
chrpath -d %{buildroot}/usr/lib/%{platform}-linux-gnu/libbiometric.so.0.0.0
|
||||
chrpath -d %{buildroot}/usr/bin/biometric-config-tool
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -163,6 +187,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Dec 15 2022 huayadong <huayadong@kylinos.cn> - 0.9.72-5
|
||||
- Fix unsafe compilation options STRIP, RPATH
|
||||
|
||||
* Thu Dec 08 2022 fushanqing <fushanqing@kylinos.cn> - 0.9.72-4
|
||||
- Enable debuginfo for fix strip
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user