commit python-setproctitle for openSUSE:Factory
Hello community, here is the log from the commit of package python-setproctitle for openSUSE:Factory checked in at Thu Mar 31 15:55:48 CEST 2011. -------- --- python-setproctitle/python-setproctitle.changes 2010-11-18 16:53:11.000000000 +0100 +++ python-setproctitle/python-setproctitle.changes 2011-03-29 15:57:43.000000000 +0200 @@ -1,0 +2,8 @@ +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 + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-setproctitle.spec ++++++ --- /var/tmp/diff_new_pack.dXXQJW/_old 2011-03-31 15:55:11.000000000 +0200 +++ /var/tmp/diff_new_pack.dXXQJW/_new 2011-03-31 15:55:11.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-setproctitle (Version 1.1) +# spec file for package python-setproctitle # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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 @@ -16,19 +16,24 @@ # -%define modname setproctitle +%{!?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: 1 -License: BSD +Release: 6 +License: BSD3c Summary: Python module to allow customization of the process title Url: http://pypi.python.org/pypi/setproctitle/ Group: Development/Libraries/Python -Source: %{modname}-%{version}.tar.bz2 -BuildRequires: python-devel +Source: %{mod_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{py_requires} +BuildRequires: python-devel +%if 0%{?suse_version} +%py_requires +%endif %description Changing the title is mostly useful in multi-process systems, for example when @@ -37,19 +42,21 @@ the OpenSSH Server for example. %prep -%setup -q -n %{modname}-%{version} +%setup -q -n %{mod_name}-%{version} %build export CFLAGS="%{optflags}" python setup.py build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES +python setup.py install --prefix=%{_prefix} --root=%{buildroot} %clean rm -rf %{buildroot} -%files -f INSTALLED_FILES +%files %defattr(-,root,root) +%doc COPYRIGHT HISTORY README +%python_sitearch/%{mod_name}* %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de