Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f5a149814a | |||
| d87c14e314 | |||
| f35985af5e | |||
| 702dc6c82f |
+1
-1
@@ -1 +1 @@
|
||||
openwsman-2.2.0.tar.bz2
|
||||
openwsman-2.1.0.tar.bz2
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
openwsman-2_1_0-1_fc9:EL-4:openwsman-2.1.0-1.fc9.src.rpm:1225537139
|
||||
openwsman-2_1_0-1_fc9:HEAD:openwsman-2.1.0-1.fc9.src.rpm:1225537021
|
||||
|
||||
+12
-24
@@ -1,15 +1,12 @@
|
||||
%{!?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.2.0
|
||||
Release: 2%{?dist}
|
||||
Version: 2.1.0
|
||||
Release: 4%{?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
|
||||
@@ -57,8 +54,6 @@ 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]
|
||||
@@ -67,7 +62,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 PATH=$PATH:.
|
||||
%configure --with-examples=yes --with-tests=no --enable-python=yes --enable-ruby=yes --enable-eventing=no --disable-more-warnings
|
||||
make %{?_smp_flags}
|
||||
|
||||
%install
|
||||
@@ -100,8 +95,6 @@ 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
|
||||
@@ -116,7 +109,7 @@ rm -rf %{buildroot}
|
||||
%files python
|
||||
%defattr(-,root,root)
|
||||
%{python_sitelib}/pywsman.py
|
||||
%{python_sitearch}/*.so
|
||||
%{python_sitelib}/*.so
|
||||
%doc COPYING
|
||||
|
||||
%files -n ruby-%{name}
|
||||
@@ -142,19 +135,14 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Oct 1 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.0-2
|
||||
- Increasing the release number to make another tag
|
||||
* Thu Oct 1 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 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
|
||||
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.1.0-4
|
||||
- rebuilt with new openssl
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Mon Sep 22 2008 Matt Domsch <Matt_Domsch@dell.com> - 2.1.0-1
|
||||
- update to 2.1.0, resolves security issues
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
#!/usr/bin/python2.5
|
||||
|
||||
import sys
|
||||
import os
|
||||
import getopt
|
||||
from distutils import sysconfig
|
||||
|
||||
valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags',
|
||||
'ldflags', 'help']
|
||||
|
||||
def exit_with_usage(code=1):
|
||||
print >>sys.stderr, "Usage: %s [%s]" % (sys.argv[0],
|
||||
'|'.join('--'+opt for opt in valid_opts))
|
||||
sys.exit(code)
|
||||
|
||||
try:
|
||||
opts, args = getopt.getopt(sys.argv[1:], '', valid_opts)
|
||||
except getopt.error:
|
||||
exit_with_usage()
|
||||
|
||||
if not opts:
|
||||
exit_with_usage()
|
||||
|
||||
opt = opts[0][0]
|
||||
|
||||
pyver = sysconfig.get_config_var('VERSION')
|
||||
getvar = sysconfig.get_config_var
|
||||
|
||||
if opt == '--help':
|
||||
exit_with_usage(0)
|
||||
|
||||
elif opt == '--prefix':
|
||||
print sysconfig.PREFIX
|
||||
|
||||
elif opt == '--exec-prefix':
|
||||
print sysconfig.EXEC_PREFIX
|
||||
|
||||
elif opt in ('--includes', '--cflags'):
|
||||
flags = ['-I' + sysconfig.get_python_inc(),
|
||||
'-I' + sysconfig.get_python_inc(plat_specific=True)]
|
||||
if opt == '--cflags':
|
||||
flags.extend(getvar('CFLAGS').split())
|
||||
print ' '.join(flags)
|
||||
|
||||
elif opt in ('--libs', '--ldflags'):
|
||||
libs = getvar('LIBS').split() + getvar('SYSLIBS').split()
|
||||
libs.append('-lpython'+pyver)
|
||||
# add the prefix/lib/pythonX.Y/config dir, but only if there is no
|
||||
# shared library in prefix/lib/.
|
||||
if opt == '--ldflags' and not getvar('Py_ENABLE_SHARED'):
|
||||
libs.insert(0, '-L' + getvar('LIBPL'))
|
||||
print ' '.join(libs)
|
||||
|
||||
Reference in New Issue
Block a user