Name: pyp2spec Version: 0.4.0 Release: 1%{?dist} Summary: Summary # Code is MIT, templates and files generated by the tool CC0 License: MIT and CC0 URL: https://github.com/befeleme/pyp2spec Source0: /home/ksurma/rpmbuild/SOURCES/pyp2spec-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %description pyp2spec is a tool to generate working Fedora RPM spec files for Python projects. The produced spec files must be compliant with the current Python Packaging Guidelines (in effect since 2021). It utilizes the benefits of pyproject-rpm-macros. %prep %autosetup -p1 -n pyp2spec-%{version} %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pyp2spec %check %pytest %files -f %{pyproject_files} %doc README.md %{_bindir}/pyp2spec %{_bindir}/conf2spec %{_bindir}/pyp2conf %changelog * Mon Feb 21 2022 Karolina Surma - 0.4.0-1 - Update to new upstream version * Wed Jan 11 2021 Karolina Surma - 0.3.3-1 - Update to new upstream version * Fri Dec 10 2021 Karolina Surma - 0.3.2-1 - Update to new upstream version * Thu Dec 09 2021 Karolina Surma - 0.3.1-1 - Update to new upstream version * Wed Dec 08 2021 Karolina Surma - 0.3.0-1 - Update to new upstream version * Mon Nov 29 2021 Karolina Surma - 0.2.0-1 - Update to new upstream version * Tue Nov 23 2021 Karolina Surma - 0.1.0-1 - Initial package