Blame SOURCES/0001-Move-python-modules-to-architecture-specific-directo.patch

89e6ba
From 380ae714f641a73a30f86ae8f5a2e05ac063b37f Mon Sep 17 00:00:00 2001
89e6ba
From: leigh123linux <leigh123linux@googlemail.com>
89e6ba
Date: Tue, 23 Feb 2016 07:32:08 +0000
89e6ba
Subject: [PATCH] Move python modules to architecture-specific directory
89e6ba
89e6ba
This is because dbus-python gets dragged in as a dependency of other
89e6ba
things people want to be multilib-compatible.  As is the Python
89e6ba
modules conflict.
89e6ba
---
89e6ba
 Makefile.am | 9 +++++----
89e6ba
 1 file changed, 5 insertions(+), 4 deletions(-)
89e6ba
89e6ba
diff --git a/Makefile.am b/Makefile.am
89e6ba
index fd480d4..0859994 100644
89e6ba
--- a/Makefile.am
89e6ba
+++ b/Makefile.am
89e6ba
@@ -155,7 +155,8 @@ test_dbus_py_test_la_SOURCES = \
89e6ba
 
89e6ba
 # === dbus package ===
89e6ba
 
89e6ba
-nobase_python_PYTHON = \
89e6ba
+dbuspydir = $(pyexecdir)
89e6ba
+nobase_dbuspy_DATA = \
89e6ba
     dbus/bus.py \
89e6ba
     dbus/connection.py \
89e6ba
     dbus/_compat.py \
89e6ba
@@ -175,12 +176,12 @@ nobase_python_PYTHON = \
89e6ba
     dbus/types.py
89e6ba
 
89e6ba
 if !HAVE_PYTHON_3
89e6ba
-nobase_python_PYTHON += \
89e6ba
+nobase_dbuspy_DATA += \
89e6ba
     dbus/gobject_service.py \
89e6ba
     $(NULL)
89e6ba
 endif
89e6ba
 
89e6ba
-check_py_sources = $(nobase_python_PYTHON)
89e6ba
+check_py_sources = $(nobase_dbuspy_DATA)
89e6ba
 include $(top_srcdir)/tools/check-coding-style.mk
89e6ba
 
89e6ba
 # === Devel stuff ===
89e6ba
@@ -416,7 +417,7 @@ uninstall-local: uninstall-local-sphinx
89e6ba
 if ENABLE_DOCUMENTATION
89e6ba
 all: doc/_build/.stamp
89e6ba
 
89e6ba
-doc/_build/.stamp: $(nobase_python_PYTHON) \
89e6ba
+doc/_build/.stamp: $(nobase_dbuspy_DATA) \
89e6ba
 			_dbus_bindings.la \
89e6ba
 			_dbus_glib_bindings.la \
89e6ba
 			$(sphinx_sources) \
89e6ba
-- 
89e6ba
2.17.0