SPECS: minicom.spec - avoid expanding profile scripts at compile t...

glen glen at pld-linux.org
Wed Apr 12 23:42:56 CEST 2006


Author: glen                         Date: Wed Apr 12 21:42:56 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- avoid expanding profile scripts at compile time, rel 4

---- Files affected:
SPECS:
   minicom.spec (1.69 -> 1.70) 

---- Diffs:

================================================================
Index: SPECS/minicom.spec
diff -u SPECS/minicom.spec:1.69 SPECS/minicom.spec:1.70
--- SPECS/minicom.spec:1.69	Tue May 17 14:07:46 2005
+++ SPECS/minicom.spec	Wed Apr 12 23:42:51 2006
@@ -14,7 +14,7 @@
 Summary(zh_CN):	Ňť¸öÎÄąž˝çĂćľÄľ÷ĘÔ˝âľ÷Ć÷żŘÖĆĆ÷şÍÖŐśËÄŁÄâĆ÷ĄŁ
 Name:		minicom
 Version:	2.1
-Release:	3
+Release:	4
 License:	GPL v2
 Group:		Applications/Communications
 Source0:	http://alioth.debian.org/download.php/123/%{name}-%{version}.tar.gz
@@ -130,23 +130,23 @@
 	LIBDIR="%{_sysconfdir}/minicom" \
 	MANDIR="%{_mandir}/man1" install
 
-cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/minicom/minirc.dfl
+cat << 'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/minicom/minirc.dfl
 pu minit            ~^M~ATZ^M~
 pu mreset           ~^M~ATZ^M~
 EOF
 
-cat << EOF > $RPM_BUILD_ROOT/etc/profile.d/minicom.sh
+cat << 'EOF' > $RPM_BUILD_ROOT/etc/profile.d/minicom.sh
 MINICOM="-L"
 if [ "`/usr/bin/tput colors`" != "-1" ] ; then
-	MINICOM="\$MINICOM -c on"
+	MINICOM="$MINICOM -c on"
 fi
 export MINICOM
 EOF
 
-cat << EOF > $RPM_BUILD_ROOT/etc/profile.d/minicom.csh
+cat << 'EOF' > $RPM_BUILD_ROOT/etc/profile.d/minicom.csh
 setenv MINICOM "-L"
 if ( "`/usr/bin/tput colors`" != "-1" ) \
-	setenv MINICOM "\$MINICOM -c on"
+	setenv MINICOM "$MINICOM -c on"
 EOF
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
@@ -194,6 +194,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.70  2006/04/12 21:42:51  glen
+- avoid expanding profile scripts at compile time, rel 4
+
 Revision 1.69  2005/05/17 12:07:46  blues
 - TODO added
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/minicom.spec?r1=1.69&r2=1.70&f=u



More information about the pld-cvs-commit mailing list