Hello community,

here is the log from the commit of package shibboleth-sp for openSUSE:Factory 
checked in at 2017-03-17 15:07:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/shibboleth-sp (Old)
 and      /work/SRC/openSUSE:Factory/.shibboleth-sp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "shibboleth-sp"

Fri Mar 17 15:07:24 2017 rev:6 rq:479967 version:2.5.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/shibboleth-sp/shibboleth-sp.changes      
2016-07-30 00:28:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.shibboleth-sp.new/shibboleth-sp.changes 
2017-03-17 15:07:25.262441711 +0100
@@ -1,0 +2,14 @@
+Thu Mar 16 11:12:11 UTC 2017 - [email protected]
+
+- fix build for openSUSE:Leap:42.1 by adding %define for
+  tmpfiles_create as this macro doesn't exist there
+
+-------------------------------------------------------------------
+Tue Feb 14 14:57:07 UTC 2017 - [email protected]
+
+- add shibboleth-sp-2.5.6-libsystemd-daemon.patch to fix configure
+  to use libsystemd instead of obsolete libsystemd-daemon.
+  Regenerate configure via autoreconf and add autoconf and automake
+  BuildRequires.
+
+-------------------------------------------------------------------

New:
----
  shibboleth-sp-2.5.6-libsystemd-daemon.patch

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

Other differences:
------------------
++++++ shibboleth-sp.spec ++++++
--- /var/tmp/diff_new_pack.CWVdiX/_old  2017-03-17 15:07:25.994338418 +0100
+++ /var/tmp/diff_new_pack.CWVdiX/_new  2017-03-17 15:07:25.998337853 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package shibboleth-sp
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,12 @@
 
 
 %global _tmpfilesdir %{_libexecdir}/tmpfiles.d
+# tmpfiles_create macro doesn't exist for openSUSE:Leap:42.1
+%if %{undefined tmpfiles_create}
+  %define tmpfiles_create() \
+  /usr/bin/systemd-tmpfiles --create %{?*} || : \
+  %{nil}
+%endif
 %define runuser shibd
 %define realname shibboleth
 %define pkgdocdir %{_docdir}/%{realname}
@@ -32,7 +38,10 @@
 Source2:        %{name}.keyring
 Source3:        shibd.service
 Patch0:         shibboleth-sp-2.5.5-doxygen_timestamp.patch
+Patch1:         shibboleth-sp-2.5.6-libsystemd-daemon.patch
 BuildRequires:  apache2-devel
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  boost-devel >= 1.32.0
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
@@ -110,9 +119,11 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 export CXXFLAGS="%{optflags} --std=c++11"
+autoreconf -f -i
 %configure --with-gssapi --enable-systemd --with-memcached
 make %{?_smp_mflags} pkgdocdir=%{pkgdocdir}
 

++++++ shibboleth-sp-2.5.6-libsystemd-daemon.patch ++++++
Index: shibboleth-sp-2.5.6/configure.ac
===================================================================
--- shibboleth-sp-2.5.6.orig/configure.ac
+++ shibboleth-sp-2.5.6/configure.ac
@@ -451,7 +451,7 @@ if test "$WANT_SYSTEMD" = "yes" ; then
           AC_MSG_ERROR([Unable to find a suitable libsystemd-daemon library])
        ])
        AC_DEFINE([HAVE_SD_NOTIFY],[1],[Define to 1 if you have the sd_notify 
function.])
-       PKG_CHECK_MODULES([SYSTEMD], [libsystemd-daemon])
+       PKG_CHECK_MODULES([SYSTEMD], [libsystemd])
        AC_SUBST([SYSTEMD_CFLAGS])
        AC_SUBST([SYSTEMD_LIBS])
 fi



Reply via email to