This diff is from the src file, if there are issues with it let me know and 
I'll download the git archive and base this off of HEAD.

This will place a requirement for smolt in the RPM for EL4+ and Fedora.

---

--- func.spec.orig      2008-06-25 16:13:41.000000000 -0400
+++ func.spec   2008-06-25 17:09:59.000000000 -0400
@@ -2,6 +2,7 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}

%define is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0)
+%define requires_smolt %(echo %{?dist} | egrep -q 'el(2|3)|rhl' && echo 0 || 
echo 1)

Summary: Remote management framework
Name: func
@@ -14,6 +15,9 @@ Group: Applications/System
Requires: python >= 2.3
Requires: pyOpenSSL
Requires: certmaster >= 0.1
+%if %requires_smolt
+Requires: smolt
+%endif
BuildRequires: python-devel
%if %is_suse
BuildRequires: gettext-devel
@@ -36,6 +40,7 @@ func is a remote api for mangement, conf
%setup -q

%build
+echo dist is %{?dist}
%{__python} setup.py build

%install

_______________________________________________
Func-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/func-list

Reply via email to