Hello community, here is the log from the commit of package cmpi-bindings for openSUSE:Factory checked in at Fri Mar 19 09:48:04 CET 2010. -------- --- cmpi-bindings/cmpi-bindings.changes 2009-08-09 08:45:37.000000000 +0200 +++ /mounts/work_src_done/STABLE/cmpi-bindings/cmpi-bindings.changes 2010-03-17 16:48:57.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Mar 17 15:48:45 UTC 2010 - coolo@novell.com + +- various fixes for other distributions + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cmpi-bindings.spec ++++++ --- /var/tmp/diff_new_pack.8dGiek/_old 2010-03-19 09:46:35.000000000 +0100 +++ /var/tmp/diff_new_pack.8dGiek/_new 2010-03-19 09:46:35.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package cmpi-bindings (Version 0.4.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,14 +21,48 @@ Name: cmpi-bindings Version: 0.4.0 -Release: 6 -License: BSD 3-clause (or similar) ; EPL 1.0 +Release: 7 +License: BSD3c(or similar) ; EPL 1.0 Summary: Adapter to write and run CMPI-type CIM providers Group: Development/Libraries/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: cmake gcc-c++ + # We need swig threads support. -BuildRequires: cmake gcc-c++ perl python-devel ruby-devel swig >= 1.3.34 -BuildRequires: sblim-sfcb +BuildRequires: swig >= 1.3.34 + +BuildRequires: sblim-cmpi-devel + +BuildRequires: perl python-devel + +%if 0%{?rhel_version} > 0 +BuildRequires: -vim +%endif + +%if 0%{?fedora} + 0%{?rhel_version} > 0 +BuildRequires: curl-devel pkgconfig ruby ruby-devel +%if 0%{?fedora} > 0 +BuildRequires: perl-devel +%endif +%endif + +%if 0%{?suse_version} > 0 + +BuildRequires: libcurl-devel +%if 0%{?suse_version} > 1020 +BuildRequires: fdupes +%endif + +# SLE9 +%if 0%{?suse_version} < 920 +BuildRequires: pkgconfig ruby +%else +BuildRequires: ruby-devel +BuildRequires: pkg-config +%endif + +%endif + Source: %{name}-%{version}.tar.bz2 Prefix: /usr @@ -59,35 +93,40 @@ %{__rm} -rf %{buildroot} %package -n cmpi-bindings-ruby -License: BSD 3-clause (or similar) ; EPL 1.0 +License: BSD3c(or similar) ; EPL 1.0 Summary: Adapter to write and run CMPI-type CIM providers in Ruby Group: Development/Languages/Ruby # for the debug package. we dont use debug_package_requires here as it would enforce to install both packages. Provides: %{name} = %{version}-%{release} +%if 0%{?fedora} + 0%{?rhel_version} > 0 +Requires: ruby(abi) = 1.8 +%endif +%if 0%{?suse_version} > 1110 +Requires: ruby(abi) = 1.8 +%endif +%if 0%{?ruby_sitelib} == 0 +%{!?ruby_sitelib: %global ruby_sitelib %(ruby -r rbconfig -e 'vd = Config::CONFIG["vendorlibdir"]; print(vd ? vd : Config::CONFIG["sitelibdir"])')} +%{!?ruby_sitearch: %global ruby_sitearch %(ruby -r rbconfig -e 'vad = Config::CONFIG["vendorarchdir"]; print(vad ? vad : Config::CONFIG["sitearchdir"])')} +%endif %description -n cmpi-bindings-ruby - %files -n cmpi-bindings-ruby %defattr(-,root,root,-) +%dir %{_libdir}/cmpi %{_libdir}/cmpi/librbCmpiProvider.so -%if 0%{?sles_version} == 10 -%{_libdir}/ruby/site_ruby/%{rb_ver}/cmpi_rbwbem_bindings.rb -%else -%{_libdir}/ruby/vendor_ruby/%{rb_ver}/cmpi_rbwbem_bindings.rb -%endif +%{ruby_sitelib}/cmpi_rbwbem_bindings.rb %package -n cmpi-bindings-pywbem -License: BSD 3-clause (or similar) ; EPL 1.0 +License: BSD3c(or similar) ; EPL 1.0 Summary: Adapter to write and run CMPI-type CIM providers in Python Group: Development/Languages/Python # for the debug package. we dont use debug_package_requires here as it would enforce to install both packages. Provides: %{name} = %{version}-%{release} -#define some macros missing on fedora -%if 0%{?fedora_version} -%{!?python_sitelib: %define py_sitedir %(%__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()")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?py_requires: %define py_requires Requires: python} -%endif %{py_requires} %description -n cmpi-bindings-pywbem @@ -95,6 +134,7 @@ %files -n cmpi-bindings-pywbem %defattr(-,root,root,-) +%dir %{_libdir}/cmpi %{_libdir}/cmpi/libpyCmpiProvider.so %{python_sitelib}/cmpi_pywbem_bindings.py %{python_sitelib}/cmpi_pywbem_bindings.pyc @@ -102,7 +142,7 @@ %{python_sitelib}/cmpi.pyc %package -n cmpi-bindings-perl -License: BSD 3-clause (or similar) ; EPL 1.0 +License: BSD3c(or similar) ; EPL 1.0 Requires: perl = %{perl_version} Summary: Adapter to write and run CMPI-type CIM providers in Perl Group: Development/Languages/Perl @@ -114,6 +154,7 @@ %files -n cmpi-bindings-perl %defattr(-,root,root,-) +%dir %{_libdir}/cmpi %{_libdir}/cmpi/libplCmpiProvider.so %{perl_vendorlib}/cmpi_plwbem_bindings.pl %{perl_vendorlib}/cmpi.pm ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org