Hello community,
here is the log from the commit of package libtorrent-rasterbar for
openSUSE:Factory checked in at 2016-07-05 09:52:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtorrent-rasterbar (Old)
and /work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libtorrent-rasterbar"
Changes:
--------
---
/work/SRC/openSUSE:Factory/libtorrent-rasterbar/libtorrent-rasterbar.changes
2016-06-25 02:22:33.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new/libtorrent-rasterbar.changes
2016-07-05 09:52:12.000000000 +0200
@@ -1,0 +2,11 @@
+Sun Jul 3 16:21:16 UTC 2016 - [email protected]
+
+- Remove "-lrt" link hack.
+- Don't force C++11 on openSUSE newer than Leap 42.x.
+
+-------------------------------------------------------------------
+Wed Jun 29 19:09:10 UTC 2016 - [email protected]
+
+- Disable Python3 support for openSUSE Leap 42.x after all.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libtorrent-rasterbar.spec ++++++
--- /var/tmp/diff_new_pack.1EqeTr/_old 2016-07-05 09:52:13.000000000 +0200
+++ /var/tmp/diff_new_pack.1EqeTr/_new 2016-07-05 09:52:13.000000000 +0200
@@ -34,13 +34,12 @@
Patch1: %{name}-1.1.0-fix-invalid-input-crash.patch
BuildRequires: boost-devel >= 1.54
BuildRequires: gcc-c++
-BuildRequires: pkg-config
+BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: pkgconfig(openssl)
-%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120200 &&
0%{?is_opensuse})
+%if 0%{?suse_version} > 1320
BuildRequires: python3-devel
-%endif
-%if 0%{?suse_version} <= 1320
+%else
# For quadmath.h we need gcc-fortran on openSUSE Leap 42.x and older.
BuildRequires: gcc-fortran
%endif
@@ -81,7 +80,7 @@
%description -n python-%{name}
Python Bindings for the libtorrent-rasterbar package.
-%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120200 &&
0%{?is_opensuse})
+%if 0%{?suse_version} > 1320
%package -n python3-%{name}
Summary: Python Bindings for libtorrent-rasterbar
Group: Development/Libraries/Python
@@ -105,7 +104,7 @@
Requires: %{name}%{sover} = %{version}
Requires: boost-devel >= 1.36
Requires: gcc-c++
-Requires: pkg-config
+Requires: pkgconfig
Requires: pkgconfig(openssl)
%description devel
@@ -135,15 +134,17 @@
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
-export CXXFLAGS="$CFLAGS -std=c++11"
-export LDFLAGS="%{optflags} -lrt"
-# Some architectures require explicit linking of libboost_atomic on 1.55 and
older.
+export CXXFLAGS="$CFLAGS"
+%if 0%{?suse_version} <= 1320
+export CXXFLAGS="$CXXFLAGS -std=c++11"
+%endif
%ifarch aarch64
-export LIBS="-lboost_atomic"
+# Some architectures require explicit linkage to libboost_atomic on boost 1.55
and older.
+export LIBS="$LIBS -lboost_atomic"
%endif
%global _configure ../configure
-%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120200 &&
0%{?is_opensuse})
+%if 0%{?suse_version} > 1320
for py in python python3; do
%else
for py in python; do
@@ -165,7 +166,7 @@
%install
%make_install -C build-python
-%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120200 &&
0%{?is_opensuse})
+%if 0%{?suse_version} > 1320
%make_install -C build-python3
%endif
@@ -203,7 +204,7 @@
%{python_sitearch}/%{_name}*.so
%{python_sitearch}/python_%{_name}-*
-%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120200 &&
0%{?is_opensuse})
+%if 0%{?suse_version} > 1320
%files -n python3-%{name}
%defattr(-,root,root)
%{python3_sitearch}/%{_name}*.so