From dcc26ebd236524ae59266afad573a840a3dbe1da Mon Sep 17 00:00:00 2001 From: Praveen K Paladugu Date: Oct 01 2009 18:33:05 +0000 Subject: fixed the hard coding of rub_libdir in spec file --- diff --git a/openwsman.spec b/openwsman.spec index 9eca04d..69a4ccb 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -1,10 +1,12 @@ %{!?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"] ')} +%define ruby_libdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]') + Name: openwsman Version: 2.2.0 -Release: 7%{?dist} +Release: 8%{?dist} License: BSD Url: http://www.openwsman.org/ Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 @@ -97,7 +99,7 @@ rm -rf %{buildroot} %dir /etc/openwsman %config(noreplace) /etc/openwsman/openwsman.conf %config(noreplace) /etc/openwsman/ssleay.cnf -/usr/lib/ruby/site_ruby/1.8/openwsman/ +%{ruby_libdir}/openwsman %config(noreplace) %{_sysconfdir}/pam.d/openwsman %doc COPYING README @@ -139,6 +141,8 @@ fi %changelog +* Thu Oct 1 2009 Praveen K Paladugu - 2.2.0-8 +- Removed the past hard coding of ruby_libdir * 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