Name: esptool Version: 2.3.1 Release: 1%{?dist} Summary: A utility to communicate with the ROM bootloader in Espressif ESP8266 License: GPLv2+ URL: https://github.com/themadinventor/%{name} Source0: https://files.pythonhosted.org/packages/source/e/%{name}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-flake8 %?python_enable_dependency_generator Provides: %{name}.py = %{version}-%{release} %description %{name}.py A command line utility to communicate with the ROM bootloader in Espressif ESP8266 WiFi microcontroller. Allows flashing firmware, reading back firmware, querying chip parameters, etc. Developed by the community, not by Espressif Systems. %prep %autosetup pathfix.py -i %{__python3} -p esp*.py %build %py3_build # Shebangs in site-packages grep -r '^#!' build/lib/ sed -i 1d $(grep -rl '^#' build/lib/) %install %py3_install for NAME in %{name} espefuse espsecure ; do ln -s ./$NAME.py %{buildroot}%{_bindir}/$NAME done %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_bindir}/%{name}.py %{_bindir}/espefuse %{_bindir}/espefuse.py %{_bindir}/espsecure %{_bindir}/espsecure.py %{python3_sitelib}/esp*.py* %{python3_sitelib}/%{name}-%{version}-py?.?.egg-info %{python3_sitelib}/__pycache__/esp*.*.pyc %changelog * Sat Mar 03 2018 Miro Hrončok - 2.3.1-1 - Updated to 2.3.1 (#1551162) * Wed Feb 07 2018 Fedora Release Engineering - 2.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Jan 30 2018 Miro Hrončok - 2.2.1-1 - Updated to 2.2.1 (#1539948) - Update shebang handling - Use automatic dependency generator * Wed Aug 23 2017 Miro Hrončok - 2.1-1 - New version 2.1 (#1484381) * Wed Jul 26 2017 Fedora Release Engineering - 2.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 26 2017 Miro Hrončok - 2.0.1-1 - New version 2.0.1 (#1465005) * Thu Jun 22 2017 Miro Hrončok - 2.0-1 - New version 2.0 (#1425422) * Fri Feb 10 2017 Fedora Release Engineering - 1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jan 10 2017 Miro Hrončok - 1.3-1 - New version (#1392643) - Use Python 3 * Tue Sep 06 2016 Miro Hrončok - 1.1-1 - Initial package.