commit 50eb5db5a3fef469eab5da342a76e7aa8f024bf0 Author: Elan Ruusamäe <g...@delfi.ee> Date: Thu Feb 26 23:37:32 2015 +0200
cleanup functions related to pld cvs -- no longer needed rpm-build.sh | 39 --------------------------------------- 1 file changed, 39 deletions(-) --- diff --git a/rpm-build.sh b/rpm-build.sh index a04dc94..14ee4ad 100755 --- a/rpm-build.sh +++ b/rpm-build.sh @@ -170,40 +170,9 @@ get-buildlog() { fi # no $dist set -alias cv='cvs status -v' alias adif="dif -x '*.m4' -x ltmain.sh -x install-sh -x depcomp -x 'Makefile.in' -x compile -x 'config.*' -x configure -x missing -x mkinstalldirs -x autom4te.cache" alias pclean="sed -i~ -e '/^\(?\|=\+$\|unchanged:\|diff\|only\|Only\|Files\|Common\|Index:\|RCS file\|retrieving\)/d'" -# makes diff from PLD CVS urls -# requires: cvs, tee -urldiff() { - local url="$1" - if [ -z "$url" ]; then - echo >&2 "Reading STDIN" - read url - fi - - echo >&2 "Process $url" - local file="$url" - file=${file#*SPECS/} - file=${file#*SOURCES/} - file=${file##*/} - local r1=${file#*r1=} - local r2=${r1#*r2=} - r2=${r2%%[&;]*} - r1=${r1%%[&;]*} - file=${file%\?*} - file=${file%.diff} - - echo >&2 "$file: $r1 -> $r2" - - if [ -t 1 ]; then - cvs diff -u -r$r1 -r$r2 $file | tee m.patch | diffcol - else - cvs diff -u -r$r1 -r$r2 $file - fi -} - # makes diff from kde svn path # requires: wget, tee kdediff() { @@ -271,14 +240,6 @@ sed -e ' ' ${1:+"$@"} } -# chdir to file location and do 'cvs log' -cvslog() { - local f="$1" - local d="${f%/*}" - [ "$d" = "$f" ] && d=. - (builtin cd $d && cvs log ${f##*/}) -} - # does diff between FILE~ and FILE # the diff can be applied with patch -p1 d() { ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/4bd523d4d38aa9b69d383ab41e722fbeed3c0b9a _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit