Modify the installation path from /usr/lib64 to /usr/lib

Signed-off-by: blublue <guoqinglan@uniontech.com>
(cherry picked from commit e814a61993c43fa874d06645b1e87ef035828392)
This commit is contained in:
blublue 2023-03-13 02:01:56 +00:00 committed by openeuler-sync-bot
parent 33e33e4000
commit 67242a2f1f

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