Accepting request 98824 from M17N

- rebuild for ppc64 and ia64 (bnc#726769) (forwarded request 98787 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/98824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xemacs?expand=0&rev=62
This commit is contained in:
Stephan Kulow 2012-01-05 18:16:36 +00:00 committed by Git OBS Bridge
commit 986d420b54
3 changed files with 38 additions and 2 deletions

20
check-build.sh Normal file
View File

@ -0,0 +1,20 @@
#!/bin/bash
case $BUILD_BASENAME in
*ppc*)
if test $(getconf PAGESIZE) -ne 65536; then
echo "Error: wrong build host, PAGESIZE must be 65536"
exit 1
fi
;;
*ia64*)
if test $(getconf PAGESIZE) -ne 65536; then
echo "Error: wrong build host, PAGESIZE must be 65536"
exit 1
fi
;;
*)
;;
esac
exit 0

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 4 16:17:08 CET 2012 - dmueller@suse.de
- rebuild for ppc64 and ia64 (bnc#726769)
-------------------------------------------------------------------
Wed Dec 21 13:45:26 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package xemacs
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: xemacs
BuildRequires: autoconf
BuildRequires: canna-devel
@ -117,6 +116,7 @@ macros.
Requires: xemacs == %{version}-%{release}
Requires: xemacs-packages-el
Summary: Emacs-Lisp source files for XEmacs
Group: Productivity/Editors/Emacs
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
@ -131,6 +131,7 @@ at the Lisp sources.
%package -n xemacs-info
Requires: xemacs-packages-info
Summary: Info Files for XEmacs
Group: Productivity/Editors/Emacs
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
@ -197,6 +198,16 @@ chmod -R u+w *
# byte compiled:
find . | xargs touch -r .
# make sure that the binaries work (pagesize on build must be the same as on target, bnc#726769)
%if %suse_version >= 1110
%ifarch ppc ppc64 ia64
%if %(getconf PAGESIZE) != 65536
%error "Error: wrong build host, PAGESIZE must be 65536"
exit 1
%endif
%endif
%endif
%build
#libtoolize --force
#autoreconf --force --install --verbose