Compare commits

..

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

7 changed files with 105 additions and 25 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/jansson-2.14.tar.bz2
/jansson-2*.tar.bz2
/jansson-2*.tar.gz

View File

@ -1 +0,0 @@
a85a87d4cd9a14a081e8e49cb6a2b54bde4fd6b9 SOURCES/jansson-2.14.tar.bz2

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1,24 +1,24 @@
Name: jansson
Version: 2.14
Release: 1%{?dist}
Release: 2%{?dist}
Summary: C library for encoding, decoding and manipulating JSON data
Group: System Environment/Libraries
License: MIT
# src/lookup3.h is LicenseRef-Fedora-Public-Domain
License: MIT AND LicenseRef-Fedora-Public-Domain
URL: http://www.digip.org/jansson/
Source0: https://github.com/akheron/jansson/releases/download/v%{version}/jansson-%{version}.tar.bz2
Patch1: Fix-the-check-exports-tests-for-versioned-symbols.patch
Patch0: Fix-the-check-exports-tests-for-versioned-symbols.patch
BuildRequires: gcc
BuildRequires: autoconf automake libtool
BuildRequires: python3-sphinx
BuildRequires: make
%description
Small library for parsing and writing JSON documents.
%package devel
Summary: Header files for jansson
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
@ -33,7 +33,6 @@ Development documentation for jansson.
%prep
%autosetup -p1
autoreconf --force --install -I m4
%if 0%{?rhel} == 6
%{__sed} -i 's/code-block:: shell/code-block:: none/g' doc/*.rst
@ -41,20 +40,21 @@ autoreconf --force --install -I m4
%build
%configure --disable-static
make %{?_smp_mflags}
%make_build
make html
%check
make check
%install
make install INSTALL="install -p" DESTDIR="$RPM_BUILD_ROOT"
%make_install
rm "$RPM_BUILD_ROOT%{_libdir}"/*.la
%ldconfig_scriptlets
%files
%doc LICENSE CHANGES
%license LICENSE
%doc CHANGES
%{_libdir}/*.so.*
%files devel
@ -66,17 +66,66 @@ rm "$RPM_BUILD_ROOT%{_libdir}"/*.la
%doc doc/_build/html/*
%changelog
* Sun Nov 28 2021 Xin Long <lxin@redhat.com> - 2.14-1
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.14-2
- Bump release for June 2024 mass rebuild
* Fri May 03 2024 Xin Long <lxin@redhat.com> - 2.14-1
- Rebase to 2.14
Related: rhbz#2001062
Related: RHEL-30626
* Fri Aug 03 2018 Xin Long <lxin@redhat.com> - 2.11-3
- Deal with warnings under gcc 8
- Call va_end after va_copy in json_vsprintf
- Fix bogus date in jansson.spec
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jul 09 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.11-2
- Change to python3-sphinx
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Aug 24 2020 Charalampos Stratakis <cstratak@redhat.com> - 2.13.1-1
- Update to 2.13.1 (#1831402)
- Fix docs build failures with Sphinx 3 (#1823532)
- Use make macros: https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-7
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Aug 3 2019 Peter Robinson <pbrobinson@fedoraproject.org> 2.12-4
- Fix build deps, use %%license
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Nov 26 2018 Corey Farrell <git@cfware.com> - 2.12-1
- Update to Jansson 2.12
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sat Mar 10 2018 Corey Farrell <git@cfware.com> - 2.11-1
- Update to Jansson 2.11
@ -158,28 +207,28 @@ rm "$RPM_BUILD_ROOT%{_libdir}"/*.la
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Sat Jun 11 2011 Sean Middleditch <sean@middleditch.us> 2.1-1
* Thu Jun 11 2011 Sean Middleditch <sean@middleditch.us> 2.1-1
- Update to Jansson 2.1.
- Drop Sphinx patch, no longer necessary.
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Jul 03 2010 Sean Middleditch <sean@middleditch.us> 1.3-1
* Thu Jul 03 2010 Sean Middleditch <sean@middleditch.us> 1.3-1
- Update to Jansson 1.3.
- Disable warnings-as-errors for Sphinx documentation.
* Thu Jan 21 2010 Sean Middleditch <sean@middleditch.us> 1.2-1
- Update to Jansson 1.2.
* Mon Jan 11 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-4
* Thu Jan 11 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-4
- Update jansson description per upstream's suggestions.
- Removed README from docs.
* Sat Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-3
* Thu Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-3
- Correct misspelling of jansson in the pkg-config file.
* Sat Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-2
* Thu Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-2
- Fix Changelog dates.
- Mix autoheader warning.
- Added make check.

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (jansson-2.14.tar.bz2) = 1a659c0f41b0672757c13ebd16bd10ad7d6484366aefda078aa816266ce4f5638bc121f1ce8c4234b0b9f201ea73c227b9084125857452cbcba058a111e4a6fd

24
tests/tests.yml Normal file
View File

@ -0,0 +1,24 @@
# Tests for Jansson
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-source
required_packages:
- autoconf
- automake
- libtool
- make
- gcc
- role: standard-test-basic
tests:
- build-test:
dir: ./source
run: ./configure && make
- unit-tests:
dir: ./source
run: make check
- test-logs:
dir: ./source
run: cat test/test-suite.log