Fix FTBFS due to the move of /usr/bin/python into a separate package

See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package

Add BR for gcc and gcc-c++
epel9
Guido Aulisi 7 years ago
parent e000c1c05f
commit aaa84e9cb9

@ -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 <guido.aulisi@gmail.com> - 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 <releng@fedoraproject.org> - 0.24.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

Loading…
Cancel
Save