[packages/libfastjson] Up to 1.2609.0

arekm arekm at pld-linux.org
Thu Oct 29 08:41:27 CET 2026


commit b8cce4732e0c68145ebcafc880273a50bb39db27
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Oct 28 23:58:30 2026 +0100

    Up to 1.2609.0
    
    Fixes CVE-2020-12762.

 libfastjson.spec | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/libfastjson.spec b/libfastjson.spec
index de6c0d2..4e3fc01 100644
--- a/libfastjson.spec
+++ b/libfastjson.spec
@@ -1,16 +1,17 @@
 #
 # Conditional build:
 %bcond_without	static_libs	# static library
+%bcond_without	tests		# unit tests
 #
 Summary:	A JSON implementation in C
 Summary(pl.UTF-8):	Implementacja JSON w C
 Name:		libfastjson
-Version:	0.99.8
-Release:	3
+Version:	1.2609.0
+Release:	1
 License:	MIT
 Group:		Libraries
 Source0:	https://download.rsyslog.com/libfastjson/%{name}-%{version}.tar.gz
-# Source0-md5:	fe7b4eae1bf40499f6f92b51d7e5899e
+# Source0-md5:	705ab0fe2520a7642e86d1e78bcbcb8f
 URL:		https://github.com/rsyslog/libfastjson
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -60,6 +61,10 @@ Statyczna biblioteka LIBFASTJSON.
 
 %{__make}
 
+%if %{with tests}
+%{__make} check
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libfastjson.git/commitdiff/b8cce4732e0c68145ebcafc880273a50bb39db27



More information about the pld-cvs-commit mailing list