Fix invalid command name log

This commit is contained in:
lingsheng 2020-10-15 16:39:12 +08:00
parent eeb6eaf122
commit 74a17cde22
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From d1c34d298499d49bfababeceecbe75702a338bca Mon Sep 17 00:00:00 2001
From: lingsheng <lingsheng@huawei.com>
Date: Thu, 15 Oct 2020 16:29:16 +0800
Subject: [PATCH] Fix invalid command name log
---
apps/nns | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/nns b/apps/nns
index ccf58aa..fabcb09 100755
--- a/apps/nns
+++ b/apps/nns
@@ -257,7 +257,7 @@ proc ::nns::Do.search.print {contents} {
log::info "Searching at name service at [My]"
if {![llength $contents]} {
- log info "Nothing found..."
+ log::info "Nothing found..."
return
}
--
2.23.0

View File

@ -4,7 +4,7 @@
Summary: The standard Tcl library
Name: tcllib
Version: 1.19
Release: 2
Release: 3
License: BSD
URL: http://tcllib.sourceforge.net/
Source: https://downloads.sourceforge.net/tcllib/%{name}-%{version}.tar.xz
@ -13,6 +13,8 @@ BuildArch: noarch
Requires: tcl(abi) = 8.6
BuildRequires: tcl >= 8.3.1
Patch0001: 0001-Fix-invalid-command-name-log.patch
%description
Tcllib, the Tcl Standard Library is a collection of Tcl packages
that provide utility functions useful to a large collection of Tcl
@ -59,5 +61,8 @@ find %{buildroot}/%{_datadir} -name \*.tcl | xargs chmod 0644
%{_mandir}/mann/*
%changelog
* Thu Oct 15 2020 lingsheng <lingsheng@huawei.com> - 1.19-3
- Fix invalid command name log
* Wed Jan 08 2019 wanjiankang <wanjiankang@huawei.com> - 1.19-2
- Package Init.