Update to 0.16.0

Use hardened LDFLAGS
Use license macro
This commit is contained in:
Guido Aulisi 2017-03-17 09:40:29 +01:00
parent ea3cb640b2
commit 409eab2ffb
3 changed files with 14 additions and 4 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/sord-0.10.4.tar.bz2
/sord-0.12.0.tar.bz2
/sord-0.12.2.tar.bz2
/sord-0.16.0.tar.bz2

View File

@ -2,8 +2,8 @@
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: sord
Version: 0.12.2
Release: 10%{?dist}
Version: 0.16.0
Release: 1%{?dist}
Summary: A lightweight Resource Description Framework (RDF) C library
Group: System Environment/Libraries
@ -16,7 +16,8 @@ BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: glib2-devel
BuildRequires: python
BuildRequires: serd-devel >= 0.14.0
BuildRequires: serd-devel >= 0.22.4
BuildRequires: gcc-c++
%description
%{name} is a lightweight C library for storing Resource Description
@ -45,6 +46,7 @@ sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
%build
export CXXFLAGS="%{optflags}"
export CFLAGS="%{optflags}"
export LINKFLAGS="%{__global_ldflags}"
./waf configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
@ -67,6 +69,8 @@ install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir}
%files
%{_pkgdocdir}
%exclude %{_pkgdocdir}/%{name}-%{maj}/
%exclude %{_pkgdocdir}/COPYING
%license COPYING
%{_libdir}/lib%{name}-%{maj}.so.*
%{_bindir}/sordi
%{_bindir}/sord_validate
@ -80,6 +84,11 @@ install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir}
%{_mandir}/man3/%{name}*.3*
%changelog
* Tue Mar 14 2017 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.0-1
- Update to 0.16.0
- Use hardened LDFLAGS
- Use license macro
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

View File

@ -1 +1 @@
55d5866650b92ab64eda08fcc73aa425 sord-0.12.2.tar.bz2
SHA512 (sord-0.16.0.tar.bz2) = e18c6de62f2cbffedd4c200f6452f4fd37f719aed764ccc1b77c8da04a0f3394d47e8b57e19eefd6d600770926f505fdfa5da91564bbff5f4ead49f1adaba249