diff --git a/sord.spec b/sord.spec index fcc8f2c..f1fb155 100644 --- a/sord.spec +++ b/sord.spec @@ -3,7 +3,7 @@ Name: sord Version: 0.16.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A lightweight Resource Description Framework (RDF) C library Group: System Environment/Libraries @@ -16,7 +16,9 @@ BuildRequires: doxygen BuildRequires: graphviz BuildRequires: glib2-devel BuildRequires: python2 +BuildRequires: python2-rpm-macros BuildRequires: serd-devel >= 0.22.4 +BuildRequires: gcc BuildRequires: gcc-c++ %description @@ -47,7 +49,7 @@ sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \ export CXXFLAGS="%{optflags}" export CFLAGS="%{optflags}" export LINKFLAGS="%{__global_ldflags}" -./waf configure \ +%{__python2} waf configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ @@ -55,10 +57,10 @@ export LINKFLAGS="%{__global_ldflags}" --docdir=%{_pkgdocdir} \ --test \ --docs -./waf build -v %{?_smp_mflags} +%{__python2} waf build -v %{?_smp_mflags} %install -DESTDIR=%{buildroot} ./waf install +DESTDIR=%{buildroot} %{__python2} waf install chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.* install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir} @@ -84,6 +86,9 @@ install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir} %{_mandir}/man3/%{name}*.3* %changelog +* Sun Jul 15 2018 Guido Aulisi - 0.16.0-6 +- Fix FTBFS due to the move of /usr/bin/python into a separate package + * Sat Jul 14 2018 Fedora Release Engineering - 0.16.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild