Hi,

the attached patch fixes <https://fedorahosted.org/freeipa/ticket/5889>.

Honza

--
Jan Cholasta
From 47ab6ccda11061c39ac5b29409c9237b78630f59 Mon Sep 17 00:00:00 2001
From: Jan Cholasta <jchol...@redhat.com>
Date: Fri, 13 May 2016 08:40:53 +0200
Subject: [PATCH] build: fix client-only build

https://fedorahosted.org/freeipa/ticket/5889
---
 Makefile              | 2 +-
 freeipa.spec.in       | 2 +-
 ipaclient/setup.py.in | 2 ++
 setup.py              | 2 --
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 9cc4d40..c3c5a4e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
 include VERSION
 
 SUBDIRS=asn1 daemons install ipapython ipalib
-CLIENTDIRS=ipapython client asn1
+CLIENTDIRS=ipapython ipalib client asn1
 CLIENTPYDIRS=ipaclient ipaplatform
 
 PRJ_PREFIX=freeipa
diff --git a/freeipa.spec.in b/freeipa.spec.in
index 21426d2..9993c20 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -1127,6 +1127,7 @@ fi
 %defattr(-,root,root,-)
 %doc README Contributors.txt
 %license COPYING
+%{python_sitelib}/freeipa-*.egg-info
 %dir %{python_sitelib}/ipaserver
 %dir %{python_sitelib}/ipaserver/install
 %dir %{python_sitelib}/ipaserver/install/plugins
@@ -1365,7 +1366,6 @@ fi
 %{python_sitelib}/ipaplatform/*
 %{python_sitelib}/ipapython-*.egg-info
 %{python_sitelib}/ipalib-*.egg-info
-%{python_sitelib}/freeipa-*.egg-info
 %{python_sitelib}/ipaplatform-*.egg-info
 
 
diff --git a/ipaclient/setup.py.in b/ipaclient/setup.py.in
index af41aea..47c9b84 100644
--- a/ipaclient/setup.py.in
+++ b/ipaclient/setup.py.in
@@ -61,6 +61,8 @@ def setup_package():
             package_dir = {'ipaclient': ''},
             packages = ["ipaclient",
                        ],
+            scripts=['../ipa'],
+            data_files = [('share/man/man1', ["../ipa.1"])],
         )
     finally:
         del sys.path[0]
diff --git a/setup.py b/setup.py
index 006f34e..960a8f2 100755
--- a/setup.py
+++ b/setup.py
@@ -83,6 +83,4 @@ setup(
         'ipaserver.install.plugins',
         'ipaserver.install.server',
     ],
-    scripts=['ipa'],
-    data_files = [('share/man/man1', ["ipa.1"])],
 )
-- 
2.5.5

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to