diff --git a/bc.spec b/bc.spec index c8ef50c..3e80f3d 100644 --- a/bc.spec +++ b/bc.spec @@ -9,6 +9,7 @@ Source: ftp://ftp.gnu.org/gnu/bc/bc-%{version}.tar.bz2 Patch1: bc-1.06-readline42.patch Patch2: bc-1.06-s390.patch Patch3: bc-1.06-info_exp_bessel.patch +Patch4: bc-1.06-flex.patch Requires(post): /sbin/install-info grep mktemp Requires(preun): /sbin/install-info Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -28,8 +29,11 @@ if you would like to use its text mode calculator. %patch1 -p1 -b .rl22 %patch2 -p1 -b .s390 %patch3 -p1 -b .info_exp_bessel +%patch4 -p1 -b .flexparameter %build +aclocal +automake -f --add-missing autoconf %configure --with-readline make %{?_smp_mflags} @@ -76,6 +80,8 @@ exit 0 - use make install DESTDIR=... - convert changelog to utf-8 - use smp flags +- use 'flex -I' instead 'flex -I8' (not supported anymore) +- run autofoo stuff to update files for current automake * Tue Jan 23 2007 Florian La Roche - scripts should never fail: rhbz#223677