Compare commits

...

12 Commits

Author SHA1 Message Date
openeuler-ci-bot
20a85db70e
!18 【轻量级 PR】:feat: fix fPIE
From: @leeffo 
Reviewed-by: @HelloWorld_lvcongqing 
Signed-off-by: @HelloWorld_lvcongqing
2023-04-03 03:24:20 +00:00
leeffo
eb6d23a58b
feat: fix fPIE
Signed-off-by: leeffo <liweiganga@uniontech.com>
2023-04-03 03:11:53 +00:00
openeuler-ci-bot
0737ad2064
!12 fix strip
From: @leeffo 
Reviewed-by: @HelloWorld_lvcongqing 
Signed-off-by: @HelloWorld_lvcongqing
2023-03-16 08:28:10 +00:00
liweiganga
087f528ba9 feat: fix strip 2023-03-16 15:31:49 +08:00
openeuler-ci-bot
d6c37ac7c6
!11 [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-13 02:41:41 +00:00
blublue
67242a2f1f Modify the installation path from /usr/lib64 to /usr/lib
Signed-off-by: blublue <guoqinglan@uniontech.com>
(cherry picked from commit e814a61993c43fa874d06645b1e87ef035828392)
2023-03-13 10:22:36 +08:00
openeuler-ci-bot
33e33e4000
!7 [sync] PR-5: enable debuginfo for fix strip
From: @openeuler-sync-bot 
Reviewed-by: @panchenbo 
Signed-off-by: @panchenbo
2022-12-28 02:37:41 +00:00
liweiganga
624e0aad9f enable debuginfo for fix strip
(cherry picked from commit 9d0d4e5474745a85319494d9b00a49de633c011d)
2022-12-22 09:32:37 +08:00
openeuler-ci-bot
5f78bf0407 !3 fix compile error
Merge pull request !3 from panchenbo/master
2020-08-28 11:01:42 +08:00
panchenbo
b9560f7342 fix compile fail 2020-08-28 10:43:27 +08:00
openeuler-ci-bot
41cf72e79d !2 add yaml and fix spec
Merge pull request !2 from panchenbo/master
2020-07-30 17:14:02 +08:00
openeuler-ci-bot
76971ac135 !1 package init
Merge pull request !1 from panchenbo/master
2020-07-15 09:42:52 +08:00

View File

@ -3,7 +3,7 @@
%global _unpackaged_files_terminate_build 0
Name: deepin-graphics-driver-manager
Version: 5.0.0
Release: 1
Release: 6
Summary: deepin driver manager.
License: GPLv3
@ -12,6 +12,7 @@ Source0: %{name}-%{version}.orig.tar.xz
BuildRequires: cmake
BuildRequires: qt5-qtbase-devel
BuildRequires: dtkcore-devel
BuildRequires: dtkwidget-devel
BuildRequires: deepin-gettext-tools
BuildRequires: freeglut
@ -25,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 .
@ -32,19 +36,32 @@ 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 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
- Package init