Compare commits
10 Commits
78f2401993
...
4b7c17798c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4b7c17798c | ||
|
|
a5f1ea95d9 | ||
|
|
8606e290dd | ||
|
|
74a17cde22 | ||
|
|
eeb6eaf122 | ||
|
|
c75aaea5eb | ||
|
|
8cc0725b01 | ||
|
|
280e5d120d | ||
|
|
795f161eca | ||
|
|
def69d7d56 |
25
0001-Fix-invalid-command-name-log.patch
Normal file
25
0001-Fix-invalid-command-name-log.patch
Normal 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
|
||||
|
||||
BIN
tcllib-1.20.tar.xz
Normal file
BIN
tcllib-1.20.tar.xz
Normal file
Binary file not shown.
71
tcllib.spec
Normal file
71
tcllib.spec
Normal file
@ -0,0 +1,71 @@
|
||||
%global tcl_version %(echo 'puts $tcl_version' | tclsh)
|
||||
%global tcl_sitelib %{_datadir}/tcl%{tcl_version}
|
||||
|
||||
Summary: The standard Tcl library
|
||||
Name: tcllib
|
||||
Version: 1.20
|
||||
Release: 0
|
||||
License: BSD
|
||||
URL: http://tcllib.sourceforge.net/
|
||||
Source: https://downloads.sourceforge.net/tcllib/%{name}-%{version}.tar.xz
|
||||
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
|
||||
programmers.
|
||||
|
||||
%package help
|
||||
Requires: tcl(abi) = 8.6
|
||||
Summary: help documentation for tcllib
|
||||
|
||||
%description help
|
||||
This package contains the help documentation for tcllib.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
chmod -x modules/doctools/mpformats/fr.msg
|
||||
|
||||
iconv --from=ISO-8859-1 --to=UTF-8 modules/struct/pool.html > modules/struct/pool.html.new
|
||||
mv -f modules/struct/pool.html.new modules/struct/pool.html
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
%{_bindir}/tclsh installer.tcl -no-gui -no-wait -no-html -no-examples \
|
||||
-pkg-path %{buildroot}/%{tcl_sitelib}/%name-%version -app-path %{buildroot}%{_bindir} \
|
||||
-nroff-path %{buildroot}%_mandir/mann
|
||||
|
||||
|
||||
find %{buildroot}/%{_datadir} -name \*.tcl | xargs chmod 0644
|
||||
|
||||
%files
|
||||
%doc support/releases/PACKAGES ChangeLog
|
||||
%doc modules/exif/*.html modules/ftp/docs/*.html modules/mime/*.html modules/stooop/*.html
|
||||
%doc modules/textutil/*.html modules/struct/*.html
|
||||
%license license.terms
|
||||
%{tcl_sitelib}/%{name}-%{version}
|
||||
%{_bindir}/dtplite
|
||||
%{_bindir}/pt
|
||||
%{_bindir}/nns*
|
||||
%{_bindir}/page
|
||||
%{_bindir}/tcldocstrip
|
||||
|
||||
%files help
|
||||
%doc support/releases/history/README-1.9.txt
|
||||
%{_mandir}/mann/*
|
||||
|
||||
%changelog
|
||||
* Wed Jan 12 2022 wulei <wulei80@huawei.com> - 1.20-0
|
||||
- Package update
|
||||
|
||||
* 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.
|
||||
4
tcllib.yaml
Normal file
4
tcllib.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: tcltk/tcllib
|
||||
tag_prefix: tcllib_
|
||||
seperator: _
|
||||
Loading…
x
Reference in New Issue
Block a user