Hello community, here is the log from the commit of package python-cmdln for openSUSE:Factory checked in at 2013-10-25 11:12:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cmdln (Old) and /work/SRC/openSUSE:Factory/.python-cmdln.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cmdln" Changes: -------- --- /work/SRC/openSUSE:Factory/python-cmdln/python-cmdln.changes 2011-09-23 12:42:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-cmdln.new/python-cmdln.changes 2013-10-25 11:12:29.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Oct 24 13:45:41 UTC 2013 - [email protected] + +- Update to version 1.1.2: + + No changelog +- Spec file cleanup + +------------------------------------------------------------------- Old: ---- cmdln-1.1.1.tar.bz2 New: ---- cmdln-1.1.2.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cmdln.spec ++++++ --- /var/tmp/diff_new_pack.2vScwa/_old 2013-10-25 11:12:42.000000000 +0200 +++ /var/tmp/diff_new_pack.2vScwa/_new 2013-10-25 11:12:42.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-cmdln (Version 1.1.1) +# spec file for package python-cmdln # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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,25 +15,24 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# nodebuginfo - -%define _name cmdln -%define version 1.1.1 -%define unmangled_version 1.1.1 -%define release 1 -Summary: An improved cmd.py for Writing Multi-command Scripts and Shells Name: python-cmdln -Version: %{version} -Release: 5 -Source0: %{_name}-%{unmangled_version}.tar.bz2 +Version: 1.1.2 +Release: 0 +Url: http://code.google.com/p/cmdln/ +Summary: An improved cmd.py for Writing Multi-command Scripts and Shells License: MIT Group: Development/Libraries/Python +Source: https://pypi.python.org/packages/source/c/cmdln/cmdln-%{version}.zip BuildRoot: %{_tmppath}/%{name}-%{version}-build -Prefix: %{_prefix} -BuildRequires: python-devel python-setuptools -#BuildArch: noarch -Url: http://code.google.com/p/cmdln/ +BuildRequires: python-devel +BuildRequires: python-setuptools +BuildRequires: unzip +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else +BuildArch: noarch +%endif %description `cmdln.py` is an extension of Python's default `cmd.py` module that @@ -44,29 +43,19 @@ it more natural to write sub-commands, integrate optparse for simple option processing, and make having good command documentation easier. - - -Authors: --------- - Trent Mick <[email protected]> - %prep -%setup -n %{_name}-%{unmangled_version} +%setup -q -n cmdln-%{version} %build -export CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install -python setup.py install --prefix=%{_prefix} \ - --root=$RPM_BUILD_ROOT \ - --record-rpm=INSTALLED_FILES - -%clean -rm -rf $RPM_BUILD_ROOT +python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%files -f INSTALLED_FILES +%files %defattr(-,root,root) %doc LICENSE.txt README.txt docs/ examples/ +%{python_sitelib}/cmdln-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/cmdln* %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
