Name: python-lxns Version: 0.1.0 Release: 1%{?dist} Summary: Python library to interact with Linux kernel namespaces. License: MPL-2.0 URL: https://github.com/igo95862/python-lxns Source: %{pypi_source lxns} BuildRequires: python3-devel BuildRequires: kernel-devel BuildRequires: gcc %global _description %{expand: %{summary}.} %description %_description %package -n python3-lxns Summary: %{summary} %description -n python3-lxns %_description %prep %autosetup -p1 -n lxns-%{version} %generate_buildrequires %pyproject_buildrequires -w %build %pyproject_wheel %install %pyproject_install %pyproject_save_files 'lxns' %check %pyproject_check_import %files -n python3-lxns -f %{pyproject_files} %changelog * Sat Jul 20 2024 Neal Gompa - 0.1.0-1 - Initial package