Hello community,

here is the log from the commit of package python-wxWidgets for 
openSUSE:Factory checked in at 2012-04-12 09:48:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wxWidgets (Old)
 and      /work/SRC/openSUSE:Factory/.python-wxWidgets.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-wxWidgets", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-wxWidgets/python-wxWidgets.changes        
2011-09-23 12:43:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-wxWidgets.new/python-wxWidgets.changes   
2012-04-12 09:48:14.000000000 +0200
@@ -1,0 +2,10 @@
+Mon Apr  2 14:01:14 CEST 2012 - sbra...@suse.cz
+
+- Update to version 2.8.12.1:
+  * Compatible with wxWidgets-2.8.12 (bnc#740950).
+  * Added ToolTipString property to wx.Window.
+  * Bug and typo fixes.
+- Require exact version of wxWidgets for build and runtime
+  (bnc#740950).
+
+-------------------------------------------------------------------

Old:
----
  wxPython-2.8.11.0.tar.bz2
  wxPython-src-2.8.11.0.tar.bz2

New:
----
  wxPython-2.8.12.1.tar.bz2
  wxPython-src-2.8.12.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-wxWidgets.spec ++++++
--- /var/tmp/diff_new_pack.wOAgsE/_old  2012-04-12 09:48:18.000000000 +0200
+++ /var/tmp/diff_new_pack.wOAgsE/_new  2012-04-12 09:48:18.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-wxWidgets
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -16,19 +16,25 @@
 #
 
 
-
 Name:           python-wxWidgets
 %define srcname wxPython
-BuildRequires:  fdupes gcc-c++ python-devel python-xml wxWidgets-devel
-License:        GPL-2.0+
-Group:          System/Libraries
-Version:        2.8.11.0
-Release:        7
+BuildRequires:  fdupes
+BuildRequires:  gcc-c++
+BuildRequires:  python-devel
+BuildRequires:  python-xml
+BuildRequires:  wxWidgets-devel
+Version:        2.8.12.1
+Release:        0
 %define  wx_version %(echo %{version} | sed 's/\.[0-9][0-9]*\.[0-9][0-9]*$//')
+%define  wx_release %(echo %{version} | sed 's/\.[0-9][0-9]*$//')
 Summary:        Python Bindings for wxWidgets
+License:        GPL-2.0+
+Group:          System/Libraries
 # Trick: OSC checks for the first one, RPM for the second one.
 %if 0
-# Source from http://www.wxpython.org/
+# Source from http://www.wxpython.org/ contains complete wxWidgets
+# source tree and proprietary Microsoft Visual Studio DLLs.
+# We will repackage only a needed subset of files.
 Source:         
http://downloads.sourceforge.net/wxpython/%{srcname}-src-%{version}.tar.bz2
 %else
 # WARNING: This is not a comment, but the real command to repack souce:
@@ -37,7 +43,7 @@
 %endif
 Source1:        rpmlintrc
 Source2:        %{name}-extract-source
-Url:            http://www.wxwidgets.org/
+Url:            http://www.wxpython.org/
 # Used up to openSUSE 11.3:
 Provides:       python-wxGTK = %{version}
 Obsoletes:      python-wxGTK < %{version}
@@ -61,7 +67,6 @@
 wxWidgets is a free C++ library for cross-platform GUI. This package contains 
python bindings for wxWidgets.
 
 %package devel
-License:        GPL-2.0+
 Summary:        Everything needed for development with wxGTK
 Group:          Development/Libraries/GNOME
 # Name up to openSUSE 11.3 and up to wxGTK-2.8.x:
@@ -76,7 +81,6 @@
 bindings for wxGTK.
 
 %package lang
-License:        GPL-2.0+
 # We cannot use %%lang_package here. Editra translations use noarch 
incompatible path.
 Summary:        Languages for package python-wxWidgets
 Group:          System/Localization
@@ -88,6 +92,11 @@
 Provides translations to the package %{name}
 
 %prep
+# osc does not support BuildRequires with exact version defined by macro. 
Check it now.
+if test "`rpm -q --queryformat=%{VERSION} wxWidgets-devel`" != "%{wx_release}" 
; then
+       echo "To compile %{name} = %{version}, you need wxWidgets-devel = 
%{wx_version}"
+       exit 1
+fi
 %setup -q -n %{srcname}-src-%{version}
 %patch5
 %patch7
@@ -102,6 +111,19 @@
        build
 
 %install
+# python-wxWidgets requires exact release of wxWidgets (bnc#740950).
+cat >pywx_requires <<EOF
+#!/bin/sh
+%wx_requires |
+       while read ; do
+               case "\$REPLY" in
+               libwx_* ) echo "\$REPLY" = %{wx_release} ;;
+               * ) echo "\$REPLY" ;;
+               esac
+       done
+EOF
+chmod +x pywx_requires
+%define __find_requires %{_builddir}/%{srcname}-src-%{version}/pywx_requires
 cd wxPython
 python setup.py\
        install\

++++++ wxPython-2.8.11.0.tar.bz2 -> wxPython-2.8.12.1.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/python-wxWidgets/wxPython-2.8.11.0.tar.bz2 
/work/SRC/openSUSE:Factory/.python-wxWidgets.new/wxPython-2.8.12.1.tar.bz2 
differ: char 11, line 1

++++++ wxPython-src-2.8.11.0.tar.bz2 -> wxPython-src-2.8.12.1.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/python-wxWidgets/wxPython-src-2.8.11.0.tar.bz2 
/work/SRC/openSUSE:Factory/.python-wxWidgets.new/wxPython-src-2.8.12.1.tar.bz2 
differ: char 11, line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to