Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
4ff495c397
!25 sync by openEuler-22.03-LTS-SP3
From: @Venland 
Reviewed-by: @xzyangha 
Signed-off-by: @xzyangha
2024-06-19 06:45:26 +00:00
liweigang
7365b373ab fix url error
Signed-off-by: liweigang <liweiganga@uniontech.com>
2024-06-18 16:30:08 +08:00
openeuler-ci-bot
8c58370d38
!19 [sync] PR-18: 【轻量级 PR】:feat: fix fPIE
From: @openeuler-sync-bot 
Reviewed-by: @HelloWorld_lvcongqing 
Signed-off-by: @HelloWorld_lvcongqing
2023-04-03 03:37:15 +00:00
leeffo
a674766145 feat: fix fPIE
Signed-off-by: leeffo <liweiganga@uniontech.com>
(cherry picked from commit eb6d23a58bc4a19eb7ad5809f004ec5c3ce49c37)
2023-04-03 11:24:25 +08:00
openeuler-ci-bot
ffc9029abc
!15 [sync] PR-12: fix strip
From: @openeuler-sync-bot 
Reviewed-by: @HelloWorld_lvcongqing 
Signed-off-by: @HelloWorld_lvcongqing
2023-03-16 09:13:49 +00:00
liweiganga
bcf0f69c73 feat: fix strip
(cherry picked from commit 087f528ba97dd0e999824f842afb2b927e7e0e51)
2023-03-16 16:28:14 +08:00
openeuler-ci-bot
8881d044ea
!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
2023-03-16 08:27:38 +00:00
blublue
1de9ce0092 Modify the installation path from /usr/lib64 to /usr/lib
Signed-off-by: blublue <guoqinglan@uniontech.com>
(cherry picked from commit e814a61993c43fa874d06645b1e87ef035828392)
2023-03-16 15:20:48 +08:00
openeuler-ci-bot
51efc005c2
!6 [sync] PR-5: enable debuginfo for fix strip
From: @openeuler-sync-bot 
Reviewed-by: @panchenbo 
Signed-off-by: @panchenbo
2022-12-28 02:37:59 +00:00
liweiganga
628abc8645 enable debuginfo for fix strip
(cherry picked from commit 9d0d4e5474745a85319494d9b00a49de633c011d)
2022-12-22 09:32:30 +08:00

View File

@ -3,11 +3,11 @@
%global _unpackaged_files_terminate_build 0
Name: deepin-graphics-driver-manager
Version: 5.0.0
Release: 2
Release: 7
Summary: deepin driver manager.
License: GPLv3
URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-graphics-driver-manager/
URL: https://github.com/linuxdeepin/deepin-graphics-driver-manager
Source0: %{name}-%{version}.orig.tar.xz
BuildRequires: cmake
@ -26,6 +26,9 @@ deepin driver manager.
%prep
%setup
# fix strip
sed -i 's|-Wall"|-Wall -s -fPIE"|' CMakeLists.txt
%build
export PATH=$PATH:/usr/lib64/qt5/bin
cmake .
@ -33,21 +36,34 @@ 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
* Fri Aug 28 2020 chenbo pan <panchenbo@uniontech.com> - 5.0.10-2
* Mon Mar 25 2024 liuzhilin <liuzhilin@uniontech.com> - 5.0.0-7
- fix url error
* Mon Apr 03 2023 liweiganga <liweiganga@uniontech.com> - 5.0.0-6
- feat: fix fPIE
* Thu Mar 16 2023 liweiganga <liweiganga@uniontech.com> - 5.0.0-5
- feat: fix strip
* 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
* Fri Aug 28 2020 chenbo pan <panchenbo@uniontech.com> - 5.0.0-2
- fix compile fail
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.0.0-1