pywsman.py gets installed in %{python_sitelib}

This commit is contained in:
Praveen K Paladugu
2009-09-24 22:43:14 +00:00
parent 065b27da43
commit 2af73783bf
+5 -2
View File
@@ -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 <praveen_paladugu@dell.com> - 2.2.0-7
- pywsman.py gets installed in python_sitelib - chaning back
* Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-6
- changing python_sitelib to python_sitearch
* Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-5