Update to 0.30.2

Use python3
epel9
Guido Aulisi 5 years ago
parent c237d5c2e0
commit 56d4ababb1

1
.gitignore vendored

@ -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

@ -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 <guido.aulisi@gmail.com> - 0.30.2-1
- Update to 0.30.2
- Use python3
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

@ -1 +1 @@
SHA512 (serd-0.30.0.tar.bz2) = 23ff30f2d3dd622bdd65deee36cb92ae5f4a0c539cf32a1bd9802f2d7cf4aa3e96f25d2fe579277d1ab943f6d25c0be68d7b4863f83d4733f489462620a4c1bb
SHA512 (serd-0.30.2.tar.bz2) = b1e18ac883aac2a8146ee0e1de553ac2b512deba5307e5c9fa2733d9011ed0777d67790aa6527e73b3f11c9da0d8c9a98227457bb412897296f4464228cac0f7

Loading…
Cancel
Save