Hello community,

here is the log from the commit of package python-sip for openSUSE:Factory
checked in at Fri Aug 19 15:23:32 CEST 2011.



--------
--- python-sip/python-sip.changes       2011-05-30 15:27:18.000000000 +0200
+++ python-sip/python-sip.changes       2011-08-16 02:25:39.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Aug 16 00:07:23 UTC 2011 - ter...@gmail.com
+
+- Update to 4.12.4
+  - A bug fix release.
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ python-sip/python3-sip.changes      2011-08-16 02:25:40.000000000 +0200
@@ -0,0 +1,8 @@
+-------------------------------------------------------------------
+Tue Aug 16 00:07:23 UTC 2011 - ter...@gmail.com
+
+- Update to 4.12.4
+  - A bug fix release.
+- Adapted python-sip.spec for python3
+
+

calling whatdependson for head-i586


Old:
----
  fix-linking.diff
  fix-linking25.diff
  fix-linking26.diff
  sip-4.12.3.tar.bz2

New:
----
  python3-sip.changes
  python3-sip.spec
  sip-4.12.4.tar.bz2

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

Other differences:
------------------
++++++ python-sip.spec ++++++
--- /var/tmp/diff_new_pack.3IHep5/_old  2011-08-19 15:22:36.000000000 +0200
+++ /var/tmp/diff_new_pack.3IHep5/_new  2011-08-19 15:22:36.000000000 +0200
@@ -20,20 +20,17 @@
 
 Name:           python-sip
 BuildRequires:  c++_compiler python python-devel
-License:        GPLv2+
+License:        GPL-2.0 or GPL-3.0 or SIP
 Group:          Development/Libraries/Python
 Summary:        SIP tool to use python sip bindings
-Version:        4.12.3
+Version:        4.12.4
 Release:        1
 %define rversion %version
 Url:            http://www.riverbankcomputing.com/software/sip/intro
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source0:        sip-%{rversion}.tar.bz2
 Patch0:         disable-rpaths.diff
-Patch2:         fix-linking.diff
-Patch3:         fix-linking25.diff
-Patch4:         build-compare.diff
-Patch5:         fix-linking26.diff
+Patch1:         build-compare.diff
 %py_requires
 
 %description
@@ -43,7 +40,7 @@
 for any C or C++ library.
 
 %package devel
-License:        GPLv2+
+License:        GPL-2.0 or GPL-3.0 or SIP
 Group:          Development/Libraries/Python
 Summary:        SIP tool to create python bindings
 Provides:       python-sip:/usr/bin/sip
@@ -62,16 +59,7 @@
 %prep
 %setup -q -n sip-%{rversion}
 %patch0
-%if %suse_version >1100
-%if %suse_version <1140
-%patch5
-%else
-%patch2
-%endif
-%else
-%patch3
-%endif
-%patch4
+%patch1
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS"

++++++ python3-sip.spec ++++++
#
# spec file for package python3-sip
#
# Copyright (c) 2011 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           python3-sip
License:        GPL-2.0 or GPL-3.0 or SIP
Group:          Development/Libraries/Python
Summary:        SIP tool to use python sip bindings
Version:        4.12.4
Release:        1
%define rversion %version
Url:            http://www.riverbankcomputing.com/software/sip/intro
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        sip-%{rversion}.tar.bz2
Patch0:         disable-rpaths.diff
Patch1:         build-compare.diff
BuildRequires:  c++_compiler
BuildRequires:  python3 python3-devel
Requires:       python3 python3-base
PreReq:         python3 python3-base

%global py3_incdir  %(python3 -c "import distutils.sysconfig; 
print(distutils.sysconfig.get_python_inc())" 2>/dev/null || echo 
PYTHON-NOT-FOUND)

%description
SIP is a tool that makes it very easy to create Python bindings for C
and C++ libraries. It was originally developed to create PyQt, the
Python bindings for the Qt toolkit, but can be used to create bindings
for any C or C++ library.

%package devel
License:        GPL-2.0 or GPL-3.0 or SIP
Group:          Development/Libraries/Python
Summary:        SIP tool to create python bindings
Provides:       python3-sip:/usr/bin/sip
Requires:       %name = %version
Requires:       c++_compiler python3-devel

%description devel
SIP is a tool that makes it very easy to create Python bindings for C
and C++ libraries. It was originally developed to create PyQt, the
Python bindings for the Qt toolkit, but can be used to create bindings
for any C or C++ library.

This package contains all the developer tools you need to create your 
own sip bindings.

%prep
%setup -q -n sip-%{rversion}
%patch0
%patch1

%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
export SUSE_ASNEEDED=0
python3 configure.py --debug CFLAGS+="$RPM_OPT_FLAGS" CXXFLAGS+="$RPM_OPT_FLAGS"
make %{?jobs:-j %jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/usr/share/sip
sed -i 's/"doc" directory/"doc" directory of package %{name}-devel/' README

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README
%{python3_sitearch}/sip.so

%files devel
%defattr(-,root,root)
%doc NEWS LICENSE doc
/usr/bin/sip
%{py3_incdir}/sip.h
%{python3_sitearch}/sipconfig.py
%{python3_sitearch}/sipdistutils.py
/usr/share/sip

%changelog
++++++ sip-4.12.3.tar.bz2 -> sip-4.12.4.tar.bz2 ++++++
++++ 24967 lines of diff (skipped)


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



Remember to have fun...

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

Reply via email to