From 74a17cde22a177ae3df56a5e8e9266f1401ea16c Mon Sep 17 00:00:00 2001 From: lingsheng Date: Thu, 15 Oct 2020 16:39:12 +0800 Subject: [PATCH] Fix invalid command name log --- 0001-Fix-invalid-command-name-log.patch | 25 +++++++++++++++++++++++++ tcllib.spec | 7 ++++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 0001-Fix-invalid-command-name-log.patch diff --git a/0001-Fix-invalid-command-name-log.patch b/0001-Fix-invalid-command-name-log.patch new file mode 100644 index 0000000..b81d0e6 --- /dev/null +++ b/0001-Fix-invalid-command-name-log.patch @@ -0,0 +1,25 @@ +From d1c34d298499d49bfababeceecbe75702a338bca Mon Sep 17 00:00:00 2001 +From: lingsheng +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 + diff --git a/tcllib.spec b/tcllib.spec index 2e52368..9cb7cbf 100644 --- a/tcllib.spec +++ b/tcllib.spec @@ -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 - 1.19-3 +- Fix invalid command name log + * Wed Jan 08 2019 wanjiankang - 1.19-2 - Package Init.