Accepting request 157513 from home:seife:branches:editors

fix build with automake-1.13.1

OBS-URL: https://build.opensuse.org/request/show/157513
OBS-URL: https://build.opensuse.org/package/show/editors/joe?expand=0&rev=16
This commit is contained in:
Ismail Dönmez 2013-03-06 18:35:44 +00:00 committed by Git OBS Bridge
parent 93b7170e25
commit dc101a6822
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 6 14:57:01 UTC 2013 - seife+obs@b1-systems.com
- fix build with automake-1.13.1
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 2 07:22:25 UTC 2011 - coolo@suse.com Fri Dec 2 07:22:25 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package joe # spec file for package joe
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 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,14 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: joe Name: joe
BuildRequires: automake BuildRequires: automake
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
License: GPL-2.0+
Group: Productivity/Editors/Other
Version: 3.7 Version: 3.7
Release: 0 Release: 0
Summary: A Text Editor Summary: A Text Editor
License: GPL-2.0+
Group: Productivity/Editors/Other
Url: http://sourceforge.net/projects/joe-editor Url: http://sourceforge.net/projects/joe-editor
Source0: http://downloads.sourceforge.net/joe-editor/%{name}-%{version}.tar.gz Source0: http://downloads.sourceforge.net/joe-editor/%{name}-%{version}.tar.gz
Source2: de.po Source2: de.po
@ -93,6 +94,9 @@ iconv -f KOI8-U -t UTF-8 po/uk.po | \
sed 's/charset=koi8-u/charset=UTF-8/' > po/uk.po.tmp && \ sed 's/charset=koi8-u/charset=UTF-8/' > po/uk.po.tmp && \
mv -f po/uk.po.tmp po/uk.po mv -f po/uk.po.tmp po/uk.po
# new automake-1.13.1 removed old macro
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
%build %build
autoreconf -fi autoreconf -fi
export CFLAGS="%{optflags} -W -Wno-unused" export CFLAGS="%{optflags} -W -Wno-unused"