diff --git a/python-roman.spec b/python-roman.spec index 5d35774..1b6c5a2 100644 --- a/python-roman.spec +++ b/python-roman.spec @@ -1,23 +1,28 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) + Name: python-roman -Version: 2.0.0 +Version: 3.3 Release: 1mamba Summary: Integer to Roman numerals converter Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://pypi.python.org/pypi/roman -Source: https://pypi.python.org/packages/source/r/roman/roman-%{version}.zip +URL: https://pypi.org/project/roman/ +Source: https://pypi.debian.net/roman/roman-%{version}.tar.gz License: Python Software Foundation License ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(setuptools) ## AUTOBUILDREQ-END -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n roman-%{version} @@ -35,15 +40,14 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -## note: this list is just an example; modify as required -# %{python_sitearch}/%{name}.py* -# %{python_sitearch}/%{name}.so - -## note: eventually add the remaining documents (if any) -# +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %changelog +* Mon May 23 2022 Silvan Calarco 3.3-1mamba +- update to 3.3 + * Wed May 21 2014 Silvan Calarco 2.0.0-1mamba - package created by silvan using the webbuild interface