Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=737286 --- Comment #7 from Jeffrey C. Ollie <jeff@xxxxxxxxxx> 2012-01-03 17:25:43 EST --- I'm trying to get salt to work on CentOS 5 - my current stumbling block is the lack of a python26 version of the yum API... Currently python26-zmq is in epel-testing which makes building a little tricky. I also noticed that salt requires the jinja2 template engine. I'm also working on some systemd service files. There's also a bug in the selinux support with newer versions of Fedora but I'll work on a patch for that upstream. --- salt.spec.1 2011-12-01 11:31:29.000000000 -0600 +++ salt.spec 2012-01-03 15:35:54.422644339 -0600 @@ -1,9 +1,14 @@ +%if ! ( 0%{?fedora} > 12 || 0%{?rhel} > 5) +%global __python %{_bindir}/python26 +%global python python26 +%endif + %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} Name: salt Version: 0.9.4 -Release: 2%{?dist} +Release: 2%{?dist}.1 Summary: A parallel remote execution system Group: System/Utilities @@ -17,19 +22,36 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: python(abi) + +%if ! ( 0%{?fedora} > 12 || 0%{?rhel} > 5) +Requires: python26-PyYAML +Requires: python26-crypto +Requires: python26-m2crypto +Requires: python26-zmq +Requires: python26-jinja2 +%else Requires: PyYAML Requires: python-crypto Requires: m2crypto Requires: python-zmq -Requires: python-jinja +Requires: python-jinja2 +%endif BuildArch: noarch +%if ! ( 0%{?fedora} > 12 || 0%{?rhel} > 5) +BuildRequires: python26-zmq +BuildRequires: python26-crypto +BuildRequires: python26-m2crypto +BuildRequires: python26-PyYAML +BuildRequires: python26-devel +%else BuildRequires: python-zmq BuildRequires: python-crypto BuildRequires: m2crypto BuildRequires: PyYAML BuildRequires: python-devel +%endif %description Salt is a distributed remote execution system used to execute commands and -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review