forked from pool/python-setproctitle
Accepting request 99880 from devel:languages:python
- Update to v1.1.3 * Don't clobber environ if the variable SPT_NOENV is set * Fixed segfault when the module is imported under vim (bnc#739242) - Provide python3 spec file - Update to v1.1.3 * Don't clobber environ if the variable SPT_NOENV is set * Fixed segfault when the module is imported under vim (bnc#739242) - Provide python3 spec file - Spec file cleanup: * changed license to BSD3c * packaded documentation files * fixed build non-SUSE distros - Update to version 1.1 * add support python3 - Initial package, Version 1.0.1 OBS-URL: https://build.opensuse.org/request/show/99880 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setproctitle?expand=0&rev=9
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 10 14:11:01 UTC 2012 - idonmez@suse.com
|
||||
|
||||
- Update to v1.1.3
|
||||
* Don't clobber environ if the variable SPT_NOENV is set
|
||||
* Fixed segfault when the module is imported under vim (bnc#739242)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 4 14:50:32 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Provide python3 spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 29 13:48:10 UTC 2011 - saschpe@suse.de
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-setproctitle
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -22,13 +22,13 @@
|
||||
%define mod_name setproctitle
|
||||
|
||||
Name: python-setproctitle
|
||||
Version: 1.1
|
||||
Release: 6
|
||||
License: BSD3c
|
||||
Version: 1.1.3
|
||||
Release: 0
|
||||
Summary: Python module to allow customization of the process title
|
||||
Url: http://pypi.python.org/pypi/setproctitle/
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Python
|
||||
Source: %{mod_name}-%{version}.tar.bz2
|
||||
Url: http://pypi.python.org/pypi/setproctitle/
|
||||
Source: http://pypi.python.org/packages/source/s/setproctitle/setproctitle-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version}
|
||||
@@ -51,9 +51,6 @@ python setup.py build
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYRIGHT HISTORY README
|
||||
|
32
python3-setproctitle.changes
Normal file
32
python3-setproctitle.changes
Normal file
@@ -0,0 +1,32 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 10 14:11:01 UTC 2012 - idonmez@suse.com
|
||||
|
||||
- Update to v1.1.3
|
||||
* Don't clobber environ if the variable SPT_NOENV is set
|
||||
* Fixed segfault when the module is imported under vim (bnc#739242)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 4 14:50:32 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Provide python3 spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 29 13:48:10 UTC 2011 - saschpe@suse.de
|
||||
|
||||
- Spec file cleanup:
|
||||
* changed license to BSD3c
|
||||
* packaded documentation files
|
||||
* fixed build non-SUSE distros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 18 15:52:28 UTC 2010 - hvogel@novell.com
|
||||
|
||||
- Update to version 1.1
|
||||
* add support python3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 23 14:54:43 UTC 2010 - hvogel@novell.com
|
||||
|
||||
- Initial package, Version 1.0.1
|
||||
|
||||
|
54
python3-setproctitle.spec
Normal file
54
python3-setproctitle.spec
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
# spec file for package python3-setproctitle
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define modname setproctitle
|
||||
|
||||
Name: python3-setproctitle
|
||||
Version: 1.1.3
|
||||
Release: 0
|
||||
Summary: Python module to allow customization of the process title
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Python
|
||||
Url: http://pypi.python.org/pypi/setproctitle/
|
||||
Source: http://pypi.python.org/packages/source/s/setproctitle/setproctitle-%{version}.tar.gz
|
||||
BuildRequires: python3-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Changing the title is mostly useful in multi-process systems, for example when
|
||||
a master process is forked: changing the children's title allows to identify
|
||||
the task each process is busy with. The technique is used by PostgreSQL and
|
||||
the OpenSSH Server for example.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
3
setproctitle-1.1.3.tar.gz
Normal file
3
setproctitle-1.1.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4af97eb01a2febb810a08b46f7f53b460c1eda6beba07895c13ebe756f422306
|
||||
size 19286
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aabd080645cd3db6df375b66e997de82d61efa679144a113421db61e90c8c455
|
||||
size 16178
|
Reference in New Issue
Block a user