Hi,

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.


--
Patrick


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

Reply via email to