Изменил(а) на 'SPECS/python-carbon.spec'

This commit is contained in:
sboldyreva 2023-08-25 21:42:56 +00:00
parent 93e28a09a1
commit fae69e7b51

View File

@ -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
@ -237,6 +233,7 @@ getent passwd carbon >/dev/null || \
- 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 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