From d0ede79400bf0a3bd98c5c8dec1e7606303071be Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Thu, 26 Jul 2018 08:58:54 +0000 Subject: [PATCH] Update to 0.30.0 Remove ldconfig scriptlets Minor spec cleanup See https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets --- .gitignore | 1 + serd.spec | 34 ++++++++++++++++------------------ sources | 2 +- 3 files changed, 18 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index 77c15d2..bfba3d8 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /serd-0.22.0.tar.bz2 /serd-0.26.0.tar.bz2 /serd-0.28.0.tar.bz2 +/serd-0.30.0.tar.bz2 diff --git a/serd.spec b/serd.spec index a476c19..e126521 100644 --- a/serd.spec +++ b/serd.spec @@ -1,8 +1,8 @@ %global maj 0 Name: serd -Version: 0.28.0 -Release: 5%{?dist} +Version: 0.30.0 +Release: 1%{?dist} Summary: A lightweight C library for RDF syntax License: ISC @@ -13,19 +13,16 @@ BuildRequires: doxygen BuildRequires: graphviz BuildRequires: glib2-devel BuildRequires: python2 -BuildRequires: python2-rpm-macros +BuildRequires: python2-devel BuildRequires: gcc %description %{name} is a lightweight C library for RDF syntax which supports reading and -writing Turtle and NTriples. +writing Turtle, TRiG, NTriples, and NQuads. -Serd is not intended to be a swiss-army knife of RDF syntax, but rather is -suited to resource limited or performance critical applications (e.g. -converting many gigabytes of NTriples to Turtle), or situations where a -simple reader/writer with minimal dependencies is ideal (e.g. in LV2 -implementations or embedded applications).is a library to make the use of -LV2 plugins as simple as possible for applications. +Serd is suitable for performance-critical or resource-limited applications, +such as serialising very large data sets, network protocols, or embedded +systems that require minimal dependencies and lightweight deployment. %package devel Summary: Development libraries and headers for %{name} @@ -33,18 +30,18 @@ Requires: %{name}%{_isa} = %{version}-%{release} %description devel %{name} is a lightweight C library for RDF syntax which supports reading and -writing Turtle and NTriples. +writing Turtle, TRiG, NTriples, and NQuads. This package contains the headers and development libraries for %{name}. %prep %setup -q -# we'll run ldconfig +# we'll run ldconfig, well not any more, see +# https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript %build -export CFLAGS="%{optflags}" -export LDFLAGS="%{__global_ldflags}" +%set_build_flags %{__python2} waf configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ @@ -62,10 +59,6 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.* install -d %{buildroot}%{_docdir}/%{name}/%{name}-%{maj} mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}/html -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - %files %license COPYING %doc AUTHORS NEWS README.md @@ -81,6 +74,11 @@ mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{n %{_includedir}/%{name}-%{maj}/ %changelog +* Thu Jul 26 2018 Guido Aulisi - 0.30.0-1 +- Update to 0.30.0 +- Remove ldconfig scriptlets +- Minor spec cleanup + * Sun Jul 15 2018 Guido Aulisi - 0.28.0-5 - Fix FTBFS due to the move of /usr/bin/python into a separate package diff --git a/sources b/sources index 550ed4b..0bcf12b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serd-0.28.0.tar.bz2) = b25cc70af17ff821812ab2a70c2812c1713ff811a0f18fb5d5c54f3b67e0c68293aabedfacd687afe6b7acdfd81602ef81764d7e11bc0d933de738bc6d4fce3e +SHA512 (serd-0.30.0.tar.bz2) = 23ff30f2d3dd622bdd65deee36cb92ae5f4a0c539cf32a1bd9802f2d7cf4aa3e96f25d2fe579277d1ab943f6d25c0be68d7b4863f83d4733f489462620a4c1bb