Compare commits

..

No commits in common. "rawhide" and "f42" have entirely different histories.

View file

@ -1,3 +1,4 @@
# Created by pyp2rpm-3.2.2
Name: ampy
Version: 1.0.5
Release: %autorelease
@ -11,9 +12,13 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%?python_enable_dependency_generator
Provides: adafruit-%{name} = %{version}-%{release}
%py_provides python3-adafruit-%{name}
Provides: python3-adafruit-%{name} = %{version}-%{release}
%{?python_provide:%python_provide python3-adafruit-%{name}}
%description
@ -37,27 +42,24 @@ interaction like a shell or terminal to send input to a board.
sed -i '1d' $(grep -lr '#!/usr/')
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%py3_build
%install
%pyproject_install
%pyproject_save_files -l %{name}
%py3_install
%check
%pyproject_check_import
%{python3} -m unittest tests/test_*.py -v
%{__python3} -m unittest tests/test_*.py -v
%files -f %{pyproject_files}
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{python3_sitelib}/%{name}
%{python3_sitelib}/adafruit_ampy-%{version}-py%{python3_version}.egg-info
%changelog