From 1f7a276958d82b7fc212f47e711bb27e334dca9c029fbbae82a51440b2d71c2c Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 16 Oct 2018 14:49:20 +0000 Subject: [PATCH] bsc#1112014 OBS-URL: https://build.opensuse.org/package/show/Publishing/a2ps?expand=0&rev=73 --- a2ps.changes | 5 +++++ a2ps.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/a2ps.changes b/a2ps.changes index 10c3426..a998338 100644 --- a/a2ps.changes +++ b/a2ps.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 16 14:40:35 UTC 2018 - werner@suse.de + +- Make LFS support work on 32bit architectures (bsc#1112014) + ------------------------------------------------------------------- Mon Jul 16 09:50:16 UTC 2018 - bwiedemann@suse.com diff --git a/a2ps.spec b/a2ps.spec index 4f70f9c..76ed197 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -1,7 +1,7 @@ # # spec file for package a2ps # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Name: a2ps Version: 4.14 Release: 0 Summary: Converts ASCII Text into PostScript -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Publishing/PS Url: http://www.gnu.org/software/a2ps/a2ps.html Source0: http://ftp.gnu.org/gnu/a2ps/%{name}-%{version}.tar.gz @@ -51,6 +51,7 @@ Patch17: a2ps-buildcompare.patch Patch18: reproducible.patch BuildRequires: autoconf BuildRequires: automake +BuildRequires: bison BuildRequires: emacs-nox BuildRequires: flex BuildRequires: ghostscript-fonts-std @@ -58,7 +59,6 @@ BuildRequires: gv BuildRequires: psutils BuildRequires: texlive-latex BuildRequires: timezone -BuildRequires: bison Requires: file Requires: ghostscript-fonts-std Requires: glibc @@ -142,7 +142,7 @@ find -name Makefile.in | xargs touch #YYY: Not a hack and it is necessary!! # The a2ps source is much to old to (re)run auto conf tools cp -p %{_datadir}/automake-*/config.{guess,sub} auxdir/ - export CFLAGS="%{optflags} -D_GNU_SOURCE -funroll-loops -Wall -pipe -fstack-protector -fPIE" + export CFLAGS="%{optflags} -D_GNU_SOURCE $(getconf LFS_CFLAGS) -funroll-loops -Wall -pipe -fstack-protector -fPIE" export LPR=lpr export CC=gcc export TZ=UTC