Update to 0.16.4
Use python3
This commit is contained in:
parent
8a5a97fd11
commit
31bfeb0d13
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
19
sord.spec
19
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 <guido.aulisi@gmail.com> - 0.16.4-1
|
||||
- Update to 0.16.4
|
||||
- Use python3
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (sord-0.16.2.tar.bz2) = fe143c07ed18c15ffaf2461ca587df76e365a075f5d93f5eaa4c26196e0b1dd59d24d16e176de3664a2658377a2934083af5742c80884e8e7dd201dcaccb9698
|
||||
SHA512 (sord-0.16.4.tar.bz2) = 98bb102cff5ab38d999c2f966597508076ccce54583a739810b0c28b4f3d570b2ef414605fc08361ecb11ac3184d3176f2f50c7c59c06cc50c3d522e26ed5576
|
||||
|
Loading…
Reference in New Issue
Block a user