File project.diff of Package python-cmdln

--- python-cmdln.changes.orig
+++ python-cmdln.changes
@@ -1,4 +1,15 @@
 -------------------------------------------------------------------
+Thu Nov 11 17:13:38 UTC 2010 - poeml@cmdline.net
+
+- enable building on Fedora 12-14 and CentOS 5
+
+-------------------------------------------------------------------
+Wed Sep 30 00:55:10 CEST 2009 - poeml@suse.de
+
+- update to 1.1.2 (Python 2.6 fixes)
+- debianized package
+
+-------------------------------------------------------------------
 Fri Aug 28 22:31:23 CEST 2009 - coolo@novell.com
 
 - merge build service with factory
--- python-cmdln.spec.orig
+++ python-cmdln.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cmdln
 #
-# 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
@@ -14,24 +14,25 @@
 
 # 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 version 1.1.2
+%define unmangled_version 1.1.2
 %define release 1
 Summary:        An improved cmd.py for Writing Multi-command Scripts and Shells
+License:        MIT
+Group:          Development/Libraries/Python
 
 Name:           python-cmdln
 Version:        %{version}
-Release:        5
-Source0:        %{_name}-%{unmangled_version}.tar.bz2
-License:        MIT
-Group:          Development/Libraries/Python
+Release:        0
+Source0:        %{_name}-%{unmangled_version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Prefix:         %{_prefix}
-BuildRequires:  python-devel python-setuptools
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
 #BuildArch:   noarch
 Url:            http://code.google.com/p/cmdln/
 
@@ -60,7 +61,13 @@ python setup.py build
 %install
 python setup.py install --prefix=%{_prefix} \
    --root=$RPM_BUILD_ROOT \
+%if %{defined suse_version}
    --record-rpm=INSTALLED_FILES
+%else
+# Fedora doesn't know/use --record-rpm
+find $RPM_BUILD_ROOT -type f | sed "s,$RPM_BUILD_ROOT,," > INSTALLED_FILES
+cat INSTALLED_FILES
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
openSUSE Build Service is sponsored by