https://bugzilla.redhat.com/show_bug.cgi?id=1782532 Robert-André Mauchin <zebob.m@xxxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zebob.m@xxxxxxxxx --- Comment #1 from Robert-André Mauchin <zebob.m@xxxxxxxxx> --- - Use Pypi (pyp2rpm -b3 npyscreen) to get a valid release number: # Created by pyp2rpm-3.3.2 %global pypi_name npyscreen Name: python-%{pypi_name} Version: 4.10.5 Release: 1%{?dist} Summary: Writing user interfaces without all that ugly mucking about in hyperspace License: BSD URL: http://www.npcole.com/npyscreen/ Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description This library provides a framework for developing console applications using Python and curses.This framework should be powerful enough to create everything from quick, simple programs to complex, multi-screen applications. It is designed to make doing the simple tasks very quick and to take much of the pain out of writing larger applications. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} This library provides a framework for developing console applications using Python and curses.This framework should be powerful enough to create everything from quick, simple programs to complex, multi-screen applications. It is designed to make doing the simple tasks very quick and to take much of the pain out of writing larger applications. %prep %autosetup -n %{pypi_name}-%{version} for i in $(find . -name '*.py') do sed -i -e"s/#\!\/usr\/bin\/python//" $i sed -i -e"s/#\!\/usr\/bin\/env python//" $i sed -i -e"s/#\!\/usr\/bin\/env pyton//" $i done %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Tue Dec 10 2019 Neil Horman <nhorman@xxxxxxxxxxxxx> - 4.10.5-1 - Initial release in Fedora -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx