## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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: cython-cmake Version: 0.2.2 Release: %autorelease Summary: CMake helpers for building Cython modules License: Apache-2.0 URL: https://github.com/scikit-build/cython-cmake Source: %{pypi_source cython_cmake} BuildArch: noarch BuildRequires: python3-devel # Testing dependences BuildRequires: cmake BuildRequires: gcc BuildRequires: g++ Requires: cmake Requires: python3-devel Requires: python3dist(cython) %global _description %{expand: This provides helpers for using Cython. Use: find_package(Cython MODULE REQUIRED VERSION 3.0) include(UseCython) } %description %_description CMake module files. %package -n python3-cython-cmake Summary: %{summary} Requires: cython-cmake = %{version}-%{release} %description -n python3-cython-cmake %_description Python package. %prep %autosetup -n cython_cmake-%{version} %generate_buildrequires %pyproject_buildrequires -g test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l cython_cmake # Move the actual CMake modules to /usr/share/cmake mkdir -p %{buildroot}%{_datadir}/cmake/Modules mv %{buildroot}%{python3_sitelib}/cython_cmake/cmake/*.cmake %{buildroot}%{_datadir}/cmake/Modules/ ln -rs %{buildroot}%{_datadir}/cmake/Modules/*.cmake %{buildroot}%{python3_sitelib}/cython_cmake/cmake/ %check %pyproject_check_import %pytest %files %{_datadir}/cmake/Modules/*.cmake %license LICENSE %doc README.md %files -n python3-cython-cmake -f %{pyproject_files} %{_bindir}/cython-cmake %changelog ## START: Generated by rpmautospec * Wed Jul 15 2026 Fedora Release Engineering - 0.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Wed Jul 08 2026 Cristian Le - 0.2.2-1 - Import rhbz#2493460 ## END: Generated by rpmautospec