!13 [sync] PR-10: Modify the installation path from /usr/lib64 to /usr/lib

From: @openeuler-sync-bot 
Reviewed-by: @HelloWorld_lvcongqing 
Signed-off-by: @HelloWorld_lvcongqing
This commit is contained in:
openeuler-ci-bot 2023-03-16 08:27:38 +00:00 committed by Gitee
commit 8881d044ea
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
%global _unpackaged_files_terminate_build 0
Name: deepin-graphics-driver-manager
Version: 5.0.0
Release: 3
Release: 4
Summary: deepin driver manager.
License: GPLv3
@ -33,20 +33,21 @@ make
%install
%make_install
mkdir -p %{?buildroot}%{_libdir}
mv %{?buildroot}/usr/lib/* %{?buildroot}%{_libdir}/
rm -rf %{?buildroot}%{_libdir}/%{name}/debug/
rm -rf %{?buildroot}/usr/lib/%{name}/debug/
%files
/lib/systemd/system/driver-installer.service
%{_bindir}/%{name}
%{_libdir}/*
/usr/lib/*
%{_datadir}/*
%doc README.md
%changelog
* Mon Mar 13 2023 guoqinglan <guoqinglan@uniontech.com> - 5.0.0-4
- Modify the installation path from `/usr/lib64` to `/usr/lib` ,cause the program hardcodes `/usr/lib` as the path for calling scripts.
* Wed Dec 21 2022 liweiganga <liweiganga@uniontech.com> - 5.0.0-3
- enable debuginfo for fix strip