From 6dc0cc16986b3635ea2ec9df09e3429ddae8bf90 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Oct 04 2016 07:18:26 +0000 Subject: Fix the build on EPEL 7 --- diff --git a/lash.spec b/lash.spec index 60946e6..792a426 100644 --- a/lash.spec +++ b/lash.spec @@ -3,7 +3,7 @@ Summary: LASH Audio Session Handler Name: lash Version: 0.5.4 -Release: 25%{?dist} +Release: 26%{?dist} License: GPLv2+ Group: System Environment/Libraries URL: http://www.nongnu.org/lash/ @@ -66,7 +66,11 @@ LASH. %patch3 -p1 -b .texi2html # Hack to build against newer swig +%if 0%{?rhel} +sed -i 's|1.3.31|2.0.0|g' configure* +%else sed -i 's|1.3.31|3.0.0|g' configure* +%endif %build export am_cv_python_pythondir=%{python_sitearch} @@ -164,6 +168,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{python_sitearch}/lash.py* %changelog +* Tue Oct 04 2016 Pete Walter - 0.5.4-26 +- Fix the build on EPEL 7 + * Tue Jul 19 2016 Fedora Release Engineering - 0.5.4-25 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages