Compare commits

..

No commits in common. "c8" and "c9-beta" have entirely different histories.
c8 ... c9-beta

View File

@ -3,22 +3,21 @@ Version: 2.14
Release: 1%{?dist} Release: 1%{?dist}
Summary: C library for encoding, decoding and manipulating JSON data Summary: C library for encoding, decoding and manipulating JSON data
Group: System Environment/Libraries
License: MIT 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,7 +32,6 @@ 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
@ -41,20 +39,21 @@ autoreconf --force --install -I m4
%build %build
%configure --disable-static %configure --disable-static
make %{?_smp_mflags} %make_build
make html make html
%check %check
make check make check
%install %install
make install INSTALL="install -p" DESTDIR="$RPM_BUILD_ROOT" %make_install
rm "$RPM_BUILD_ROOT%{_libdir}"/*.la rm "$RPM_BUILD_ROOT%{_libdir}"/*.la
%ldconfig_scriptlets %ldconfig_scriptlets
%files %files
%doc LICENSE CHANGES %license LICENSE
%doc CHANGES
%{_libdir}/*.so.* %{_libdir}/*.so.*
%files devel %files devel
@ -66,17 +65,49 @@ rm "$RPM_BUILD_ROOT%{_libdir}"/*.la
%doc doc/_build/html/* %doc doc/_build/html/*
%changelog %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 - Rebase to 2.14
Related: rhbz#2001062 Related: rhbz#2001066
* Fri Aug 03 2018 Xin Long <lxin@redhat.com> - 2.11-3 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.13.1-4
- Deal with warnings under gcc 8 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
- Call va_end after va_copy in json_vsprintf Related: rhbz#1991688
- Fix bogus date in jansson.spec
* Mon Jul 09 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.11-2 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.13.1-3
- Change to python3-sphinx - 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 * Sat Mar 10 2018 Corey Farrell <git@cfware.com> - 2.11-1
- Update to Jansson 2.11 - 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 * 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
* 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. - 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
* 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. - 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.
* 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. - Update jansson description per upstream's suggestions.
- Removed README from docs. - 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. - 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. - Fix Changelog dates.
- Mix autoheader warning. - Mix autoheader warning.
- Added make check. - Added make check.