Hello community,

here is the log from the commit of package libical for openSUSE:Factory checked 
in at 2016-10-13 11:23:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libical (Old)
 and      /work/SRC/openSUSE:Factory/.libical.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libical"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libical/libical.changes  2016-09-09 
10:19:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libical.new/libical.changes     2016-10-13 
11:23:30.000000000 +0200
@@ -1,0 +2,16 @@
+Mon Oct  3 08:38:07 UTC 2016 - jeng...@inai.de
+
+- Add 0001-build-ICU-must-appear-as-Requires-in-pkgconfig.patch
+
+-------------------------------------------------------------------
+Thu Sep 29 14:06:35 UTC 2016 - jeng...@inai.de
+
+- Fix wrong baselibs provides
+
+-------------------------------------------------------------------
+Fri Sep  9 07:36:22 UTC 2016 - zai...@opensuse.org
+
+- Add pkgconfig(icu-i18n) BuildRequires: Build the new RSCALE
+  support.
+
+-------------------------------------------------------------------

New:
----
  0001-build-ICU-must-appear-as-Requires-in-pkgconfig.patch

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

Other differences:
------------------
++++++ libical.spec ++++++
--- /var/tmp/diff_new_pack.VGc6IA/_old  2016-10-13 11:23:31.000000000 +0200
+++ /var/tmp/diff_new_pack.VGc6IA/_new  2016-10-13 11:23:31.000000000 +0200
@@ -24,11 +24,15 @@
 License:        MPL-1.0 or LGPL-2.1
 Group:          Development/Libraries/C and C++
 Url:            http://sourceforge.net/projects/freeassociation/
+
+#Git-Clone:     https://github.com/libical/libical
 Source:         
https://github.com/libical/libical/releases/download/v%{version}/%{name}-%{version}.tar.gz
 Source2:        baselibs.conf
+Patch1:         0001-build-ICU-must-appear-as-Requires-in-pkgconfig.patch
 BuildRequires:  cmake >= 2.4
 BuildRequires:  gcc-c++
 BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(icu-i18n)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -86,6 +90,7 @@
 
 %prep
 %setup -q
+%patch -P 1 -p1
 
 %build
 %cmake

++++++ 0001-build-ICU-must-appear-as-Requires-in-pkgconfig.patch ++++++
>From 101a29ef57341a786012eb07dcfcec5c597f4493 Mon Sep 17 00:00:00 2001
X-Backport: Rediff for 2.0.0
From: Jan Engelhardt <jeng...@inai.de>
Date: Mon, 3 Oct 2016 10:25:00 +0200
Subject: [PATCH] build: ICU must appear as Requires in pkgconfig
References: https://github.com/libical/libical/pull/244

libical.pc specifies -licu-i18n in its Libs: field,
but no Requires: icu-i18n. As a result, the automatic dependency
generator in Linux distributions won't see the ICU requirement,
won't install it, and builds of secondary software fails.

$ gcc icalthing.c `pkg-config libical --cflags --libs`
[...]
gcc: error: /usr/lib64/libicuuc.so: No such file or directory

Move ICU from Libs to Requires, so the dependency scanner can do its
job. Specifically move it to Requires.private, since specifying -licu*
is not normally needed when libical is a shared library since it
already has it recorded in the ELF.
---
 libical.pc.in |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: libical-2.0.0/libical.pc.in
===================================================================
--- libical-2.0.0.orig/libical.pc.in
+++ libical-2.0.0/libical.pc.in
@@ -2,11 +2,11 @@ prefix=@prefix@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
 includedir=@includedir@
-threadslib=@PTHREAD_LIBS@
-iculib=@ICU_LIBRARIES@ @ICU_I18N_LIBRARIES@
 
 Name: libical
 Description: An implementation of basic iCAL protocols
 Version: @VERSION@
-Libs: -L${libdir} -lical -licalss -licalvcal ${threadslib} ${iculib}
+Libs: -L${libdir} -lical -licalss -licalvcal
+Libs.private: @PTHREAD_LIBS@
+Requires.private: icu-i18n
 Cflags: -I${includedir}
++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.VGc6IA/_old  2016-10-13 11:23:32.000000000 +0200
+++ /var/tmp/diff_new_pack.VGc6IA/_new  2016-10-13 11:23:32.000000000 +0200
@@ -1,5 +1,3 @@
 libical2
   obsoletes "libical-<targettype> <= <version>"
-  provides "libical-<targettype> = <version>"
-
-  
+  provides "libical2-<targettype> = <version>"


Reply via email to