[iwidgets/f17] Fix #800404

Dmitrij S. Kryzhevich krege at fedoraproject.org
Tue Aug 28 09:24:33 UTC 2012


commit 05479b830111d2561d2fa329858dc4069eeaec43
Author: Dmitrij S. Kryzhevich <krege at land.ru>
Date:   Tue Aug 28 16:24:26 2012 +0700

    Fix #800404

 iwidgets.spec             |   10 +++++++++-
 iwidgets4.0.1-wish85.diff |   19 +++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletions(-)
---
diff --git a/iwidgets.spec b/iwidgets.spec
index 3f8b982..8250b4d 100644
--- a/iwidgets.spec
+++ b/iwidgets.spec
@@ -3,7 +3,7 @@
 
 Name:           iwidgets
 Version:        4.0.2
-Release:        6%{?dist}
+Release:        8%{?dist}
 Summary:        A set of useful widgets based on itcl and itk
 
 Group:          Development/Libraries
@@ -11,6 +11,7 @@ License:        MIT
 URL:            http://incrtcl.sourceforge.net/
 Source0:        http://downloads.sourceforge.net/sourceforge/incrtcl/iwidgets4.0.1.tar.gz
 Patch0:         iwidgets-4.0.2-tkversion.patch
+Patch1:         iwidgets4.0.1-wish85.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -23,6 +24,7 @@ A set of useful widgets based on itcl and itk.
 %prep
 %setup -q -n iwidgets4.0.1
 %patch0 -p0
+%patch1 -p1
 
 %build
 # The configure script and Makefile for this package is horribly broken.
@@ -76,6 +78,12 @@ rm -rf $RPM_BUILD_ROOT
 %doc README license.terms doc/iwidgets.ps
 
 %changelog
+* Thu Aug 28 2012 Dmitrij S. Kryzhevich <krege at land.ru>  - 4.0.2-8
+- Fix demos (rhbz #800404).
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.0.2-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.0.2-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/iwidgets4.0.1-wish85.diff b/iwidgets4.0.1-wish85.diff
new file mode 100644
index 0000000..7f4e822
--- /dev/null
+++ b/iwidgets4.0.1-wish85.diff
@@ -0,0 +1,19 @@
+diff -ur iwidgets4.0.1/demos/catalog iwidgets4.0.1-wish85/demos/catalog
+--- iwidgets4.0.1/demos/catalog	2001-09-06 22:10:18.000000000 +0700
++++ iwidgets4.0.1-wish85/demos/catalog	2012-08-28 15:59:13.803922818 +0700
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/env tclsh
+ # ----------------------------------------------------------------------
+ #  PROGRAM: demo program for [incr Widgets]
+ # ----------------------------------------------------------------------
+@@ -9,8 +9,7 @@
+ # ======================================================================
+ #  Copyright (c) 1993-1998  Lucent Technologies, Inc.
+ # ======================================================================
+-#\
+-exec wish8.4 "$0"
++#
+ 
+ package require Iwidgets 4.0
+ 


More information about the scm-commits mailing list