From ba0a84cafe10044b208fae567899b6d5d19e4bb3 Mon Sep 17 00:00:00 2001 From: Tomáš Mráz Date: Dec 01 2006 13:33:53 +0000 Subject: - python is no more in the default buildroot --- diff --git a/authconfig.spec b/authconfig.spec index 197da5b..cc77a0c 100644 --- a/authconfig.spec +++ b/authconfig.spec @@ -10,7 +10,8 @@ Group: System Environment/Base BuildRoot: %{_tmppath}/%{name}-root Source: %{name}-%{version}.tar.bz2 Requires: rhpl, newt, pam >= 0.99.6.2, usermode -Requires: python >= %(%{__python} -c "import sys; print sys.version[:3]") +%define pythonver %(%{__python} -c "import sys; print sys.version[:3]") +Requires: python >= %{?pythonver}%{!?pythonver:2.3} Conflicts: pam_krb5 < 1.49, samba-common < 3.0, samba-client < 3.0 BuildRequires: glib2-devel, python, python-devel BuildRequires: desktop-file-utils, intltool, gettext, perl-XML-Parser