[json-glib] Drop an old gtk-doc hack

Kalev Lember kalev at fedoraproject.org
Sun Mar 15 19:57:43 UTC 2015


commit a1749d04da9e3c4dd9123f72dbecfdbdb7d7d84c
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Sun Mar 15 20:55:20 2015 +0100

    Drop an old gtk-doc hack
    
    No need to avoid using tarball-installed docs any more; the build IDs
    are stable these days.

 json-glib.spec | 5 -----
 1 file changed, 5 deletions(-)
---
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


More information about the scm-commits mailing list