Compare commits

...

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

7 changed files with 25 additions and 105 deletions

3
.gitignore vendored
View File

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

1
.jansson.metadata Normal file
View File

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

View File

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

View File

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

View File

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

View File

@ -1,24 +0,0 @@
# 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