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:
parent
51efc005c2
commit
1de9ce0092
@ -3,7 +3,7 @@
|
|||||||
%global _unpackaged_files_terminate_build 0
|
%global _unpackaged_files_terminate_build 0
|
||||||
Name: deepin-graphics-driver-manager
|
Name: deepin-graphics-driver-manager
|
||||||
Version: 5.0.0
|
Version: 5.0.0
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: deepin driver manager.
|
Summary: deepin driver manager.
|
||||||
|
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
@ -33,20 +33,21 @@ make
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
mkdir -p %{?buildroot}%{_libdir}
|
rm -rf %{?buildroot}/usr/lib/%{name}/debug/
|
||||||
mv %{?buildroot}/usr/lib/* %{?buildroot}%{_libdir}/
|
|
||||||
rm -rf %{?buildroot}%{_libdir}/%{name}/debug/
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
/lib/systemd/system/driver-installer.service
|
/lib/systemd/system/driver-installer.service
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_libdir}/*
|
/usr/lib/*
|
||||||
%{_datadir}/*
|
%{_datadir}/*
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Dec 21 2022 liweiganga <liweiganga@uniontech.com> - 5.0.0-3
|
||||||
- enable debuginfo for fix strip
|
- enable debuginfo for fix strip
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user