rpms/openwsman/EL-5 openwsman.spec,1.5,1.6

Praveen K Paladugu praveenp at fedoraproject.org
Thu Oct 1 18:14:51 UTC 2009


Author: praveenp

Update of /cvs/pkgs/rpms/openwsman/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31543

Modified Files:
	openwsman.spec 
Log Message:
removed some hard coded paths in %files



Index: openwsman.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openwsman/EL-5/openwsman.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- openwsman.spec	29 Sep 2009 18:02:36 -0000	1.5
+++ openwsman.spec	1 Oct 2009 18:14:51 -0000	1.6
@@ -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:        3%{?dist}
+Release:        4%{?dist}
 License:        BSD
 Url:            http://www.openwsman.org/
 Source:         http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
@@ -99,7 +101,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
 
@@ -141,6 +143,8 @@ fi
 
 
 %changelog
+* Thu Oct  1 2009 Praveen K Paladugu <praveen_paladugu at dell.com> - 2.2.0-4
+- removed the hard coding of ruby_libdir
 * Tue Sep 29 2009 Praveen K Paladugu <praveen_paladugu at dell.com> - 2.2.0-3
 - Changed back the hard coding of /usr/lib
 * Tue Sep 29 2009 Praveen K Paladugu <praveen_paladugu at dell.com> - 2.2.0-2




More information about the fedora-extras-commits mailing list