diff --git a/lash.spec b/lash.spec index da82a26..a692169 100644 --- a/lash.spec +++ b/lash.spec @@ -74,7 +74,7 @@ LASH. %patch3 -p1 -b .texi2html # Hack to build against newer swig -%if 0%{?rhel} +%if 0%{?rhel} && 0%{?rhel} <= 7 sed -i 's|1.3.31|2.0.0|g' configure* %else sed -i 's|1.3.31|3.0.0|g' configure*