diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-02-16 20:44:39 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-02-16 20:44:39 +0000 |
commit | 16ccc78c4264e60fad98d14b8393eb57210c55d2 (patch) | |
tree | b2c7de840c7f7ca4ab7b7c1a6eb94a1e18085bf6 /misc/bcfg2.spec | |
parent | 2dc979ff1d27862ce02ecfe9e5b9da09b955c9a6 (diff) | |
download | bcfg2-16ccc78c4264e60fad98d14b8393eb57210c55d2.tar.gz bcfg2-16ccc78c4264e60fad98d14b8393eb57210c55d2.tar.bz2 bcfg2-16ccc78c4264e60fad98d14b8393eb57210c55d2.zip |
Spec fixes for SLES
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2828 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'misc/bcfg2.spec')
-rw-r--r-- | misc/bcfg2.spec | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec index e561f50c3..238f882f9 100644 --- a/misc/bcfg2.spec +++ b/misc/bcfg2.spec @@ -1,7 +1,8 @@ %define release 0.0rc5 %define __python python -%define pythonversion 2.3 +%define pythonversion %{py_ver} %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?initrddir: %define initrddir %{_sysconfdir}/rc.d/init.d} Name: bcfg2 Version: 0.9.2 @@ -65,7 +66,7 @@ Bcfg2 client %{__python}%{pythonversion} setup.py build %install -%{__python}%{pythonversion} setup.py install --root=%{buildroot} --record=INSTALLED_FILES +%{__python}%{pythonversion} setup.py install --root=%{buildroot} --record=INSTALLED_FILES --prefix=/usr %{__install} -d %{buildroot}%{_bindir} %{__install} -d %{buildroot}%{_sbindir} %{__install} -d %{buildroot}%{_initrddir} |