diff --git a/multipath-tools-0.5.0-systemd-230.patch b/multipath-tools-0.5.0-systemd-230.patch new file mode 100644 index 0000000..289b2b3 --- /dev/null +++ b/multipath-tools-0.5.0-systemd-230.patch @@ -0,0 +1,24 @@ +diff -Nru multipath-tools-0.5.0.orig/libmultipath/Makefile multipath-tools-0.5.0/libmultipath/Makefile +--- multipath-tools-0.5.0.orig/libmultipath/Makefile 2013-12-17 22:40:41.000000000 +0100 ++++ multipath-tools-0.5.0/libmultipath/Makefile 2016-07-03 13:32:46.336843979 +0200 +@@ -9,7 +9,7 @@ + LIBS = $(DEVLIB).$(SONAME) + LIBDEPS = -lpthread -ldl -ldevmapper -ludev + ifdef SYSTEMD +- LIBDEPS += -lsystemd-daemon ++ LIBDEPS += -lsystemd + endif + + OBJS = memory.o parser.o vector.o devmapper.o callout.o \ +diff -Nru multipath-tools-0.5.0.orig/multipathd/Makefile multipath-tools-0.5.0/multipathd/Makefile +--- multipath-tools-0.5.0.orig/multipathd/Makefile 2016-07-03 12:02:00.666712383 +0200 ++++ multipath-tools-0.5.0/multipathd/Makefile 2016-07-03 13:33:06.479839184 +0200 +@@ -11,7 +11,7 @@ + endif + LDFLAGS += -lpthread -ldevmapper -lreadline -ltermcap + ifdef SYSTEMD +- LDFLAGS += -lsystemd-daemon ++ LDFLAGS += -lsystemd + endif + LDFLAGS += -ludev -ldl \ + -L$(multipathdir) -lmultipath -L$(mpathpersistdir) -lmpathpersist diff --git a/multipath-tools.spec b/multipath-tools.spec index db7c9b3..e9bdc39 100644 --- a/multipath-tools.spec +++ b/multipath-tools.spec @@ -1,6 +1,6 @@ Name: multipath-tools Version: 0.5.0 -Release: 1mamba +Release: 2mamba Summary: Tools for multipath connectivity Group: System/Tools Vendor: openmamba @@ -9,6 +9,7 @@ Packager: Silvan Calarco URL: http://christophe.varoqui.free.fr/ Source: http://christophe.varoqui.free.fr/multipath-tools/multipath-tools-%{version}.tar.bz2 Patch0: multipath-tools-0.5.0-readline-link-with-termcap.patch +Patch1: multipath-tools-0.5.0-systemd-230.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -19,6 +20,7 @@ BuildRequires: libsystemd-devel BuildRequires: libtermcap-devel BuildRequires: libudev-devel ## AUTOBUILDREQ-END +BuildRequires: libsystemd-devel >= 230-1mamba Requires(post): systemd-core Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -46,6 +48,7 @@ This package contains libraries and header files for developing applications tha %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %make libudevdir=/lib/udev unitdir=%{_unitdir} @@ -121,5 +124,8 @@ fi %changelog +* Sun Jul 03 2016 Silvan Calarco 0.5.0-2mamba +- rebuilt by autoport with build requirements: libsystemd-devel>=230-1mamba + * Mon Jun 23 2014 Silvan Calarco 0.5.0-1mamba - package created using the webbuild interface