summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-04-16 18:34:16 +0100
committerAnas Nashif <anas.nashif@intel.com>2013-06-19 06:07:33 -0400
commitfcfd8abd4e5f8cd41a0ee25d0fdd9cd4d8842242 (patch)
treea158db40dd687f5f30a5640f01662b5580cda8a5
parentbfaeac7d4fdca652e398568a747407338cc4f9af (diff)
downloaddbus-fcfd8abd4e5f8cd41a0ee25d0fdd9cd4d8842242.tar.gz
dbus-fcfd8abd4e5f8cd41a0ee25d0fdd9cd4d8842242.tar.bz2
dbus-fcfd8abd4e5f8cd41a0ee25d0fdd9cd4d8842242.zip
Adapt for rebase onto upstream dbus-1.6.8 git tag
When building from git we need a BuildRequires on xmlto, since we can no longer rely on the pre-generated HTML documentation from the tarball. That pulls in libxslt-tools, which means dbus.devhelp is generated, so the build fails because we weren't accounting for that; so explicitly require libxslt-tools too (dbus uses it both via xmlto, and directly), and package dbus.devhelp. Change-Id: I7505fc6fd1e7c4fc23a53f349a4fdd18d88237ec
-rw-r--r--packaging/dbus-x11.spec2
-rw-r--r--packaging/dbus.spec3
2 files changed, 5 insertions, 0 deletions
diff --git a/packaging/dbus-x11.spec b/packaging/dbus-x11.spec
index a91ac12a..3cba88d0 100644
--- a/packaging/dbus-x11.spec
+++ b/packaging/dbus-x11.spec
@@ -15,11 +15,13 @@ Summary: D-Bus Message Bus System
BuildRequires: doxygen
BuildRequires: expat-devel
BuildRequires: libtool
+BuildRequires: libxslt-tools
BuildRequires: libzio
BuildRequires: pkg-config
%if %{with_systemd}
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-login)
+BuildRequires: xmlto
%endif
Version: 1.6.8
Release: 0
diff --git a/packaging/dbus.spec b/packaging/dbus.spec
index 108e1e1f..73760ceb 100644
--- a/packaging/dbus.spec
+++ b/packaging/dbus.spec
@@ -14,8 +14,10 @@ Group: Base/IPC
BuildRequires: doxygen
BuildRequires: expat-devel
BuildRequires: libtool
+BuildRequires: libxslt-tools
BuildRequires: libzio
BuildRequires: pkg-config
+BuildRequires: xmlto
%if %{with_systemd}
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-login)
@@ -216,6 +218,7 @@ install -m0644 %{SOURCE6} %{buildroot}%{_unitdir_user}/dbus.socket
%doc %{_datadir}/doc/dbus/dbus-specification.html
%doc %{_datadir}/doc/dbus/dbus-test-plan.html
%doc %{_datadir}/doc/dbus/dbus-tutorial.html
+%doc %{_datadir}/doc/dbus/dbus.devhelp
%doc %{_datadir}/doc/dbus/diagram.*
%doc %{_datadir}/doc/dbus/system-activation.txt
%doc doc/*.txt doc/file-boilerplate.c doc/TODO