Drop an old gtk-doc hack

No need to avoid using tarball-installed docs any more; the build IDs
are stable these days.
This commit is contained in:
Kalev Lember 2015-03-15 20:55:20 +01:00
parent c15160746c
commit a1749d04da

View File

@ -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