From a1749d04da9e3c4dd9123f72dbecfdbdb7d7d84c Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mar 15 2015 19:55:20 +0000 Subject: Drop an old gtk-doc hack No need to avoid using tarball-installed docs any more; the build IDs are stable these days. --- diff --git a/json-glib.spec b/json-glib.spec index d0dc7d6..334ffb6 100644 --- a/json-glib.spec +++ b/json-glib.spec @@ -53,11 +53,6 @@ make %{?_smp_mflags} V=1 make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' -# Copy the files from the tarball to avoid the IDs generated by gtk-doc being -# different on different builds -mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/ -cp -a doc/reference/html/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/ - %find_lang json-glib-1.0 %post -p /sbin/ldconfig