diff --git a/a2ps.changes b/a2ps.changes index 4d5c829..2e1ac60 100644 --- a/a2ps.changes +++ b/a2ps.changes @@ -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 diff --git a/a2ps.spec b/a2ps.spec index 1ab2ef5..7968957 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -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