rpms/openwsman/F-11 openwsman.spec,1.10,1.11

Praveen K Paladugu praveenp at fedoraproject.org
Thu Oct 1 18:33:05 UTC 2009


Author: praveenp

Update of /cvs/pkgs/rpms/openwsman/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5968

Modified Files:
	openwsman.spec 
Log Message:
fixed the hard coding of rub_libdir in spec file



Index: openwsman.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openwsman/F-11/openwsman.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- openwsman.spec	24 Sep 2009 22:43:14 -0000	1.10
+++ openwsman.spec	1 Oct 2009 18:33:05 -0000	1.11
@@ -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 <praveen_paladugu at dell.com> - 2.2.0-8
+- Removed the past hard coding of ruby_libdir
 * Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu at dell.com> - 2.2.0-7
 - pywsman.py gets installed in python_sitelib - chaning back
 * Thu Sep 24 2009 Praveen K Paladugu <praveen_paladugu at dell.com> - 2.2.0-6




More information about the scm-commits mailing list