commit 0a3e13fb372ffce25eb6f3b8ba3f5957de500beb
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Mon May 25 19:08:50 2020 +0100
Fix build on el7
libopenshot.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/libopenshot.spec b/libopenshot.spec
index a677032..2b8f6ff 100644
--- a/libopenshot.spec
+++ b/libopenshot.spec
@@ -44,7 +44,8 @@ developing applications that use %{name}.
%package -n python%{python3_pkgversion}-%{name}
Summary: Python bindings for %{name}
-BuildRequires: swig >= 3.0
+%{?el7:BuildRequires: swig3}
+%{!?el7:BuildRequires: swig}
BuildRequires: python%{python3_pkgversion}-libs
BuildRequires: python%{python3_pkgversion}-devel
Requires: %{name}%{?_isa} = %{version}-%{release}
@@ -103,6 +104,7 @@ make os_test
%changelog
* Wed May 20 2020 Sérgio Basto <sergio(a)serjux.com> - 0.2.5-2
- Rebuild for ImageMagick on el7
+- Fix build on el7
* Sat Mar 07 2020 FeRD (Frank Dana) <ferdnyc(a)gmail.com> - 0.2.5-1
- New upstream release