Patrick:
> I reworked the patch I applied yesterday for the same reason as my
> other patch. I tested with two different build parametes
> without-gtk-doc vs with-gtk-doc.
Normally we try to ship modules with gtk-docs as default. The idea
being that OpenSolaris should encourage people to get involved with
developer activities.
Normally the --without-gtk-doc option controlls whether we build
gtk-doc files or not.
Brian
> This is the patch:
>
> --- base-specs/gmime.spec (revision 12894)
> +++ base-specs/gmime.spec (working copy)
> @@ -84,7 +84,7 @@
> 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
> +rm -rf $RPM_BUILD_ROOT%{_datadir}
> %endif
>
> %clean
> @@ -98,7 +98,7 @@
> %doc AUTHORS ChangeLog README TODO
> %attr(755,root,root) %{_libdir}/libgmime-2.0.so.*.*.*
> %attr(755,root,root) %ghost %{_libdir}/libgmime-2.0.so.2
> -%attr(755,root,bin) %{_datadir}
> +
> %files devel
> %defattr(-,root,root)
> %doc PORTING