fix compile fail
(cherry picked from commit 2231db631cfd43dbc35ac1aeaa419539e471fddf)
This commit is contained in:
parent
8cd3bd129f
commit
f1f840de24
@ -1,6 +1,6 @@
|
||||
Name: deepin-clone
|
||||
Version: 5.0.11
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Disk and partition backup/restore tool
|
||||
License: GPLv3
|
||||
URL: https://github.com/linuxdeepin/deepin-clone
|
||||
@ -16,7 +16,6 @@ BuildRequires: dtkwidget-devel
|
||||
BuildRequires: dtkcore-devel
|
||||
BuildRequires: dtkgui-devel
|
||||
BuildRequires: deepin-gettext-tools
|
||||
BuildRequires: dde-file-manager-devel
|
||||
|
||||
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
||||
Requires: hicolor-icon-theme
|
||||
@ -39,7 +38,9 @@ sed -i 's|Version=0.1|Version=%{version}|' app/%{name}.desktop
|
||||
export PATH=%{_qt5_bindir}:$PATH
|
||||
export CFLAGS="%{optflags} -Wno-error=format-security"
|
||||
export CXXFLAGS="%{optflags} -Wno-error=format-security"
|
||||
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} .
|
||||
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DDISABLE_DFM_PLUGIN=YES \
|
||||
.
|
||||
%make_build
|
||||
|
||||
%install
|
||||
@ -56,9 +57,12 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
|
||||
%{_datadir}/icons/hicolor/scalable/mimetypes/*.svg
|
||||
%{_datadir}/mime/packages/%{name}.xml
|
||||
%{_datadir}/polkit-1/actions//com.deepin.pkexec.%{name}.policy
|
||||
%{_libdir}/dde-file-manager/plugins/controllers/libdfm-plugin-dim-file.so
|
||||
#%{_libdir}/dde-file-manager/plugins/controllers/libdfm-plugin-dim-file.so
|
||||
|
||||
%changelog
|
||||
* Tue Aug 22 2023 leeffo <liweiganga@uniontech.com> - 5.0.11-2
|
||||
- fix compile error
|
||||
|
||||
* Thu Jun 01 2023 leeffo <liweiganga@uniontech.com> - 5.0.11-1
|
||||
- update to 5.0.11
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user