Fix build for aarch64

This commit is contained in:
Honza Horák 2013-03-25 17:03:08 +01:00
parent d844e8318c
commit b945156ea7
2 changed files with 19 additions and 1 deletions

12
yp-tools-gettext.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up yp-tools-2.12/configure.in.aarch2 yp-tools-2.12/configure.in
--- yp-tools-2.12/configure.in.aarch2 2010-04-21 11:57:29.000000000 +0200
+++ yp-tools-2.12/configure.in 2013-03-25 16:56:59.131501212 +0100
@@ -108,7 +108,7 @@ else
fi
dnl internationalization macros
-AM_GNU_GETTEXT_VERSION
+AM_GNU_GETTEXT_VERSION(0.18)
AM_GNU_GETTEXT([external])
AC_OUTPUT([Makefile lib/Makefile src/Makefile man/Makefile

View File

@ -1,7 +1,7 @@
Summary: NIS (or YP) client programs
Name: yp-tools
Version: 2.12
Release: 12%{?dist}
Release: 13%{?dist}
License: GPLv2
Group: System Environment/Base
Source: http://www.linux-nis.org/download/yp-tools/yp-tools-%{version}.tar.bz2
@ -12,6 +12,7 @@ Patch2: yp-tools-2.12-gethost.patch
Patch3: yp-tools-2.12-hash.patch
Patch4: yp-tools-2.12-crypt.patch
Patch5: yp-tools-2.12-adjunct.patch
Patch6: yp-tools-gettext.patch
Url: http://www.linux-nis.org/nis/yp-tools/index.html
Requires: ypbind
@ -43,6 +44,8 @@ you'll need to install the ypserv package on one machine on the network.
%patch3 -p1 -b .hash
%patch4 -p1 -b .crypt
%patch5 -p1 -b .adjunct
%patch6 -p1 -b .gettext
autoreconf -i -f
%build
%configure --disable-domainname
@ -62,6 +65,9 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install
/var/yp/nicknames
%changelog
* Mon Mar 25 2013 Honza Horak <hhorak@redhat.com> - 2.12-13
- Fix build for aarch64
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild