From 57284a64aac173732c6eb1396f445567d3c839ad Mon Sep 17 00:00:00 2001 From: Praveen K Paladugu Date: Oct 01 2009 18:19:45 +0000 Subject: Updated the sources and add python-config to sources --- diff --git a/.cvsignore b/.cvsignore index 7a5336a..8f3a3d6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -openwsman-2.1.0.tar.bz2 +openwsman-2.2.0.tar.bz2 diff --git a/openwsman.spec b/openwsman.spec index 7781936..02c909b 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -1,12 +1,15 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')} +%define ruby_libdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]') Name: openwsman -Version: 2.1.0 +Version: 2.2.0 Release: 1%{?dist} License: BSD Url: http://www.openwsman.org/ Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 +Source2: python-config Patch0: %{name}-initscript.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXX) Group: System Environment/Daemons @@ -54,6 +57,8 @@ Openwsman ruby bindings %prep %setup -q %patch0 -p1 +cp -p %{SOURCE2} %{_builddir}/%{name}-%{version} +sed -i -e 's|#!/usr/bin/python2.5|#!%{__python}|' %{_builddir}/%{name}-%{version}/python-config %build chmod a-x src/lib/*.[ch] @@ -62,7 +67,7 @@ chmod a-x include/*.[ch] # disable eventing, as Fedora libcurl isn't linked against openssl # disable tests in 2.1.0, http://www.openwsman.org/bug/263 -%configure --with-examples=yes --with-tests=no --enable-python=yes --enable-ruby=yes --enable-eventing=no --disable-more-warnings +%configure --with-examples=yes --with-tests=no --enable-python=yes --enable-ruby=yes --enable-eventing=no --disable-more-warnings PATH=$PATH:. make %{?_smp_flags} %install @@ -95,6 +100,8 @@ rm -rf %{buildroot} %dir /etc/openwsman %config(noreplace) /etc/openwsman/openwsman.conf %config(noreplace) /etc/openwsman/ssleay.cnf +%{ruby_libdir}/openwsman +%config(noreplace) %{_sysconfdir}/pam.d/openwsman %doc COPYING README %files devel @@ -109,7 +116,7 @@ rm -rf %{buildroot} %files python %defattr(-,root,root) %{python_sitelib}/pywsman.py -%{python_sitelib}/*.so +%{python_sitearch}/*.so %doc COPYING %files -n ruby-%{name} @@ -135,6 +142,18 @@ fi %changelog +* Thu Oct 1 2009 Praveen K Paladugu - 2.2.0-1 +- Updated the sources to 2.2.0. Couple of major changes are as follows: +- Major changes: +- Adapt IANA ports of 5985 (http) and 5986 (https) +- Change the Ruby bindings module name to 'Openwsman' +- Change the Ruby plugin module name to 'Openwsman' +- IPv6 support (A_Venkatachalam@Dell.com) +- preliminary support for wbem intrinsic operations +- 'EnumerateClassNames' and 'GetClass' (kkaempf@suse.de) +- (needs fixed sblim-sfcc, see www.openwsman.org for details) +- Added a few more files in %files + * Mon Sep 22 2008 Matt Domsch - 2.1.0-1 - update to 2.1.0, resolves security issues diff --git a/sources b/sources index 8e1dd4a..a84b673 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -25a135bea7c1653f66b2428c4b252d3a openwsman-2.1.0.tar.bz2 +62b4eaf752171058bf0036e049ca01d0 openwsman-2.2.0.tar.bz2