SPECS: minicom.spec - avoid cron logrotate messages "tput: No valu...
glen
glen at pld-linux.org
Wed May 3 11:21:54 CEST 2006
Author: glen Date: Wed May 3 09:21:54 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- avoid cron logrotate messages "tput: No value for $TERM and no -T specified"
- rel 5
---- Files affected:
SPECS:
minicom.spec (1.70 -> 1.71)
---- Diffs:
================================================================
Index: SPECS/minicom.spec
diff -u SPECS/minicom.spec:1.70 SPECS/minicom.spec:1.71
--- SPECS/minicom.spec:1.70 Wed Apr 12 23:42:51 2006
+++ SPECS/minicom.spec Wed May 3 11:21:48 2006
@@ -14,7 +14,7 @@
Summary(zh_CN): Ňť¸öÎÄąž˝çĂćľÄľ÷ĘÔ˝âľ÷Ć÷żŘÖĆĆ÷şÍÖŐśËÄŁÄâĆ÷ĄŁ
Name: minicom
Version: 2.1
-Release: 4
+Release: 5
License: GPL v2
Group: Applications/Communications
Source0: http://alioth.debian.org/download.php/123/%{name}-%{version}.tar.gz
@@ -137,7 +137,7 @@
cat << 'EOF' > $RPM_BUILD_ROOT/etc/profile.d/minicom.sh
MINICOM="-L"
-if [ "`/usr/bin/tput colors`" != "-1" ] ; then
+if [ "$TERM" ] && [ "`/usr/bin/tput colors`" != "-1" ] ; then
MINICOM="$MINICOM -c on"
fi
export MINICOM
@@ -145,8 +145,10 @@
cat << 'EOF' > $RPM_BUILD_ROOT/etc/profile.d/minicom.csh
setenv MINICOM "-L"
-if ( "`/usr/bin/tput colors`" != "-1" ) \
- setenv MINICOM "$MINICOM -c on"
+if ( $?TERM ) then
+ if ( "`/usr/bin/tput colors`" != "-1" ) \
+ setenv MINICOM "$MINICOM -c on"
+endif
EOF
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
@@ -194,6 +196,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.71 2006/05/03 09:21:48 glen
+- avoid cron logrotate messages "tput: No value for $TERM and no -T specified"
+- rel 5
+
Revision 1.70 2006/04/12 21:42:51 glen
- avoid expanding profile scripts at compile time, rel 4
@@ -249,10 +255,10 @@
- release 10
Revision 1.54 2003/01/24 14:00:17 xysio
-added minicom-pl_po.patch (fixed polish locale)
+- added minicom-pl_po.patch (fixed polish locale)
Revision 1.53 2002/12/07 23:49:19 ankry
-- fix improper usage of %%{_sysconfdir}
+- fix improper usage of %{_sysconfdir}
Revision 1.52 2002/11/29 09:30:54 undefine
- updated source url
@@ -266,15 +272,15 @@
- relese 7: remove ja_JP.SJIS locale.
Revision 1.49 2002/10/09 10:24:40 qboosh
-- BR: gettext-devel; new %%doc
+- BR: gettext-devel; new %doc
Revision 1.48 2002/06/23 20:52:52 kloczek
-perl -pi -e "s/^gettextize --copy --force/\%%\{__gettextize\}/"
+- perl -pi -e "s/^gettextize --copy --force/\%\{__gettextize\}/"
Revision 1.47 2002/05/21 23:14:09 kloczek
-perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
+- perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
s/^automake -a -c -f/\%\{__automake\}/; \
- s/^autoconf/\%\{__autoconf\}/"
+ s/^autoconf/\%\{__autoconf\}/"
Revision 1.46 2002/05/19 22:24:00 ankry
- moved message file from cs_CZ/ to cs/
@@ -283,7 +289,7 @@
Revision 1.45 2002/05/17 23:06:30 kloczek
- bump to relese 4,
- remove unused man_warn, lrzsz patches,
-- minor cleanups (do not use %%{_sysconfdir} macro in /etc/profile.d path).
+- minor cleanups (do not use %{_sysconfdir} macro in /etc/profile.d path).
Revision 1.44 2002/05/17 20:18:40 qboosh
- po_DESTDIR patch replaced by gettextize call
@@ -323,7 +329,7 @@
Group field using gettext).
Revision 1.36 2002/01/18 02:13:50 kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
Revision 1.35 2001/11/19 22:15:19 ankry
- added ko, pl man pages
@@ -361,7 +367,7 @@
- rebuild with ncurses 5.1
Revision 1.26 2000/06/09 07:23:25 kloczek
-- added using %%{__make} macro.
+- added using %{__make} macro.
Revision 1.25 2000/05/30 07:35:19 kloczek
- updated to 1.83.1,
@@ -409,7 +415,7 @@
- gzipping docs where needed
Revision 1.14 1999/07/12 23:06:10 kloczek
-- added using CVS keywords in %%changelog (for automating them).
+- added using CVS keywords in %changelog (for automating them).
* Tue Jun 29 1999 Michal Margula <alchemyx at pld.org.pl>
[1.82.1-3]
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/minicom.spec?r1=1.70&r2=1.71&f=u
More information about the pld-cvs-commit
mailing list