Compare commits

...

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

2
.gitignore vendored

@ -1 +1 @@
SOURCES/setproctitle-1.2.3.tar.gz
SOURCES/setproctitle-1.1.10.tar.gz

@ -1 +1 @@
0f5c4d8c45058219048b2f33840b3b2bfab9b508 SOURCES/setproctitle-1.2.3.tar.gz
9331e4cdd416c5d2bd2c1abccd2d9292965e613d SOURCES/setproctitle-1.1.10.tar.gz

@ -1,8 +1,8 @@
%global tarname setproctitle
Name: python-setproctitle
Version: 1.2.3
Release: 1%{?dist}
Version: 1.1.10
Release: 17%{?dist}
Summary: Python module to customize a process title
License: BSD
@ -10,6 +10,7 @@ URL: http://pypi.python.org/pypi/%{tarname}
Source0: https://pypi.io/packages/source/s/%{tarname}/%{tarname}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: /usr/bin/2to3
%global _description\
Python module allowing a process to change its title as displayed by\
@ -24,13 +25,26 @@ 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
BuildRequires: python3-setuptools
# Tests
BuildRequires: python3-pytest
BuildRequires: procps-ng
BuildRequires: python3-nose
%description -n python3-%{tarname}
Python module allowing a process to change its title as displayed by
@ -46,15 +60,23 @@ 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
%pytest
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
@ -63,39 +85,11 @@ chmod 0755 %{buildroot}%{python3_sitearch}/setproctitle*.so
%{python3_sitearch}/%{tarname}*.egg-info
%changelog
* Mon Oct 28 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.2.3-1
* Fri Jul 12 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.1.10-17
- Rebuilt for MSVSphere 9.4
* Sun Jun 26 2022 Robert Scheck <robert@fedoraproject.org> - 1.2.3-1
- Upstream 1.2.3 (bugfixes, RHBZ#2088869)
- Fix %%check by using %%pytest (and provide ps(1) to run tests)
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.2.2-5
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.2-2
- Rebuilt for Python 3.10
* Wed Feb 10 2021 Haïkel Guémar <hguemar@fedoraproject.org> - 1.2.2-1
- Upstream 1.2.2 (new API, bugfixes)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.10-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.10-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.10-18
- Rebuilt for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.10-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Nov 15 2019 Steve Traylen <steve.traylen@cern.ch> - 1.1.10-17
- Adapt to EPEL8
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.10-16
- Rebuilt for Python 3.8

Loading…
Cancel
Save