Compare commits

...

5 Commits
a9 ... a8

1 changed files with 9 additions and 12 deletions

View File

@ -39,9 +39,6 @@ Patch3: %{name}-1.1.10-Py3.12-support.patch
BuildArch: noarch
BuildRequires: python3-cachetools
BuildRequires: python3-twisted
BuildRequires: python3-urllib3
BuildRequires: python3-cachetools
BuildRequires: python3-twisted
BuildRequires: python3-urllib3
@ -63,6 +60,9 @@ Requires(pre): shadow-utils
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
Requires: python3-cachetools
Requires: python3-twisted
Requires: python3-urllib3
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{srcname}
@ -98,10 +98,6 @@ sed -i -e 's/^import mock/from unittest import mock/' \
-e 's/^from mock import /from unittest.mock import /' \
lib/carbon/tests/*.py
%generate_buildrequires
%pyproject_buildrequires -r
%build
%py3_build
@ -234,11 +230,12 @@ getent passwd carbon >/dev/null || \
%changelog
* Fri Aug 25 2023 Sofia Boldyreva <sboldyreva@almalinux.org> - 1.1.10-5
- Added to BuildRequires: python3-cachetools, python3-twisted, python3-urllib3 to be able to build on AlmaLinux
- Replaced %pyproject_wheel with %py3_build in %build to be able to build on AlmaLinux
- Replaced %pyproject_install, %pyproject_save_files %{srcname} twisted with py3_install lines
- Removed -f %{pyproject_files} in %files to be able to build on AlmaLinux
- Added %{python3_sitelib}/carbon, %{python3_sitelib}/carbon-*-py%{python3_version}.egg-info, %{python3_sitelib}/twisted/plugins/* in %files to be able to build on AlmaLinux
- Added to BuildRequires, Requires: python3-cachetools, python3-twisted, python3-urllib3 to be able to build on AlmaLinux
- Replaced pyproject_wheel with py3_build in build to be able to build on AlmaLinux
- Replaced pyproject_install, pyproject_save_files twisted with py3_install lines
- Removed generate_buildrequires, pyproject_buildrequires -r to be able to build on AlmaLinux
- Removed -f {pyproject_files} in files to be able to build on AlmaLinux
- Added {python3_sitelib}/carbon, {python3_sitelib}/carbon-*-py{python3_version}.egg-info, {python3_sitelib}/twisted/plugins/* in files to be able to build on AlmaLinux
* Fri Aug 04 2023 Jonathan Steffan <jsteffan@fedoraproject.org> - 1.1.10-5
- Patch for Python 3.12 (RHBZ#2226168)