update version to 2.14

This commit is contained in:
shangyibin 2021-12-17 15:29:03 +08:00
parent 44d4f74fdc
commit 1c5a897328
4 changed files with 29 additions and 2 deletions

View File

@ -0,0 +1,22 @@
From 0677666f65b988b2dd44d02966a08fea490d5883 Mon Sep 17 00:00:00 2001
From: Petri Lehtinen <petri@digip.org>
Date: Thu, 9 Sep 2021 21:53:11 +0300
Subject: [PATCH] Fix the check-exports tests for versioned symbols
---
test/suites/api/check-exports | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/suites/api/check-exports b/test/suites/api/check-exports
index 2b6b3c79..5c82064c 100755
--- a/test/suites/api/check-exports
+++ b/test/suites/api/check-exports
@@ -15,7 +15,7 @@ grep 'json_\|jansson_' $top_srcdir/src/jansson.def \
nm -D $SOFILE >/dev/null >$test_log/symbols 2>/dev/null \
|| exit 77 # Skip if "nm -D" doesn't seem to work
-grep ' [DT] ' $test_log/symbols | cut -d' ' -f3 | grep -v '^_' | sort >$test_log/output
+grep ' [DT] ' $test_log/symbols | cut -d' ' -f3 | grep -v '^_' | sed 's/@@libjansson.*//' | sort >$test_log/output
if ! cmp -s $test_log/exports $test_log/output; then
diff -u $test_log/exports $test_log/output >&2

Binary file not shown.

BIN
jansson-2.14.tar.bz2 Normal file

Binary file not shown.

View File

@ -1,11 +1,13 @@
Name: jansson
Version: 2.13.1
Release: 4
Version: 2.14
Release: 1
Summary: A C library for encoding, decoding and manipulating JSON data
License: MIT
URL: http://www.digip.org/jansson/
Source0: https://digip.org/jansson/releases/%{name}-%{version}.tar.bz2
Patch6000: Fix-the-check-exports-tests-for-versioned-symbols.patch
BuildRequires: gcc python-sphinx
%description
@ -53,6 +55,9 @@ make check
%doc CHANGES
%changelog
* Sat Dec 25 2021 shangyibin <shangyibin1@huawei> - 2.14-1
- DESC:upgrade to 2.14
* Sat Aug 8 2020 shixuantong <shixuantong@huawei> - 2.13.1-4
- Type:NA
- ID:NA