rpms/newt/devel newt-0.52.7-snack.patch, NONE, 1.1 newt.spec, 1.50, 1.51

Miroslav Lichvar (mlichvar) fedora-extras-commits at redhat.com
Wed Aug 8 15:19:31 UTC 2007


Author: mlichvar

Update of /cvs/pkgs/rpms/newt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22771

Modified Files:
	newt.spec 
Added Files:
	newt-0.52.7-snack.patch 
Log Message:
- add back support for list of Entries in EntryWindow prompts in snack
  (#248878)
- update license tag


newt-0.52.7-snack.patch:

--- NEW FILE newt-0.52.7-snack.patch ---
Index: newt/snack.py
===================================================================
RCS file: /usr/local/CVS/newt/snack.py,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- newt/snack.py	13 Jun 2007 17:17:53 -0000	1.69
+++ newt/snack.py	11 Jul 2007 17:00:28 -0000	1.70
@@ -826,7 +826,8 @@
     for n in prompts:
         if (type(n) == types.TupleType):
             (n, e) = n
-            e = Entry(entryWidth, e)
+            if (type(e) in types.StringTypes):
+                e = Entry(entryWidth, e)
         else:
             e = Entry(entryWidth)
 


Index: newt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/newt/devel/newt.spec,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- newt.spec	25 Jun 2007 11:44:04 -0000	1.50
+++ newt.spec	8 Aug 2007 15:18:58 -0000	1.51
@@ -3,7 +3,7 @@
 Name: newt
 Version: 0.52.7
 Release: 2%{?dist}
-License: LGPL
+License: LGPLv2
 Group: System Environment/Libraries
 # The source for this package was pulled from upstream's vcs.  Use the
 # following commands to generate the tarball:
@@ -13,6 +13,7 @@
 BuildRequires: python, python-devel, slang-devel
 Provides: snack = %{version}-%{release}
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch1: newt-0.52.7-snack.patch
 
 %package devel
 Summary: Newt windowing toolkit development files
@@ -59,6 +60,7 @@
 
 %prep
 %setup -q
+%patch1 -p1 -b .snack
 
 %build
 # gpm support seems to smash the stack w/ we use help in anaconda??
@@ -104,7 +106,10 @@
 %{python_sitearch}/*.py*
 
 %changelog
-* Mon Jun 25 2007 Miroslav Lichvar <mlichvar at redhat.com> - 0.52.7-2
+* Wed Aug 08 2007 Miroslav Lichvar <mlichvar at redhat.com> - 0.52.7-2
+- add back support for list of Entries in EntryWindow prompts in snack
+  (#248878)
+- update license tag
 - split python module to -python subpackage (Yanko Kaneti)
 - fix summary
  




More information about the fedora-extras-commits mailing list