Compare commits

..

No commits in common. "20a85db70e269582f507e9e3cd2938b54c2b4609" and "3f869e0a88acf9171c0233fea9a54db481179604" have entirely different histories.

View File

@ -3,7 +3,7 @@
%global _unpackaged_files_terminate_build 0
Name: deepin-graphics-driver-manager
Version: 5.0.0
Release: 6
Release: 1
Summary: deepin driver manager.
License: GPLv3
@ -12,7 +12,6 @@ Source0: %{name}-%{version}.orig.tar.xz
BuildRequires: cmake
BuildRequires: qt5-qtbase-devel
BuildRequires: dtkcore-devel
BuildRequires: dtkwidget-devel
BuildRequires: deepin-gettext-tools
BuildRequires: freeglut
@ -26,9 +25,6 @@ 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 .
@ -36,32 +32,19 @@ make
%install
%make_install
rm -rf %{?buildroot}/usr/lib/%{name}/debug/
mkdir -p %{?buildroot}%{_libdir}
mv %{?buildroot}/usr/lib/* %{?buildroot}%{_libdir}/
rm -rf %{?buildroot}%{_libdir}/%{name}/debug/
%files
/lib/systemd/system/driver-installer.service
%{_bindir}/%{name}
/usr/lib/*
%{_libdir}/*
%{_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