From 56d4ababb1a72246612502a2bedefe9ce88a287d Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Fri, 6 Dec 2019 20:28:41 +0100 Subject: [PATCH] Update to 0.30.2 Use python3 --- .gitignore | 1 + serd.spec | 17 ++++++++++------- sources | 2 +- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index bfba3d8..4d3de30 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /serd-0.26.0.tar.bz2 /serd-0.28.0.tar.bz2 /serd-0.30.0.tar.bz2 +/serd-0.30.2.tar.bz2 diff --git a/serd.spec b/serd.spec index a9e274c..60fb677 100644 --- a/serd.spec +++ b/serd.spec @@ -1,8 +1,8 @@ %global maj 0 Name: serd -Version: 0.30.0 -Release: 3%{?dist} +Version: 0.30.2 +Release: 1%{?dist} Summary: A lightweight C library for RDF syntax License: ISC @@ -12,8 +12,7 @@ Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2 BuildRequires: doxygen BuildRequires: graphviz BuildRequires: glib2-devel -BuildRequires: python2 -BuildRequires: python2-devel +BuildRequires: python3 BuildRequires: gcc %description @@ -42,7 +41,7 @@ sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript %build %set_build_flags -%{__python2} waf configure \ +python3 waf configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ @@ -50,10 +49,10 @@ sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript --docdir=%{_docdir} \ --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.* # Move devel docs to the right directory install -d %{buildroot}%{_docdir}/%{name}/%{name}-%{maj} @@ -74,6 +73,10 @@ mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{n %{_includedir}/%{name}-%{maj}/ %changelog +* Fri Dec 06 2019 Guido Aulisi - 0.30.2-1 +- Update to 0.30.2 +- Use python3 + * Fri Jul 26 2019 Fedora Release Engineering - 0.30.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 0bcf12b..4c4cf39 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serd-0.30.0.tar.bz2) = 23ff30f2d3dd622bdd65deee36cb92ae5f4a0c539cf32a1bd9802f2d7cf4aa3e96f25d2fe579277d1ab943f6d25c0be68d7b4863f83d4733f489462620a4c1bb +SHA512 (serd-0.30.2.tar.bz2) = b1e18ac883aac2a8146ee0e1de553ac2b512deba5307e5c9fa2733d9011ed0777d67790aa6527e73b3f11c9da0d8c9a98227457bb412897296f4464228cac0f7