Federico Simoncelli has uploaded a new change for review.

Change subject: build: use pythondir for yajsonrpc
......................................................................

build: use pythondir for yajsonrpc

Change-Id: I7c98abc9f52f948d4807d4ee6eda6efba6c42bcd
Signed-off-by: Federico Simoncelli <[email protected]>
---
M configure.ac
M lib/yajsonrpc/Makefile.am
M vdsm.spec.in
3 files changed, 6 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/31/17131/1

diff --git a/configure.ac b/configure.ac
index c911718..0ccca95 100644
--- a/configure.ac
+++ b/configure.ac
@@ -88,7 +88,6 @@
 AC_SUBST([vdsmtooldir], ['${vdsmpylibdir}/tool'])
 AC_SUBST([vdsmtestsdir], ['${datarootdir}/vdsm/tests'])
 AC_SUBST([vdsmapidir], ['${datarootdir}/vdsm_api'])
-AC_SUBST([yajsonrpcdir], ['${pyexecdir}/yajsonrpc'])
 
 # VDSM registration default paths
 AC_SUBST([vdsmregdir], ['${datarootdir}/vdsm-reg'])
diff --git a/lib/yajsonrpc/Makefile.am b/lib/yajsonrpc/Makefile.am
index e43eace..8467477 100644
--- a/lib/yajsonrpc/Makefile.am
+++ b/lib/yajsonrpc/Makefile.am
@@ -18,6 +18,8 @@
 # Refer to the README and COPYING files for full details of the license
 #
 
+yajsonrpcdir = $(pythondir)/yajsonrpc
+
 dist_yajsonrpc_PYTHON = \
        __init__.py \
        asyncoreReactor.py \
diff --git a/vdsm.spec.in b/vdsm.spec.in
index 49723b1..9b02677 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -1215,10 +1215,10 @@
 %{_datadir}/%{vdsm_name}/Bridge.py*
 
 %files yajsonrpc
-%{python_sitearch}/yajsonrpc/__init__.py*
-%{python_sitearch}/yajsonrpc/asyncoreReactor.py*
-%{python_sitearch}/yajsonrpc/protonReactor.py*
-%{python_sitearch}/yajsonrpc/client.py*
+%{python_sitelib}/yajsonrpc/__init__.py*
+%{python_sitelib}/yajsonrpc/asyncoreReactor.py*
+%{python_sitelib}/yajsonrpc/protonReactor.py*
+%{python_sitelib}/yajsonrpc/client.py*
 
 %files bootstrap
 %defattr(-, root, root, -)


-- 
To view, visit http://gerrit.ovirt.org/17131
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c98abc9f52f948d4807d4ee6eda6efba6c42bcd
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to