summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2012-08-17 14:20:50 +0200
committerMartin Kosek <mkosek@redhat.com>2012-08-17 14:24:15 +0200
commitaf4d5344284e81b3241b0e3284ab98d876644c83 (patch)
tree0c8880aee054fee5b0a010785779fbbf8db49288
parent489493e6903f23fbb174b87fa9604cff30ca6a79 (diff)
downloadfreeipa-af4d5344284e81b3241b0e3284ab98d876644c83.tar.gz
freeipa-af4d5344284e81b3241b0e3284ab98d876644c83.tar.xz
freeipa-af4d5344284e81b3241b0e3284ab98d876644c83.zip
Fix client-only build
Client-only build unconditionally touched some files from freeipa-server package and thus the installation crashed. Fix spec file to enable client-only builds like "make client-rpms".
-rw-r--r--freeipa.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in
index a7b9fa1b6..372e24dca 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -443,12 +443,12 @@ mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
install -pm 644 contrib/completion/ipa.bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/ipa
mkdir -p %{buildroot}%{_sysconfdir}/cron.d
install -pm 644 ipa-compliance.cron %{buildroot}%{_sysconfdir}/cron.d/ipa-compliance
-%endif
(cd %{buildroot}/%{python_sitelib}/ipaserver && find . -type f | \
grep -v dcerpc | grep -v adtrustinstance | \
sed -e 's,\.py.*$,.*,g' | sort -u | \
sed -e 's,\./,%%{python_sitelib}/ipaserver/,g' ) >server-python.list
+%endif
%clean
rm -rf %{buildroot}