Name: jc Summary: Serialize the output of CLI tools and file-types to structured JSON License: MIT Version: 1.14.0 Release: 1%{?dist} URL: https://github.com/kellyjonbrazil/%{name} Source0: %{URL}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) BuildRequires: python3dist(pygments) >= 2.4.2 BuildRequires: python3dist(ruamel.yaml) >= 0.15 BuildRequires: python3dist(xmltodict) >= 0.12 %description JSON CLI output utility. JC is used to JSONify the output of many command-line tools and file types for easier parsing in scripts. %prep %autosetup # Upstream forgot to bump version in setup.py sed -i setup.py \ -e "s|version='1.13.4',$|version='%{version}',|" %build %py3_build %install %py3_install %check ./runtests.sh %files %doc README.md %doc docs/ %license LICENSE.md %{_bindir}/%{name} %{python3_sitelib}/%{name} %{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info %changelog * Sat Jan 02 2021 Artur Frenszek-Iwicki - 1.14.0-1 - Update to v1.14.0 * Fri Aug 14 2020 Artur Iwicki - 1.13.4-1 - Update to upstream release v1.13.4 * Tue Jul 28 2020 Fedora Release Engineering - 1.11.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 05 2020 Artur Iwicki - 1.11.2-3 - Switch to using only the GitHub source - Formatting changes * Fri Jun 05 2020 Artur Iwicki - 1.11.2-2 - Fetch the GitHub sources apart from PyPi sources (the latter don't contain documentation and tests) - Run tests during %%check - Include the docs in the package * Tue Jun 02 2020 Kelly Brazil - 1.11.2-1 - Initial package.