Compare commits

...

No commits in common. 'i9fe' and 'i8ce' have entirely different histories.
i9fe ... i8ce

@ -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
@ -86,7 +62,7 @@ PYTHON=python3 PYCONFIG=python3-config make tests/pyrun3
%changelog
* Fri Jul 12 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.1.10-17
- Rebuilt for MSVSphere 9.4
- Rebuilt for MSVSphere 8.10
* Fri Nov 15 2019 Steve Traylen <steve.traylen@cern.ch> - 1.1.10-17
- Adapt to EPEL8

Loading…
Cancel
Save