## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global jqversion 1.8.2 Name: python-jq Version: 1.12.0 Release: %autorelease Summary: Python bindings for jq License: BSD-2-Clause URL: https://github.com/mwilliamson/jq.py Source: %pypi_source jq # Test requirements missing from sdist # https://github.com/mwilliamson/jq.py/pull/130 Patch: add-test-requirements.patch BuildRequires: python3-devel BuildRequires: jq-devel = %{jqversion} BuildRequires: oniguruma-devel BuildRequires: gcc %global _description %{expand: Python bindings for jq which is a lightweight and flexible JSON processor.} %description %_description %package -n python3-jq Summary: %{summary} %description -n python3-jq %_description %prep %autosetup -p1 -n jq-%{version} # Remove bundled sources rm deps/jq-%{jqversion}.tar.gz # relax cython version. sed -i 's/"cython==.*"/"cython"/' pyproject.toml %generate_buildrequires %pyproject_buildrequires -t %build export JQPY_USE_SYSTEM_LIBS=1 %pyproject_wheel %install %pyproject_install %pyproject_save_files -l jq %check %pytest %files -n python3-jq -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Mon Jul 27 2026 Filipe Rosset - 1.12.0-1 - update to 1.12.0, fix F45FTBFS * Thu Jul 16 2026 Fedora Release Engineering - 1.11.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Wed Jun 03 2026 Python Maint - 1.11.0-2 - Rebuilt for Python 3.15 * Mon May 11 2026 Steve Traylen - 1.11.0-1 - First fedora release 1.11.0 - Resolves: rhbz#2468634 ## END: Generated by rpmautospec