Skip to content

Commit

Permalink
rpm: Adjust build for poetry build
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Oct 29, 2024
1 parent 6469835 commit 5072672
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions python-qasync.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ Source0: %{pypi_source}
BuildArch: noarch

BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-pip
BuildRequires: python%{python3_pkgversion}-poetry-core >= 1.5.0

%description
qasync allows you to use coroutines in PyQt/PySide applications by
Expand All @@ -36,16 +37,16 @@ predecessors.
rm -rf %{pypi_name}.egg-info

%build
%py3_build
%pyproject_wheel

%install
%py3_install
%pyproject_install

%files -n python%{python3_pkgversion}-%{pypi_name}
%pyproject_save_files qasync

%files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files}
%license LICENSE
%doc README.md
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info

%changelog
@CHANGELOG@

0 comments on commit 5072672

Please sign in to comment.