diff --git a/lilv.spec b/lilv.spec index 84c15a3..010dc1c 100644 --- a/lilv.spec +++ b/lilv.spec @@ -3,7 +3,7 @@ Name: lilv Version: 0.24.2 -Release: 8%{?dist} +Release: 9%{?dist} Summary: An LV2 Resource Description Framework Library License: MIT @@ -18,6 +18,8 @@ BuildRequires: python2-devel BuildRequires: swig BuildRequires: numpy BuildRequires: serd-devel >= 0.14.0 +BuildRequires: gcc +BuildRequires: gcc-c++ %description %{name} is a library to make the use of LV2 plugins as simple as possible @@ -56,14 +58,14 @@ sed -i -e "s|'-ftest-coverage'\]|\ %build export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" export LINKFLAGS="%{__global_ldflags}" -./waf configure -v --prefix=%{_prefix}\ +%{__python2} waf configure -v --prefix=%{_prefix}\ --libdir=%{_libdir} --configdir=%{_sysconfdir} --mandir=%{_mandir}\ --docdir=%{_pkgdocdir}\ - --docs --test --dyn-manifest --bindings -./waf -v build %{?_smp_mflags} + --docs --test --dyn-manifest --bindings +%{__python2} waf -v build %{?_smp_mflags} %install -./waf -v install --destdir=%{buildroot} +%{__python2} waf -v install --destdir=%{buildroot} chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.* %post -p /sbin/ldconfig @@ -96,6 +98,10 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.* %{python2_sitelib}/%{name}.* %changelog +* Sun Jul 15 2018 Guido Aulisi - 0.24.2-9 +- Fix FTBFS due to the move of /usr/bin/python into a separate package +- Add BR for gcc and gcc-c++ + * Fri Jul 13 2018 Fedora Release Engineering - 0.24.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild