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:
commit
986d420b54
20
check-build.sh
Normal file
20
check-build.sh
Normal 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
|
||||
|
@ -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
|
||||
|
||||
|
15
xemacs.spec
15
xemacs.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user