Name: python-cvmutils Version: 0.1.5 Release: %autorelease Summary: Tools for confidential virtual machines License: LGPL-2.1-or-later URL: https://gitlab.com/vkuznets/cvmutils/ Source: cvmutils-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %description This tool prepares Linux OS image to run with encrypted root volume. %package -n python3-cvmutils Summary: %{summary} %description -n python3-cvmutils This tool prepares Linux OS image to run with encrypted root volume. %prep %autosetup -p1 -n cvmutils-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1/ install -c -m 0644 man/cvm-encrypt-image.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/cvm-encrypt-image.1 %check %_pyproject_check_import_allow_no_modules -t %files -n python3-cvmutils %{_bindir}/cvm-encrypt-image %{python3_sitelib}/cvmutils %{python3_sitelib}/cvmutils-%{version}.dist-info %{_mandir}/man1/cvm-encrypt-image.1* %changelog %autochangelog