Hi Jerry,
>
>
>
>
>
>
> rpm spec file
> attachment
> (libgc.spec)
> %install
> make install DESTDIR=$RPM_BUILD_ROOT
> find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
> find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
> %if %{!?_without_gtk_doc:0}%{?_without_gtk_doc:1}
> rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
> %endif
There is no need to do this. The purpose of the --without-gtk-doc
option is to bypass regenerating the docs, as it tends to be
CPU intensive and takes long. Some packages include pregenerated
html docs and they install them even if you use the --disable-gtk-doc
option. In this case there is no need to delete them. We do like
API docs (:
>
>
>
>
>
> rpm spec file
> attachment
> (SUNWlibgc.spec)
>
> %files devel
> %defattr (-, root, bin)
> %dir %attr (0755, root, bin) %{_libdir}
> %dir %attr (0755, root, other) %{_libdir}/pkgconfig
> %{_libdir}/pkgconfig/*
> %dir %attr (0755, root, bin) %{_includedir}
> %{_includedir}/*
> %dir %attr (0755, root, sys) %{_datadir}
> %{_datadir}/gc
Hmm... looking at this file list, it doesn't look like this
package has gtk docs at all. In which case can you clean up
libgc.spec please.
Thanks,
Laca