diff --git a/python-ino.spec b/python-ino.spec index a714d35..9633d02 100644 --- a/python-ino.spec +++ b/python-ino.spec @@ -1,30 +1,31 @@ Name: python-ino Version: 0.3.6 -Release: 1mamba +Release: 2mamba Summary: A command line toolkit for working with Arduino hardware Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://inotool.org/ -Source: http://pypi.python.org/packages/source/i/ino/ino-%{version}.tar.gz +URL: https://inotool.org/ +Source: https://pypi.debian.net/ino/ino-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +BuildRequires: python-Jinja2-py3 +BuildRequires: python-argparse-py3 +BuildRequires: python-configobj-py3 +BuildRequires: python-ordereddict-py3 +BuildRequires: python-serial-py3 ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -BuildRequires: python-setuptools -Requires: python-argparse -Requires: python-configobj -Requires: python-Jinja2 -Requires: python-ordereddict -Requires: python-serial -Requires: python >= %python_version BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Ino is a command line toolkit for working with Arduino hardware. +%if "%{?with_pyver}" +%pyver_package +%endif + %prep %setup -q -n ino-%{version} @@ -42,14 +43,21 @@ CFLAGS="%{optflags}" %{__python} setup.py build --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,__pycache__/,d" %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) - -## note: eventually add the remaining documents (if any) -# %doc README.rst +%dir %{python_sitearch}/ino/__pycache__ +%{python_sitearch}/ino/__pycache__/* +%dir %{python_sitearch}/ino/commands/__pycache__ +%{python_sitearch}/ino/commands/__pycache__/* +%dir %{python_sitearch}/ino-%{version}-py*.egg-info +%{python_sitearch}/ino-%{version}-py*.egg-info/* %changelog +* Sat Apr 03 2021 Silvan Calarco 0.3.6-2mamba +- rebuilt with distdeps + * Thu Sep 26 2013 Automatic Build System 0.3.6-1mamba - automatic update by autodist