Accepting request 122754 from home:puzel:branches:Publishing

- fix build with automake-1.12

OBS-URL: https://build.opensuse.org/request/show/122754
OBS-URL: https://build.opensuse.org/package/show/Publishing/a2ps?expand=0&rev=21
This commit is contained in:
Dr. Werner Fink 2012-05-29 13:43:29 +00:00 committed by Git OBS Bridge
parent a9227cd6a8
commit 95d83c13e2
2 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 29 13:10:11 UTC 2012 - puzel@suse.com
- fix build with automake-1.12
-------------------------------------------------------------------
Tue Feb 21 12:22:10 UTC 2012 - werner@suse.de

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: a2ps
BuildRequires: autoconf
BuildRequires: automake
@ -27,7 +28,12 @@ BuildRequires: texlive-latex
BuildRequires: xorg-x11-devel
Url: http://www.gnu.org/software/a2ps/a2ps.html
Provides: a2ps-bin
Requires: /bin/sed /usr/bin/iconv /usr/bin/file /usr/bin/wdiff /usr/bin/w3m ghostscript-fonts-std
Requires: /bin/sed
Requires: /usr/bin/file
Requires: /usr/bin/iconv
Requires: /usr/bin/w3m
Requires: /usr/bin/wdiff
Requires: ghostscript-fonts-std
Suggests: acroread gv ImageMagick psutils texinfo texlive-latex
PreReq: %{install_info_prereq}
Version: 4.13
@ -66,7 +72,8 @@ latin encodings are supported.
Summary: Library and header file for the interface of a2ps
Group: Development/Libraries/Other
Provides: a2ps:%{_libdir}/liba2ps.a
Requires: %{name} = %{version} glibc-devel
Requires: %{name} = %{version}
Requires: glibc-devel
%description -n a2ps-devel
a2ps converts ASCII text into PostScript. This feature is used by
@ -99,7 +106,8 @@ cp -f %SOURCE1 po/ko.po
rename no nb po/no.*
%build
cp /usr/share/automake-1.11/config.* auxdir/
#XXX: ugly hack; necessary??
cp /usr/share/automake-1.11/config.* auxdir/ || cp /usr/share/automake-1.12/config.* auxdir/
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -funroll-loops -Wall -pipe -fstack-protector"
export LPR=lpr
export CC=gcc