Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libgpod for openSUSE:Factory checked 
in at 2021-01-29 14:55:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgpod (Old)
 and      /work/SRC/openSUSE:Factory/.libgpod.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgpod"

Fri Jan 29 14:55:01 2021 rev:36 rq:865351 version:0.8.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgpod/libgpod.changes  2020-02-09 
21:03:07.351377555 +0100
+++ /work/SRC/openSUSE:Factory/.libgpod.new.28504/libgpod.changes       
2021-01-29 14:55:03.253329053 +0100
@@ -1,0 +2,6 @@
+Wed Jan 20 14:18:35 UTC 2021 - Michal Suchanek <[email protected]>
+
+- Use libplist-2.0 on Tumbleweed:
+  libgpod-Use-libplist-2.0.patch
+
+-------------------------------------------------------------------

New:
----
  libgpod-Use-libplist-2.0.patch

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

Other differences:
------------------
++++++ libgpod.spec ++++++
--- /var/tmp/diff_new_pack.Xlfifq/_old  2021-01-29 14:55:04.149330372 +0100
+++ /var/tmp/diff_new_pack.Xlfifq/_new  2021-01-29 14:55:04.153330378 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libgpod
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,11 @@
 %define _udevdir %(pkg-config --variable udevdir udev)
 %bcond_with    mono
 %bcond_with    python2
+%if 0%{?suse_version} > 1500
+%define libplist2 1
+%else
+%define libplist2 0
+%endif
 Name:           libgpod
 Version:        0.8.3
 Release:        0
@@ -33,6 +38,7 @@
 Patch1:         0001-Fix-spelling-errors-in-comments-and-strings-using-co.patch
 Patch2:         0002-323-Segmentation-fault-when-opening-ipod.patch
 Patch3:         0003-Fixed-PList-deprication.patch
+Patch4:         libgpod-Use-libplist-2.0.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  glib2-devel
@@ -40,7 +46,6 @@
 BuildRequires:  gtk2-devel
 BuildRequires:  intltool
 BuildRequires:  libimobiledevice-devel
-BuildRequires:  libplist-devel
 BuildRequires:  libusb-1_0-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  pkgconfig
@@ -49,6 +54,14 @@
 BuildRequires:  swig
 BuildRequires:  taglib-devel
 BuildRequires:  update-desktop-files
+%if %libplist2
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
+BuildRequires:  pkgconfig(libplist-2.0)
+%else
+BuildRequires:  pkgconfig(libplist)
+%endif
 BuildRequires:  pkgconfig(udev)
 %if %{with python2}
 BuildRequires:  python-devel
@@ -67,8 +80,8 @@
 
 %package -n %{libsoname}
 Summary:        Library to Manipulate Songs and Playlists Stored on an iPod
-Group:          System/Libraries
 # Add provides for installability of lang package
+Group:          System/Libraries
 Provides:       %{name} = %{version}
 
 %description -n %{libsoname}
@@ -149,8 +162,14 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%if %libplist2
+%patch4 -p1
+%endif
 
 %build
+%if %libplist2
+autoreconf -fvi
+%endif
 %configure --disable-silent-rules \
            --disable-static \
            --with-udev-dir=%{_udevdir} \

++++++ libgpod-Use-libplist-2.0.patch ++++++
diff -ur libgpod-0.8.3.orig/configure.ac libgpod-0.8.3/configure.ac
--- libgpod-0.8.3.orig/configure.ac     2013-07-10 13:42:04.000000000 +0200
+++ libgpod-0.8.3/configure.ac  2021-01-20 00:43:45.314840646 +0100
@@ -42,7 +42,7 @@
 AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
 dnl sqlite3 is needed for newer ipod models (nano5g), and libplist is needed 
 dnl by libgpod sqlite code
-PKG_CHECK_MODULES(LIBGPOD, glib-2.0 >= 2.16.0 gobject-2.0 sqlite3 libplist >= 
1.0 gmodule-2.0)
+PKG_CHECK_MODULES(LIBGPOD, glib-2.0 >= 2.16.0 gobject-2.0 sqlite3 libplist-2.0 
gmodule-2.0)
 
 dnl ***************************************************
 dnl The following functions are only available starting
Only in libgpod-0.8.3: configure.ac~

Reply via email to