Fix build and cleanup package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/vtcl?expand=0&rev=6
This commit is contained in:
parent
2673395544
commit
e974baeb1e
@ -1,17 +0,0 @@
|
||||
---
|
||||
lib/tkcon.tcl | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: vtcl-1.6.1a1/lib/tkcon.tcl
|
||||
===================================================================
|
||||
--- vtcl-1.6.1a1.orig/lib/tkcon.tcl
|
||||
+++ vtcl-1.6.1a1/lib/tkcon.tcl
|
||||
@@ -40,7 +40,7 @@
|
||||
if {$tcl_version < 8.0} {
|
||||
return -code error "tkcon requires at least Tcl/Tk8"
|
||||
} else {
|
||||
- package require -exact Tk $tcl_version
|
||||
+ package require Tk $tcl_version
|
||||
}
|
||||
|
||||
# We need to load some package to get what's available, and we
|
@ -1,7 +1,5 @@
|
||||
Index: vtcl-1.6.1a1/lib/misc.tcl
|
||||
===================================================================
|
||||
--- vtcl-1.6.1a1.orig/lib/misc.tcl
|
||||
+++ vtcl-1.6.1a1/lib/misc.tcl
|
||||
--- lib/misc.tcl
|
||||
+++ lib/misc.tcl
|
||||
@@ -1172,7 +1172,7 @@ proc ::vTcl::web_browser {} {
|
||||
#if {![file executable [file join $path netscape]]} { continue }
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- lib/tkcon.tcl
|
||||
+++ lib/tkcon.tcl
|
||||
@@ -21,7 +21,7 @@
|
||||
@@ -40,7 +40,7 @@
|
||||
if {$tcl_version < 8.0} {
|
||||
return -code error "TkCon requires at least Tcl/Tk8"
|
||||
return -code error "tkcon requires at least Tcl/Tk8"
|
||||
} else {
|
||||
- package require -exact Tk $tcl_version
|
||||
+ package require Tk $tcl_version
|
||||
}
|
||||
|
||||
## for Tcl/Tk 8.4
|
||||
# We need to load some package to get what's available, and we
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 25 09:56:15 UTC 2011 - max@novell.com
|
||||
|
||||
- Fix build
|
||||
- Package cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 17 11:40:20 CET 2010 - max@suse.de
|
||||
|
||||
|
@ -31,8 +31,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source: http://sourceforge.net/projects/vtcl/files/%name-%version.tar.bz2
|
||||
Source1: vtcl
|
||||
Patch0: vtcl-tkversion.patch
|
||||
#Patch1: tkcon_allow_858.diff
|
||||
Patch2: default_browser.diff
|
||||
Patch2: vtcl-browser.patch
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -50,11 +49,7 @@ Authors:
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
|
||||
## 1:tkcon_allow_858.diff
|
||||
#%patch1 -p1
|
||||
# 2:default_browser.diff
|
||||
%patch2 -p1
|
||||
%patch1
|
||||
|
||||
%build
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user