From b76fa59c30a424374b51f7d40639e484c6fb27c1 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Wed, 19 Feb 2014 08:57:28 +0700 Subject: [PATCH] Fix for doc files being copied by install script; the directory used is not the same as the one RPM expects on Fedora < 20 --- 0install.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/0install.spec b/0install.spec index 8e05920..7603b11 100644 --- a/0install.spec +++ b/0install.spec @@ -96,6 +96,11 @@ make install_system DESTDIR=$RPM_BUILD_ROOT # fix permission of shared objects chmod +x $RPM_BUILD_ROOT%{_libdir}/0install.net/gui_gtk.cmxs +# Fedora < 20: adjust docdir to still include version +%if 0%{?fedora} < 20 +mv $RPM_BUILD_ROOT%{_docdir}/%{name} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} +%endif + mkdir -p "$RPM_BUILD_ROOT%{cache_dir}/implementations" desktop-file-validate \