Run autoreconf and gettext-devel added to solve FTBFS

This commit is contained in:
Honza Horak 2014-08-18 10:27:44 +02:00
parent 7ced839de6
commit 2da2ba756f
2 changed files with 14 additions and 3 deletions

View File

@ -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

View File

@ -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