diff options
author | Jan Cholasta <jcholast@redhat.com> | 2014-09-17 11:49:51 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-09-23 20:28:47 +0200 |
commit | 9fa8cff6da6b6b85aa5b03028386f159fc816124 (patch) | |
tree | 37311fe0ad5816b8c0321da02b144173eb689ee4 | |
parent | 0e2dc70d8ec4d96914190a38dac9a240605cab1d (diff) | |
download | freeipa-9fa8cff6da6b6b85aa5b03028386f159fc816124.tar.gz freeipa-9fa8cff6da6b6b85aa5b03028386f159fc816124.tar.xz freeipa-9fa8cff6da6b6b85aa5b03028386f159fc816124.zip |
Include ipaplatform in client-only build
https://fedorahosted.org/freeipa/ticket/4533
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | freeipa.spec.in | 3 | ||||
-rwxr-xr-x | setup.py | 3 |
3 files changed, 9 insertions, 3 deletions
@@ -71,6 +71,7 @@ client: client-autogen @for subdir in $(CLIENTDIRS); do \ (cd $$subdir && $(MAKE) all) || exit 1; \ done + cd ipaplatform && $(PYTHON) setup.py build bootstrap-autogen: version-update client-autogen @echo "Building IPA $(IPA_VERSION)" @@ -96,8 +97,10 @@ client-install: client client-dirs cd install/po && $(MAKE) install || exit 1; if [ "$(DESTDIR)" = "" ]; then \ $(PYTHON) setup-client.py install; \ + (cd ipaplatform && $(PYTHON) setup.py install); \ else \ $(PYTHON) setup-client.py install --root $(DESTDIR); \ + (cd ipaplatform && $(PYTHON) setup.py install --root $(DESTDIR)); \ fi client-dirs: @@ -164,12 +167,15 @@ version-update: release-update server: version-update $(PYTHON) setup.py build + cd ipaplatform && $(PYTHON) setup.py build server-install: server if [ "$(DESTDIR)" = "" ]; then \ $(PYTHON) setup.py install; \ + (cd ipaplatform && $(PYTHON) setup.py install); \ else \ $(PYTHON) setup.py install --root $(DESTDIR); \ + (cd ipaplatform && $(PYTHON) setup.py install --root $(DESTDIR)); \ fi tests: version-update tests-man-autogen diff --git a/freeipa.spec.in b/freeipa.spec.in index 967a51bb4..4bafc7067 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -343,6 +343,8 @@ make client-install DESTDIR=%{buildroot} %find_lang %{gettext_domain} +mkdir -p %{buildroot}%{_usr}/share/ipa + %if ! %{ONLY_CLIENT} # Remove .la files from libtool - we don't want to package # these files @@ -795,6 +797,7 @@ fi %attr(0644,root,root) %{python_sitearch}/default_encoding_utf8.so %{python_sitelib}/ipapython-*.egg-info %{python_sitelib}/freeipa-*.egg-info +%{python_sitelib}/ipaplatform-*.egg-info %{python_sitearch}/python_default_encoding-*.egg-info %dir %attr(0755,root,root) %{_sysconfdir}/ipa/ %ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/default.conf @@ -78,9 +78,6 @@ setup( packages=[ 'ipalib', 'ipalib.plugins', - 'ipaplatform', - 'ipaplatform.base', - 'ipaplatform.fedora', 'ipaserver', 'ipaserver.advise', 'ipaserver.advise.plugins', |