From 7be55c221ab968ce8af624c1e49bdf5527a75eae Mon Sep 17 00:00:00 2001 From: Praveen K Paladugu Date: Thu, 24 Sep 2009 22:43:14 +0000 Subject: [PATCH] pywsman.py gets installed in %{python_sitelib} --- openwsman.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openwsman.spec b/openwsman.spec index fb57a31..9eca04d 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -1,9 +1,10 @@ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')} Name: openwsman Version: 2.2.0 -Release: 6%{?dist} +Release: 7%{?dist} License: BSD Url: http://www.openwsman.org/ Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 @@ -111,7 +112,7 @@ rm -rf %{buildroot} %files python %defattr(-,root,root) -%{python_sitearch}/pywsman.py +%{python_sitelib}/pywsman.py %{python_sitearch}/*.so %doc COPYING @@ -138,6 +139,8 @@ fi %changelog +* Thu Sep 24 2009 Praveen K Paladugu - 2.2.0-7 +- pywsman.py gets installed in python_sitelib - chaning back * Thu Sep 24 2009 Praveen K Paladugu - 2.2.0-6 - changing python_sitelib to python_sitearch * Thu Sep 24 2009 Praveen K Paladugu - 2.2.0-5