rpms/openwsman/F-10 openwsman.spec,1.2,1.3

Praveen K Paladugu praveenp at fedoraproject.org
Thu Oct 1 18:42:48 UTC 2009


Author: praveenp

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

Modified Files:
	openwsman.spec 
Log Message:
chaged the hard coded path in %files



Index: openwsman.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openwsman/F-10/openwsman.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- openwsman.spec	25 Sep 2009 19:05:02 -0000	1.2
+++ openwsman.spec	1 Oct 2009 18:42:47 -0000	1.3
@@ -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:        1%{?dist}
+Release:        2%{?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-2
+- Removed the past hard coding of ruby_libdir
 * Wed Sep 24 2009 Praveen K Paladugu <praveen_paladugu at dell.com> - 2.2.0-1
 - Added the new 2.2.0 sources.
 - Changed the release and version numbers.




More information about the fedora-extras-commits mailing list