## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 Name: python-sphinxcontrib-details-directive Version: 0.1.0 Release: %autorelease Summary: "details" directive for Sphinx License: Apache-2.0 URL: https://github.com/tk0miya/sphinxcontrib-details-directive/ Source: %{url}/archive/%{version}/sphinxcontrib-details-directive-%{version}.tar.gz Patch: updatetest.patch BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: It enables details directive as an element to represent
element in HTML output. It will be converted into mere paragraphs in other output formats.} %description %_description %package -n python3-sphinxcontrib-details-directive Summary: %{summary} %description -n python3-sphinxcontrib-details-directive %_description %prep %autosetup -p1 -n sphinxcontrib-details-directive-%{version} %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install # Add top-level Python module names here as arguments, you can use globs %pyproject_save_files sphinxcontrib %check %pyproject_check_import # Skip failing test k="${k-}${k+ and }not (test_basic and test_latex_build)" %pytest -k "${k-}" %files -n python3-sphinxcontrib-details-directive -f %{pyproject_files} %doc README.rst %{python3_sitelib}/sphinxcontrib_details_directive-%{version}-py%{python3_version}-nspkg.pth %changelog ## START: Generated by rpmautospec * Thu May 29 2025 John Doe - 0.1.0-1 - Uncommitted changes ## END: Generated by rpmautospec