[webkitgtk] Install developer docs in -doc and mark it as noarch (#808917)

Kalev Lember kalev at fedoraproject.org
Mon Apr 9 15:19:10 UTC 2012


commit 86e24103c3a1e17ca04404609d25ae5b6920f703
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Mon Apr 9 14:09:43 2012 +0300

    Install developer docs in -doc and mark it as noarch (#808917)
    
    Also, move the license files to the main package as required by the
    Fedora Licensing Guidelines.

 webkitgtk.spec |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/webkitgtk.spec b/webkitgtk.spec
index 8db4d83..8ec9c0c 100644
--- a/webkitgtk.spec
+++ b/webkitgtk.spec
@@ -23,7 +23,7 @@
 
 Name:		webkitgtk
 Version:	1.8.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	GTK+ Web content engine library
 
 Provides:	WebKit-gtk = %{version}-%{release}
@@ -90,12 +90,13 @@ files for developing applications that use %{name}.
 %package	doc
 Summary:	Documentation for %{name}
 Group:		Documentation
+BuildArch:	noarch
+Requires:	%{name} = %{version}-%{release}
 Provides:	WebKit-doc = %{version}-%{release}
 Obsoletes:	WebKit-doc < %{version}-%{release}
 
 %description	doc
-This package contains the documentation for %{name}, including various
-LICENSE, README, and AUTHORS files.
+This package contains developer documentation for %{name}.
 
 
 %prep
@@ -166,6 +167,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
 
 %files -f webkit-2.0.lang
 %defattr(-,root,root,-)
+%doc %{_docdir}/%{name}-%{version}/
 %exclude %{_libdir}/*.la
 %{_libdir}/libwebkitgtk-1.0.so.*
 %{_libdir}/libjavascriptcoregtk-1.0.so.*
@@ -185,13 +187,18 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
 %{_libdir}/pkgconfig/javascriptcoregtk-1.0.pc
 %{_datadir}/gir-1.0/WebKit-1.0.gir
 %{_datadir}/gir-1.0/JSCore-1.0.gir
-%{_datadir}/gtk-doc/html/webkitgtk
 
 %files	doc
 %defattr(-,root,root,-)
-%{_docdir}/%{name}-%{version}/
+%dir %{_datadir}/gtk-doc
+%dir %{_datadir}/gtk-doc/html
+%{_datadir}/gtk-doc/html/webkitgtk
 
 %changelog
+* Mon Apr 09 2012 Kalev Lember <kalevlember at gmail.com> - 1.8.0-2
+- Install developer docs in -doc and mark it as noarch (#808917)
+- Move the license files to the main package
+
 * Tue Mar 27 2012 Kevin Fenzi <kevin at scrye.com> - 1.8.0-1
 - Update to 1.8.0
 


More information about the scm-commits mailing list