From 31bfeb0d13ca8cbb1ec68762b8e4fde51cae1a48 Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Fri, 6 Dec 2019 21:10:58 +0100 Subject: [PATCH] Update to 0.16.4 Use python3 --- .gitignore | 1 + sord.spec | 19 +++++++++++-------- sources | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 2860120..830adbf 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /sord-0.12.2.tar.bz2 /sord-0.16.0.tar.bz2 /sord-0.16.2.tar.bz2 +/sord-0.16.4.tar.bz2 diff --git a/sord.spec b/sord.spec index 4fd97bc..410249e 100644 --- a/sord.spec +++ b/sord.spec @@ -2,8 +2,8 @@ %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: sord -Version: 0.16.2 -Release: 4%{?dist} +Version: 0.16.4 +Release: 1%{?dist} Summary: A lightweight Resource Description Framework (RDF) C library License: ISC @@ -14,8 +14,7 @@ BuildRequires: boost-devel BuildRequires: doxygen BuildRequires: graphviz BuildRequires: glib2-devel -BuildRequires: python2 -BuildRequires: python2-devel +BuildRequires: python3 BuildRequires: serd-devel >= 0.30.0 BuildRequires: gcc BuildRequires: gcc-c++ @@ -46,7 +45,7 @@ sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \ %build %set_build_flags export LINKFLAGS="%{__global_ldflags}" -%{__python2} waf configure \ +python3 waf configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ @@ -54,12 +53,12 @@ export LINKFLAGS="%{__global_ldflags}" --docdir=%{_pkgdocdir} \ --test \ --docs -%{__python2} waf build -v %{?_smp_mflags} +python3 waf build -v %{?_smp_mflags} %install -DESTDIR=%{buildroot} %{__python2} waf install +DESTDIR=%{buildroot} python3 waf install chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.* -install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir} +install -pm 644 AUTHORS NEWS README.md COPYING %{buildroot}%{_pkgdocdir} %files %{_pkgdocdir} @@ -79,6 +78,10 @@ install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir} %{_mandir}/man3/%{name}*.3* %changelog +* Fri Dec 06 2019 Guido Aulisi - 0.16.4-1 +- Update to 0.16.4 +- Use python3 + * Fri Jul 26 2019 Fedora Release Engineering - 0.16.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 285e36f..f18b34e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sord-0.16.2.tar.bz2) = fe143c07ed18c15ffaf2461ca587df76e365a075f5d93f5eaa4c26196e0b1dd59d24d16e176de3664a2658377a2934083af5742c80884e8e7dd201dcaccb9698 +SHA512 (sord-0.16.4.tar.bz2) = 98bb102cff5ab38d999c2f966597508076ccce54583a739810b0c28b4f3d570b2ef414605fc08361ecb11ac3184d3176f2f50c7c59c06cc50c3d522e26ed5576