summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2017-03-14 19:55:38 +0100
committerJan Cholasta <jcholast@redhat.com>2017-03-15 07:44:35 +0000
commit7ef4e9eb810063243fcc575434d856c854b14eee (patch)
treeb3b87f3b31bb64cd8dfe8af115124d3d39b73880
parenta30d31b0c6122b44e1b4e84451e4196c3d0d7fe7 (diff)
downloadfreeipa-7ef4e9eb810063243fcc575434d856c854b14eee.tar.gz
freeipa-7ef4e9eb810063243fcc575434d856c854b14eee.tar.xz
freeipa-7ef4e9eb810063243fcc575434d856c854b14eee.zip
spec file: add unconditional python-setuptools BuildRequires
python-setuptools is required not only for lint, but to make the build possible at all. Move the python-setuptools BuildRequires from the lint section to the main section. Reviewed-By: Christian Heimes <cheimes@redhat.com>
-rw-r--r--freeipa.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in
index bbce24687..ad355348d 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -79,8 +79,10 @@ BuildRequires: libtool
BuildRequires: gettext
BuildRequires: gettext-devel
BuildRequires: python-devel
+BuildRequires: python-setuptools
%if 0%{?with_python3}
BuildRequires: python3-devel
+BuildRequires: python3-setuptools
%endif # with_python3
# %{_unitdir}, %{_tmpfilesdir}
BuildRequires: systemd
@@ -143,7 +145,6 @@ BuildRequires: python3-wheel
#
%if 0%{?with_lint}
BuildRequires: samba-python
-BuildRequires: python-setuptools
# 1.4: the version where Certificate.serial changed to .serial_number
BuildRequires: python-cryptography >= 1.4
BuildRequires: python-gssapi >= 1.2.0
@@ -179,7 +180,6 @@ BuildRequires: python2-jinja2
%if 0%{?with_python3}
# FIXME: this depedency is missing - server will not work
#BuildRequires: python3-samba
-BuildRequires: python3-setuptools
# 1.4: the version where Certificate.serial changed to .serial_number
BuildRequires: python3-cryptography >= 1.4
BuildRequires: python3-gssapi >= 1.2.0