diff --git a/lilv.spec b/lilv.spec index de79090..22dd81b 100644 --- a/lilv.spec +++ b/lilv.spec @@ -3,7 +3,7 @@ Name: lilv Version: 0.24.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: An LV2 Resource Description Framework Library License: MIT @@ -14,7 +14,7 @@ BuildRequires: graphviz BuildRequires: sord-devel >= 0.14.0 BuildRequires: sratom-devel >= 0.4.4 BuildRequires: lv2-devel >= 1.14.0 -BuildRequires: python2-devel +BuildRequires: python3 BuildRequires: swig BuildRequires: numpy BuildRequires: serd-devel >= 0.18.0 @@ -47,14 +47,14 @@ sed -i -e "s|'-ftest-coverage'\]|\ %build %set_build_flags export LINKFLAGS="%{__global_ldflags}" -%{__python2} waf configure -v --prefix=%{_prefix}\ +python3 waf configure -v --prefix=%{_prefix}\ --libdir=%{_libdir} --configdir=%{_sysconfdir} --mandir=%{_mandir}\ --docdir=%{_pkgdocdir}\ --docs --test --dyn-manifest -%{__python2} waf -v build %{?_smp_mflags} +python3 waf -v build %{?_smp_mflags} %install -%{__python2} waf -v install --destdir=%{buildroot} +python3 waf -v install --destdir=%{buildroot} chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.* %check @@ -80,6 +80,9 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.* %{_mandir}/man3/* %changelog +* Wed Nov 21 2018 Guido Aulisi - 0.24.4-4 +- Use Python 3 + * Wed Oct 03 2018 Guido Aulisi - 0.24.4-3 - Remove Python 2 subpackage See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal