14
0

Accepting request 99643 from home:namtrac:bugfix

- 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)

OBS-URL: https://build.opensuse.org/request/show/99643
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setproctitle?expand=0&rev=10
This commit is contained in:
Sascha Peilicke
2012-01-11 10:07:40 +00:00
committed by Git OBS Bridge
parent 43a4f2422c
commit aa372e4bfc
5 changed files with 22 additions and 20 deletions

View File

@@ -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
@@ -15,20 +15,19 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%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 +50,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