diff options
Diffstat (limited to 'ipa-python/freeipa-python.spec.in')
-rwxr-xr-x | ipa-python/freeipa-python.spec.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ipa-python/freeipa-python.spec.in b/ipa-python/freeipa-python.spec.in index b07b21fe..37eb23f0 100755 --- a/ipa-python/freeipa-python.spec.in +++ b/ipa-python/freeipa-python.spec.in @@ -1,5 +1,3 @@ -%define pyver %(%{__python} -c 'import sys ; print sys.version[:3]') -%define pynext %(%{__python} -c 'print %{pyver} + 0.1') Name: freeipa-python Version: VERSION @@ -12,8 +10,7 @@ URL: http://www.freeipa.org Source0: http://www.freeipa.org/downloads/%{name}-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: python >= 0:%{pyver}, python < 0:%{pynext}, python-devel <= 0:%{pyver} -Requires: python >= 0:%{pyver}, python < 0:%{pynext} +BuildRequires: python-devel Requires: PyKerberos %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |