From: Jan Palus Date: Thu, 14 Dec 2023 00:01:20 +0000 (+0100) Subject: explicitly pass installation directories X-Git-Tag: auto/th/feh-3.10.2-1~4 X-Git-Url: https://git.pld-linux.org/?p=packages%2Ffeh.git;a=commitdiff_plain;h=9b7ff3e9ef627c68e611b211b9534dcbc1f67107 explicitly pass installation directories --- diff --git a/feh.spec b/feh.spec index 00632e3..7d34390 100644 --- a/feh.spec +++ b/feh.spec @@ -104,7 +104,11 @@ install -d $RPM_BUILD_ROOT{%{bash_compdir},%{zsh_compdir}} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ - PREFIX=%{_prefix} + PREFIX="%{_prefix}" \ + bin_dir="$RPM_BUILD_ROOT%{_bindir}" \ + man_dir="$RPM_BUILD_ROOT%{_mandir}" \ + desktop_dir="$RPM_BUILD_ROOT%{_desktopdir}" \ + icon_dir="$RPM_BUILD_ROOT%{_iconsdir}/hicolor" cp -p %{SOURCE1} $RPM_BUILD_ROOT%{bash_compdir}/%{name} cp -p %{SOURCE2} $RPM_BUILD_ROOT%{zsh_compdir}/_%{name}