Accepting request 947376 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/947376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libjansson?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2022-01-21 00:25:07 +00:00 committed by Git OBS Bridge
commit a5e3c8c2d9
6 changed files with 56 additions and 39 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ee90a0f879d2b7b7159124ff22b937a2a9a8c36d3bb65d1da7dd3f04370a10bd
size 430215

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEtdaVPm1QWe162g8v02V9JNBYQ0wFAl60Vd4ACgkQ02V9JNBY
Q0xvTRAAgm9yntG/n1rHpKUMWlVxjj1gexEXpisDMJItZaKlTE76Tk4QEY4eXzlX
NFmjj0xkcpEBiFPw1BQ/y3uKoM9BY/Ax1I0Ci2+vrzfk2BTDs4cP1zNW1F0HyMQD
RdkFXzPpuPy2P+YnSzIXSp13XkieDL4PuIrZTsuFEkSGE6Cux0kPmk9+kRyFfBIx
ylPf5NVM12bgzTkDCPj9e2NK4Aqkpr05OLQl9iTCUsfp30bNzlI5MsKa6XC3B/kJ
GCPg4yxTHG/fUfvkpuWk+heCk27jqENVXD04R/mP7HHHOKe0ryfExKw95hKc+4SM
1x87Lp+i7Co0sg0cHjQWR/cKU5F/2/RkkMwOz6VLN3VVxVLBYIdT2cVKc65AN29t
JhOdd6WgdVq0K+/ZiMrZtgwBcH29hhqZPQbTUtbIzjdv95pQb/NnWU8evDe215If
nRjTBDUfOXUcbGhAFckQ07ZHI88sC2DLTt4hmTBmGGH1Gow7I/l1YfPvOD0no686
yFF9hseKuEg2sjpKsW1269pXpwicVh2cJ682/vP4MK3nMn5cVHiXfCeBBuGHQinv
la9l39GyJNBTex30ENt21BtI6EgEmzlrA8oaOfoN0mNX8Hi/JcP8D+GNLL17qbQQ
f1BFzhbUOzkT46+cxsshY3w3LFs9X25ewCyCUVVJ9O5EivFxYSQ=
=Am5u
-----END PGP SIGNATURE-----

BIN
jansson-2.14.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

16
jansson-2.14.tar.bz2.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEtdaVPm1QWe162g8v02V9JNBYQ0wFAmE6UEYACgkQ02V9JNBY
Q0zNGxAArjaAx1+Ej4tFnE7HmmFm3dxgFt5DL6X4XtxclVWVWk1N1IocWMhMFb5B
WJuy4k0nv/AS0hlJUtYb7IbK8VpvzFu87+KgOktxVIgvXu1omOuXA8Paqf/xVQJc
IURHEq26z/imhG6LHH/LjO+LwiLJiQqxrVhzb6Pq1DOSwLEqlnnzKZBBmMoeZFPR
fgQDuED7d7L18THZsN8aAWKlycxS4cmt9uSrAAGi4VGAadPXvNFn8yweZ3DALJ8P
fOjurDp57DI3Tn3mgZ/5Nr0C9RkzRSxEgv96ThRbXnh3BcZOcBEooIbzYKe+nxFB
euJ5bd8QgIZt3/OSvQYKVXOwgcg4HaIrWEZbDdKHnbU2fy0pYQD6Ezw7ohF4S27S
NeW5UGrCL5w6qC3NqoPdIwuw+uCyMPocq07pa6RGNY1RwU1tjiM9Am2fvyC88/K7
8DlRTug7cKr9AZ3YbrsBEPvhvJ8jHWr/SALoRKmV7ZTMtdLt4uSnqVeFf997C3Qj
ThUKg1PdQ1WszcML5S1CdhtuvyiCSm26hagGMIbWyq9p+vUjMQTgV44CKbTpjQ0q
8uaqZLwyXN60+7wgPAunn0EiW4BbzxSO1EijypJbMQ45qyRE/DLpPaqRMho4UwoR
8GcM8t3LbZygwSws7NsSv0pNpIdIgfo4vFjGdHSbBoRsuFNqAsU=
=LtYG
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Tue Jan 18 21:11:51 UTC 2022 - Antoine Belvire <antoine.belvire@opensuse.org>
- Update to 2.14:
* New Features:
+ Add `json_object_getn`, `json_object_setn`, `json_object_deln`, and the
corresponding `nocheck` functions.
* Fixes:
+ Handle `sprintf` corner cases.
* Build:
+ Symbol versioning for all exported symbols (gh#akheron/jansson#523).
+ Fix compiler warnings.
* Documentation:
+ Small fixes.
+ Sphinx 3 compatibility (gh#akheron/jansson#530).
- Use GitHub as source URLs: Release hasn't been uploaded to digip.org.
- Cleanup with spec-cleaner.
- Add check section.
-------------------------------------------------------------------
Fri May 8 11:48:39 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package libjansson
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,21 +16,19 @@
#
Name: libjansson
%define lname libjansson4
Name: libjansson
Version: 2.14
Release: 0
Summary: C library for encoding, decoding and manipulating JSON data
License: MIT
Group: Development/Libraries/C and C++
Version: 2.13.1
Release: 0
URL: http://digip.org/jansson/
URL: https://digip.org/jansson/
#Git-Clone: git://github.com/akheron/jansson
Source: http://www.digip.org/jansson/releases/jansson-%version.tar.bz2
Source0: https://github.com/akheron/jansson/releases/download/v%{version}/jansson-%{version}.tar.bz2
Source1: baselibs.conf
Source2: http://www.digip.org/jansson/releases/jansson-%version.tar.bz2.asc
Source3: %name.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source2: https://github.com/akheron/jansson/releases/download/v%{version}/jansson-%{version}.tar.bz2.asc
Source3: %{name}.keyring
BuildRequires: pkgconfig
%description
@ -42,11 +40,11 @@ It features:
* Full Unicode support (UTF-8)
* Extensive test suite
%package -n %lname
%package -n %{lname}
Summary: C library for encoding, decoding and manipulating JSON data
Group: Development/Libraries/C and C++
%description -n %lname
%description -n %{lname}
Jansson is a C library for encoding, decoding and manipulating JSON data.
It features:
* Simple and intuitive API and data model
@ -58,7 +56,7 @@ It features:
%package devel
Summary: Development files for libjansson
Group: Development/Libraries/C and C++
Requires: %lname = %version
Requires: %{lname} = %{version}
%description devel
Jansson is a C library for encoding, decoding and manipulating JSON data.
@ -74,22 +72,22 @@ It features:
%build
%configure --disable-static
make %{?_smp_mflags}
%make_build
%install
%make_install
rm -f "%buildroot/%_libdir"/*.la;
find %{buildroot} -type f -name "*.la" -delete -print
%post -n %lname -p /sbin/ldconfig
%check
make check
%postun -n %lname -p /sbin/ldconfig
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%files -n %{lname}
%{_libdir}/libjansson.so.4*
%files devel
%defattr(-,root,root)
%{_includedir}/jansson.h
%{_includedir}/jansson_config.h
%{_libdir}/libjansson.so