Accepting request 98787 from home:dirkmueller:branches:M17N
- rebuild for ppc64 and ia64 (bnc#726769) OBS-URL: https://build.opensuse.org/request/show/98787 OBS-URL: https://build.opensuse.org/package/show/M17N/xemacs?expand=0&rev=34
This commit is contained in:
parent
36c601bdf5
commit
294bf6d3b0
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
|
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
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: xemacs
|
Name: xemacs
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: canna-devel
|
BuildRequires: canna-devel
|
||||||
@ -117,6 +116,7 @@ macros.
|
|||||||
Requires: xemacs == %{version}-%{release}
|
Requires: xemacs == %{version}-%{release}
|
||||||
Requires: xemacs-packages-el
|
Requires: xemacs-packages-el
|
||||||
Summary: Emacs-Lisp source files for XEmacs
|
Summary: Emacs-Lisp source files for XEmacs
|
||||||
|
Group: Productivity/Editors/Emacs
|
||||||
%if 0%{?suse_version} >= 1120
|
%if 0%{?suse_version} >= 1120
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
@ -131,6 +131,7 @@ at the Lisp sources.
|
|||||||
%package -n xemacs-info
|
%package -n xemacs-info
|
||||||
Requires: xemacs-packages-info
|
Requires: xemacs-packages-info
|
||||||
Summary: Info Files for XEmacs
|
Summary: Info Files for XEmacs
|
||||||
|
Group: Productivity/Editors/Emacs
|
||||||
%if 0%{?suse_version} >= 1120
|
%if 0%{?suse_version} >= 1120
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
@ -197,6 +198,16 @@ chmod -R u+w *
|
|||||||
# byte compiled:
|
# byte compiled:
|
||||||
find . | xargs touch -r .
|
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
|
%build
|
||||||
#libtoolize --force
|
#libtoolize --force
|
||||||
#autoreconf --force --install --verbose
|
#autoreconf --force --install --verbose
|
||||||
|
Loading…
Reference in New Issue
Block a user