Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "aexpect"
description = "Python library used to control interactive programs"
readme = "README.rst"
dynamic = ["version"]
license = "GPL-2.0-or-later"
license = {text = "GPL-2.0-or-later"}
Comment thread
pevogam marked this conversation as resolved.
authors = [{name = "Aexpect developers", email = "avocado-devel@redhat.com"}]
maintainers = [{name = "Aexpect developers", email = "avocado-devel@redhat.com"}]
requires-python = ">=3.8"
Expand Down
9 changes: 4 additions & 5 deletions python-aexpect.spec
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ sftp, telnet, among others.
%endif

%build
%py3_build
%pyproject_wheel

%install
%py3_install
%pyproject_install
%pyproject_save_files aexpect
ln -s aexpect_helper %{buildroot}%{_bindir}/aexpect_helper-%{python3_pkgversion}
ln -s aexpect_helper %{buildroot}%{_bindir}/aexpect_helper-%{python3_version}

Expand All @@ -72,11 +73,9 @@ ln -s aexpect_helper %{buildroot}%{_bindir}/aexpect_helper-%{python3_version}
selftests/checkall
%endif

%files -n python3-aexpect
%files -n python3-aexpect -f %{pyproject_files}
%license LICENSE
%doc README.rst
%{python3_sitelib}/aexpect/
%{python3_sitelib}/aexpect-%{version}-py%{python3_version}.egg-info/
Comment thread
pevogam marked this conversation as resolved.
%{_bindir}/aexpect_helper*

%changelog
Expand Down