diff --git a/apron.spec b/apron.spec index 32d4c5a..20e1b20 100644 --- a/apron.spec +++ b/apron.spec @@ -124,6 +124,9 @@ sed -e "s|\$(OCAMLMKLIB) -L.*|& -g -ldopt '$RPM_LD_FLAGS'|" \ -e "/CMXS/s|-linkall|-ccopt '$RPM_LD_FLAGS' &|" \ -i vars.mk +# The "java -version" output has an extra line we don't want +sed -i 's/head -1/head -2 | tail -1/' configure + %build # This is NOT an autoconf-generated script. Do not use %%configure export CPPFLAGS="-D_GNU_SOURCE"