]> git.pld-linux.org Git - packages/zsh.git/commitdiff
- prevent rpm from expanding "macros" in PS1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 Jul 2001 16:46:27 +0000 (16:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added example zlogin/zshenv/zshrc to %%doc
- removed .distfiles and .cvsignore from %%doc

Changed files:
    zsh.spec -> 1.34

zsh.spec

index 21d44e571d4b2100778fb28780becbfb96aaa0a0..ce89effbe14cff7a4fca7e3e76c28334c7865f55 100644 (file)
--- a/zsh.spec
+++ b/zsh.spec
@@ -1,4 +1,4 @@
-# $Revision: 1.33 $ $Date: 2001-07-11 20:07:53 $
+# $Revision: 1.34 $ $Date: 2001-07-15 16:46:27 $
 Summary:       Enhanced bourne shell
 Summary(de):   Enhanced Bourne Shell
 Summary(fr):   Bourne shell amélioré
@@ -87,10 +87,11 @@ install Doc/zsh.info*       $RPM_BUILD_ROOT%{_infodir}
 
 touch $RPM_BUILD_ROOT%{_sysconfdir}/{zlogout,zlogin,zshenv}
 echo    ". /etc/profile"                > $RPM_BUILD_ROOT%{_sysconfdir}/zprofile
-echo -e "PS1='[%n@%m %~]%(!.#.%\$) '\nbindkey -e >/dev/null 2>&1" > \
+echo -e "PS1='[%%n@%%m %%~]%%(!.#.%%\\$) '\nbindkey -e >/dev/null 2>&1" > \
                                           $RPM_BUILD_ROOT%{_sysconfdir}/zshrc
-                                       
+
 rm -f Etc/Makefile*
+find Functions Util StartupFiles -name .distfiles -o -name .cvsignore | xargs rm -f
 gzip -9nf Etc/* README LICENCE ChangeLog META-FAQ
 
 %post
@@ -128,7 +129,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz Etc/* Util Functions
+%doc *.gz Etc/* Util Functions StartupFiles
 %attr(755,root,root) %{_bindir}/zsh
 %config %{_sysconfdir}/*
 %dir %{_libdir}/zsh
This page took 0.026543 seconds and 4 git commands to generate.