%global pypi_name python-prctl %global mod_name prctl Name: python-prctl Version: 1.8.1 Release: 1%{?dist} Summary: Python(ic) interface to the linux prctl() syscall License: GPL-3.0-or-later URL: https://github.com/seveas/python-prctl Source0: %{pypi_source %{pypi_name}} BuildRequires: python3-devel BuildRequires: gcc BuildRequires: libcap-devel %description python-prctl lets picamera2 set thread names/affinity via prctl(). %package -n python3-prctl Summary: %{summary} %description -n python3-prctl python-prctl lets picamera2 set thread names/affinity via prctl(). %prep %autosetup -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -L %{mod_name} _prctl %files -n python3-prctl -f %{pyproject_files} %changelog * Mon Jun 29 2026 Morgan Hough - 1.8.1-1 - Initial package for the OpenFlexure-on-Fedora (v3/picamera2) stack.