From 2da2ba756f21ed8fad92ca2a053085a729217f08 Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Mon, 18 Aug 2014 10:27:44 +0200 Subject: [PATCH] Run autoreconf and gettext-devel added to solve FTBFS --- ypbind-systemdso.patch | 12 ++++++++++++ ypbind.spec | 5 ++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ypbind-systemdso.patch b/ypbind-systemdso.patch index ab8f0c6..a0230dd 100644 --- a/ypbind-systemdso.patch +++ b/ypbind-systemdso.patch @@ -14,3 +14,15 @@ diff -up ypbind-mt-1.37.2/configure.in.systemdso ypbind-mt-1.37.2/configure.in LIBSYSTEMD_DAEMON="") fi if test -n "$LIBSYSTEMD_DAEMON" ; then +diff -up ypbind-mt-1.37.2/configure.in.debug ypbind-mt-1.37.2/configure.in +--- ypbind-mt-1.37.2/configure.in.debug 2014-08-18 10:14:39.068078086 +0200 ++++ ypbind-mt-1.37.2/configure.in 2014-08-18 10:15:03.259077698 +0200 +@@ -121,7 +121,7 @@ AC_SUBST(USE_SD_NOTIFY) + AC_SUBST(LIBSYSTEMD_DAEMON) + + dnl internationalization macros +-AM_GNU_GETTEXT_VERSION ++AM_GNU_GETTEXT_VERSION(0.17) + AM_GNU_GETTEXT([external]) + + dnl By default, don't send a ping to all server at the same time diff --git a/ypbind.spec b/ypbind.spec index 61293f9..28d323c 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -27,6 +27,7 @@ BuildRequires: dbus-glib-devel, docbook-style-xsl BuildRequires: systemd BuildRequires: systemd-devel BuildRequires: autoconf, automake +BuildRequires: gettext-devel %description The Network Information Service (NIS) is a system that provides @@ -51,9 +52,7 @@ also need to install the ypserv package to a machine on your network. %patch2 -p1 -b .helpman %patch3 -p1 -b .systemdso -autoconf -aclocal -automake --add-missing +autoreconf -fiv %build %ifarch s390 s390x