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:
parent
c15160746c
commit
a1749d04da
@ -53,11 +53,6 @@ make %{?_smp_mflags} V=1
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
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
|
%find_lang json-glib-1.0
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user