Compare commits
No commits in common. "c8" and "c9s" have entirely different histories.
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
||||
SOURCES/jansson-2.14.tar.bz2
|
||||
/jansson-2*.tar.bz2
|
||||
/jansson-2*.tar.gz
|
||||
|
@ -1 +0,0 @@
|
||||
a85a87d4cd9a14a081e8e49cb6a2b54bde4fd6b9 SOURCES/jansson-2.14.tar.bz2
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
@ -3,22 +3,21 @@ Version: 2.14
|
||||
Release: 1%{?dist}
|
||||
Summary: C library for encoding, decoding and manipulating JSON data
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: MIT
|
||||
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 +32,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 +39,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 +65,49 @@ rm "$RPM_BUILD_ROOT%{_libdir}"/*.la
|
||||
%doc doc/_build/html/*
|
||||
|
||||
%changelog
|
||||
* Sun Nov 28 2021 Xin Long <lxin@redhat.com> - 2.14-1
|
||||
* Mon Nov 15 2021 Xin Long <lxin@redhat.com> - 2.14-1
|
||||
- Rebase to 2.14
|
||||
Related: rhbz#2001062
|
||||
Related: rhbz#2001066
|
||||
|
||||
* 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
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.13.1-4
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Mon Jul 09 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.11-2
|
||||
- Change to python3-sphinx
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.13.1-3
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* 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 +189,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
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (jansson-2.14.tar.bz2) = 1a659c0f41b0672757c13ebd16bd10ad7d6484366aefda078aa816266ce4f5638bc121f1ce8c4234b0b9f201ea73c227b9084125857452cbcba058a111e4a6fd
|
24
tests/tests.yml
Normal file
24
tests/tests.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user