Author: glen Date: Fri Apr 14 16:22:55 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - rel 7, cosmetics
---- Files affected: SPECS: sysnews.spec (1.40 -> 1.41) ---- Diffs: ================================================================ Index: SPECS/sysnews.spec diff -u SPECS/sysnews.spec:1.40 SPECS/sysnews.spec:1.41 --- SPECS/sysnews.spec:1.40 Sun May 1 19:31:30 2005 +++ SPECS/sysnews.spec Fri Apr 14 18:22:50 2006 @@ -3,7 +3,7 @@ Summary(pl): Wyświetla nowinki systemowe tuż po zalogowaniu się Name: sysnews Version: 0.9 -Release: 6 +Release: 7 License: GPL Group: Applications/System Source0: ftp://sunsite.unc.edu/pub/Linux/system/admin/login/news-%{version}.tgz @@ -43,9 +43,9 @@ %{__make} install \ PREFIX=$RPM_BUILD_ROOT%{_prefix} -cat <<EOF >$RPM_BUILD_ROOT/etc/profile.d/news.sh +cat <<'EOF' >$RPM_BUILD_ROOT/etc/profile.d/news.sh if [ -t ]; then - if [ ! -f \$HOME/.news_time ]; then + if [ ! -f $HOME/.news_time ]; then cat <<-NEWUSER Tip: Use "news" command to view system news when @@ -56,9 +56,9 @@ news -l fi EOF -cat <<EOF >$RPM_BUILD_ROOT/etc/profile.d/news.csh +cat <<'EOF' >$RPM_BUILD_ROOT/etc/profile.d/news.csh %{_bindir}/tty -s >& /dev/null -if ( ! \$status ) then +if ( ! $status ) then if (! -f ~/.news_time ) then cat <<NEWUSER @@ -71,7 +71,7 @@ endif EOF -cat <<EOF >$RPM_BUILD_ROOT/etc/cron.daily/sysnews +cat <<'EOF' >$RPM_BUILD_ROOT/etc/cron.daily/sysnews #!/bin/sh # # expire sysnews messages @@ -81,8 +81,6 @@ export PATH FS news -e 45 -x NEWUSERS,POLICY - -#eof EOF %clean @@ -111,6 +109,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.41 2006/04/14 16:22:50 glen +- rel 7, cosmetics + Revision 1.40 2005/05/01 17:31:30 glen - use %useradd/%groupadd macros ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/sysnews.spec?r1=1.40&r2=1.41&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
