From 111d4b95d6afe60fb0bf0d08b0aa1c121384ac6f Mon Sep 17 00:00:00 2001 From: tigro Date: Fri, 12 Jul 2024 14:38:21 +0300 Subject: [PATCH] Disable python2 build --- SPECS/python-setproctitle.spec | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/SPECS/python-setproctitle.spec b/SPECS/python-setproctitle.spec index f8d3614..4af40f6 100644 --- a/SPECS/python-setproctitle.spec +++ b/SPECS/python-setproctitle.spec @@ -25,21 +25,6 @@ It's based on PostgreSQL implementation which has proven to be portable.\ %description %_description -%package -n python2-%{tarname} -Summary: Python module to customize a process title -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-nose - -%description -n python2-%{tarname} -Python module allowing a process to change its title as displayed by -system tool such as ps and top. - -It's useful in multi-process systems, allowing to identify tasks each forked -process is busy with. This technique has been used by PostgreSQL and OpenSSH. - -It's based on PostgreSQL implementation which has proven to be portable. - %package -n python3-%{tarname} Summary: Python module to customize a process title BuildRequires: python3-devel @@ -60,24 +45,15 @@ It's based on PostgreSQL implementation which has proven to be portable. %build -%py2_build %py3_build %install -%py2_install -chmod 0755 %{buildroot}%{python2_sitearch}/setproctitle*.so %py3_install chmod 0755 %{buildroot}%{python3_sitearch}/setproctitle*.so %check PYTHON=python3 PYCONFIG=python3-config make tests/pyrun3 -%files -n python2-%{tarname} -%doc README.rst COPYRIGHT -# For arch-specific packages: sitearch -%{python2_sitearch}/%{tarname}*.so -%{python2_sitearch}/%{tarname}*.egg-info - %files -n python3-%{tarname} %doc README.rst COPYRIGHT # For arch-specific packages: sitearch