forked from pool/python-esptool
- Clean up SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-esptool?expand=0&rev=25
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 4 23:25:10 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Clean up SPEC file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 4 18:22:41 UTC 2024 - Adrian Schröter <adrian@suse.de>
|
||||
|
||||
|
||||
@@ -33,9 +33,6 @@ BuildRequires: %{python_module pyserial >= 3.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module reedsolo >= 1.5.3}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
%if 0%{?python_version_nodots} < 37
|
||||
BuildRequires: %{python_module cryptography}
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: openssl
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -49,6 +46,9 @@ Requires: python-reedsolo >= 1.5.3
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%if 0%{?python_version_nodots} < 37
|
||||
BuildRequires: %{python_module cryptography}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -70,6 +70,7 @@ sed -i '/^#!/d' flasher_stub/*.py
|
||||
%python_clone -a %{buildroot}%{_bindir}/esptool.py
|
||||
%python_clone -a %{buildroot}%{_bindir}/esp_rfc2217_server.py
|
||||
%python_expand rm -rf %{buildroot}%{$python_sitelib}/__pycache__/*.pyc
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# there are more tests but upstream runs only those in .travis.yml
|
||||
|
||||
Reference in New Issue
Block a user