Update to 0.16.6

This commit is contained in:
Guido Aulisi 2020-10-04 15:20:08 +02:00
parent 847c91c07d
commit 497a421371
3 changed files with 11 additions and 7 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/sord-0.16.0.tar.bz2
/sord-0.16.2.tar.bz2
/sord-0.16.4.tar.bz2
/sord-0.16.6.tar.bz2

View File

@ -2,8 +2,8 @@
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: sord
Version: 0.16.4
Release: 6%{?dist}
Version: 0.16.6
Release: 1%{?dist}
Summary: A lightweight Resource Description Framework (RDF) C library
License: ISC
@ -37,7 +37,7 @@ This package contains the headers and development libraries for %{name}.
%prep
%setup -q
# we'll run ldconfig, and add our optflags
# Do not run ldconfig, and add our optflags
sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
-e "s|cflags = [ '-DSORD_INTERNAL' ]\
|cflags = [ '-DSORD_INTERNAL' ] + '%optflags'.split(' ') |" wscript
@ -51,7 +51,7 @@ CFLAGS+=" -O1"
CXXFLAGS+=" -O1"
%endif
export LINKFLAGS="%{__global_ldflags}"
python3 waf configure \
%{python3} waf configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
@ -59,10 +59,10 @@ python3 waf configure \
--docdir=%{_pkgdocdir} \
--test \
--docs
python3 waf build -v %{?_smp_mflags}
%{python3} waf build -v %{?_smp_mflags}
%install
DESTDIR=%{buildroot} python3 waf install
DESTDIR=%{buildroot} %{python3} waf install
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
install -pm 644 AUTHORS NEWS README.md COPYING %{buildroot}%{_pkgdocdir}
@ -84,6 +84,9 @@ install -pm 644 AUTHORS NEWS README.md COPYING %{buildroot}%{_pkgdocdir}
%{_mandir}/man3/%{name}*.3*
%changelog
* Sun Oct 04 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.6-1
- Update to 0.16.6
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (sord-0.16.4.tar.bz2) = 98bb102cff5ab38d999c2f966597508076ccce54583a739810b0c28b4f3d570b2ef414605fc08361ecb11ac3184d3176f2f50c7c59c06cc50c3d522e26ed5576
SHA512 (sord-0.16.6.tar.bz2) = 1d3c2bf47ff7e4b533e4e737e2ece8e29bace78bb00c41a252ad5c583abdcba3baa05b189cb8651c212861a2eea3c690354c99d684fd0f343b40e74c94572f98