From 7a3afdddb897e0ce2b2e2a46551448451100aeb6 Mon Sep 17 00:00:00 2001 From: Andrew Toskin Date: Jul 15 2020 17:57:45 +0000 Subject: make option DESTDIR is already defined in %make_install macro --- diff --git a/bleachbit.spec b/bleachbit.spec index ae6d653..0c49943 100644 --- a/bleachbit.spec +++ b/bleachbit.spec @@ -71,8 +71,8 @@ make delete_windows_files %install -%make_install PYTHON=%{__python3} DESTDIR=%{buildroot} prefix=%{_prefix} INSTALL="%{_bindir}/install -Dp" -%make_install --directory ./po/ PYTHON=%{__python3} DESTDIR=%{buildroot} prefix=%{_prefix} INSTALL="%{_bindir}/install -Dp" +%make_install PYTHON=%{__python3} prefix=%{_prefix} INSTALL="%{_bindir}/install -Dp" +%make_install --directory ./po/ PYTHON=%{__python3} prefix=%{_prefix} INSTALL="%{_bindir}/install -Dp" desktop-file-install --dir=%{buildroot}/%{_datadir}/applications/ org.bleachbit.BleachBit.desktop install -Dp org.bleachbit.BleachBit.metainfo.xml %{buildroot}/%{_metainfodir}/