diff --git a/python-bottle.spec b/python-bottle.spec index c0eb020..7079787 100644 --- a/python-bottle.spec +++ b/python-bottle.spec @@ -1,6 +1,6 @@ Name: python-bottle Version: 0.12.19 -Release: 1mamba +Release: 2mamba Summary: Fast and simple WSGI-framework for small web-applications Group: System/Libraries Vendor: openmamba @@ -10,14 +10,16 @@ URL: http://bottlepy.org/docs/dev/index.html Source: https://pypi.debian.net/bottle/bottle-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n bottle-%{version} @@ -33,18 +35,17 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files -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) -# %doc README.rst +%dir %{python_sitearch}/bottle-%{version}-py*.egg-info +%{python_sitearch}/bottle-%{version}-py*.egg-info/* %changelog +* Mon Aug 30 2021 Silvan Calarco 0.12.19-2mamba +- rebuilt with distdeps and for python3 + * Wed Dec 02 2020 Automatic Build System 0.12.19-1mamba - automatic version update by autodist