public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Carl George <carlwgeorge@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/cjson] rawhide: Update to version 1.7.19
Date: Tue, 07 Jul 2026 03:58:55 GMT [thread overview]
Message-ID: <178339673531.1.1774250589279963195.rpms-cjson-c142fcfa02d4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/cjson
Branch : rawhide
Commit : c142fcfa02d47c97dd864de58f437319266b1b12
Author : Carl George <carlwgeorge@gmail.com>
Date : 2026-07-01T01:05:04-05:00
Stats : +32/-12 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/cjson/c/c142fcfa02d47c97dd864de58f437319266b1b12?branch=rawhide
Log:
Update to version 1.7.19
... rhbz#2394084
---
diff --git a/.gitignore b/.gitignore
index 4cb234a..d2c3035 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1 @@
-/cjson-1.7.14.tar.gz
-/cjson-1.7.15.tar.gz
-/cjson-1.7.17.tar.gz
-/cjson-1.7.18.tar.gz
+/cjson-*.tar.gz
diff --git a/0001-upgrade-version-of-cmake_minimum_required-986.patch b/0001-upgrade-version-of-cmake_minimum_required-986.patch
new file mode 100644
index 0000000..7598e7a
--- /dev/null
+++ b/0001-upgrade-version-of-cmake_minimum_required-986.patch
@@ -0,0 +1,23 @@
+From 40675943213e55d153b0411ce95915cfb69e5a7d Mon Sep 17 00:00:00 2001
+From: Lee <peteralfredlee@gmail.com>
+Date: Sat, 7 Feb 2026 17:13:51 +0800
+Subject: [PATCH] upgrade version of cmake_minimum_required (#986)
+
+github actions fix
+
+(cherry picked from commit a29814f285cc531c00223743ad3c55cd38c0dc56)
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c7ca27f..59e4af5 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,5 +1,5 @@
+ set(CMAKE_LEGACY_CYGWIN_WIN32 0)
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.5)
+
+ project(cJSON
+ VERSION 1.7.19
diff --git a/cjson.spec b/cjson.spec
index 45dc32d..1ff711e 100644
--- a/cjson.spec
+++ b/cjson.spec
@@ -1,12 +1,15 @@
Name: cjson
-Version: 1.7.18
+Version: 1.7.19
Release: %autorelease
Summary: Ultralightweight JSON parser in ANSI C
# several files in tests/ are Apache-2.0 but are not packaged
License: MIT
URL: https://github.com/DaveGamble/cJSON
-Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+
+# https://github.com/DaveGamble/cJSON/pull/986
+Patch: 0001-upgrade-version-of-cmake_minimum_required-986.patch
BuildRequires: gcc
BuildRequires: cmake
@@ -26,7 +29,7 @@ The %{name}-devel package contains libraries and header files for
developing applications that use cJSON.
%prep
-%autosetup -n cJSON-%{version}
+%autosetup -p 1 -n cJSON-%{version}
%build
%cmake -DENABLE_CJSON_TEST=ON -DENABLE_TARGET_EXPORT=ON
@@ -39,13 +42,10 @@ rm -f %{buildroot}%{_libdir}/*.{la,a}
%check
%ctest
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
%files
%license LICENSE
%doc README.md
-%{_libdir}/libcjson*.so.*
+%{_libdir}/libcjson.so.1{,.*}
%files devel
%doc CHANGELOG.md CONTRIBUTORS.md
diff --git a/sources b/sources
index 5b0498d..838c61e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cjson-1.7.18.tar.gz) = 2accb507c6b97222eb5f0232c015b356cf6d248d1247049928731aa8e897378245e62395c232b1ec57d28d1e53ac72c849be85e59c33616a382d40473649f66b
+SHA512 (cjson-1.7.19.tar.gz) = 7b22bdd05b8e0bf8b24ab79db128dbab9f8c2c167f4b1d3073922b8ff1e0f0e8917322283d6d4091002f014f42692984f4f641761f05965d3b66fb3eca14dc46
reply other threads:[~2026-07-07 3:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178339673531.1.1774250589279963195.rpms-cjson-c142fcfa02d4@fedoraproject.org \
--to=carlwgeorge@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox