[webkitgtk4/f21] Fix non-Fedora build

Richard Hughes rhughes at fedoraproject.org
Tue Nov 4 16:39:34 UTC 2014


commit af857da8fc9986e3df58b0380f1fd7e16517dc7b
Author: Richard Hughes <richard at hughsie.com>
Date:   Wed Oct 29 17:07:42 2014 +0000

    Fix non-Fedora build

 webkitgtk4.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/webkitgtk4.spec b/webkitgtk4.spec
index e7e71a1..1920ce8 100644
--- a/webkitgtk4.spec
+++ b/webkitgtk4.spec
@@ -1,3 +1,6 @@
+# Fix rebuild on non-Fedora
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
 ## NOTE: Lots of files in various subdirectories have the same name (such as
 ## "LICENSE") so this short macro allows us to distinguish them by using their
 ## directory names (from the source tree) as prefixes for the files.
@@ -7,7 +10,7 @@
 
 Name:           webkitgtk4
 Version:        2.6.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        GTK+ Web content engine library
 
 License:        LGPLv2
@@ -163,6 +166,9 @@ make %{?_smp_mflags} -C %{_target_platform}
 %{_datadir}/gir-1.0/WebKit2WebExtension-4.0.gir
 
 %changelog
+* Tue Nov 04 2014 Richard Hughes <richard at hughsie.com> - 2.6.2-4
+- Fix non-Fedora build
+
 * Fri Oct 31 2014 Michael Catanzaro <mcatanzaro at gnome.org> - 2.6.2-3
 - Obsolete libwebkit2gtk < 2.5.0 to be future-proof
 


More information about the scm-commits mailing list