Accepting request 56833 from home:elvigia:branches:shells

reviewed okay

OBS-URL: https://build.opensuse.org/request/show/56833
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=42
This commit is contained in:
Hendrik Vogelsang 2011-02-11 10:49:56 +00:00 committed by Git OBS Bridge
parent 7106e73f5f
commit f1f66c81d9
13 changed files with 85 additions and 34 deletions

27
_osc
View File

@ -1,6 +1,6 @@
#compdef osc #compdef osc
# #
# Copyright (C) 2009 Holger Macht <holger@homac.de> # Copyright (C) 2009,2010 Holger Macht <holger@homac.de>
# #
# This file is released under the GPLv2. # This file is released under the GPLv2.
# #
@ -9,8 +9,21 @@
# Toggle verbose completions: zstyle ':completion:*:osc:*' verbose no # Toggle verbose completions: zstyle ':completion:*:osc:*' verbose no
# zstyle ':completion:*:osc-subcommand:*' verbose no # zstyle ':completion:*:osc-subcommand:*' verbose no
# #
# version 0.1 # Use the variables $ZSH_OSC_BUILD_TARGETS_EXTRA and $ZSH_OSC_PROJECTS_EXTRA to
# extend the list of possible completions in your ~/.zshrc like that:
# export OSC_PROJECTS_EXTRA="Base:System Base:shells"
# #
# version 0.2
#
OSC_BUILD_TARGETS="openSUSE_10.2 openSUSE_10.3 openSUSE_11.0 openSUSE_11.1 openSUSE_11.2 openSUSE_11.3 openSUSE_Factory"
OSC_PROJECTS="openSUSE:Factory openSUSE:11.2 openSUSE:11.3 openSUSE:11.1 openSUSE:11.0 openSUSE:10.3"
# user defined variables $OSC_BUILD_TARGETS_EXTRA and
# $OSC_PROJECTS_EXTRA can add to the project/build target list
OSC_BUILD_TARGETS="$OSC_BUILD_TARGETS $ZSH_OSC_BUILD_TARGETS_EXTRA"
OSC_PROJECTS="$OSC_PROJECTS $ZSH_OSC_PROJECTS_EXTRA"
# Main dispatcher # Main dispatcher
_osc() { _osc() {
@ -29,7 +42,7 @@ _osc() {
_osc_cmd_getbinaries _osc_cmd_getbinaries
elif [ "$cmd" = "checkout" -o "$cmd" = "co" -o "$cmd" = "branch" ]; then elif [ "$cmd" = "checkout" -o "$cmd" = "co" -o "$cmd" = "branch" ]; then
_osc_cmd_checkout _osc_cmd_checkout
elif [ "$cmd" = "buildlog" -o "$cmd" = "buildinfo" ]; then elif [ "$cmd" = "buildlog" -o "$cmd" = "buildinfo" -o "$cmd" = "bl" ]; then
_osc_cmd_buildlog _osc_cmd_buildlog
else else
_osc_cmd_do $cmd _osc_cmd_do $cmd
@ -57,21 +70,21 @@ _osc() {
_osc_cmd_getbinaries() { _osc_cmd_getbinaries() {
_arguments \ _arguments \
'1:PROJECT:(PROJECT)' \ '1:PROJECT:( `echo $OSC_PROJECTS` )' \
'2:PACKAGE:(PACKAGE)' \ '2:PACKAGE:(PACKAGE)' \
'3:REPOSITORY:( openSUSE_10.2 openSUSE_10.3 openSUSE_11.0 openSUSE_11.1 openSUSE_Factory SUSE_SLE-11_GA )' \ '3:REPOSITORY:( `echo $OSC_BUILD_TARGETS` )' \
'4:ARCHITECTURE:(i586 x86_64)' '4:ARCHITECTURE:(i586 x86_64)'
} }
_osc_cmd_checkout() { _osc_cmd_checkout() {
_arguments \ _arguments \
'1:PROJECT:( openSUSE:Factory openSUSE:11.1 openSUSE:11.0 openSUSE:10.3 )' \ '1:PROJECT:( `echo $OSC_PROJECTS` )' \
'2:PACKAGE:(PACKAGE)' '2:PACKAGE:(PACKAGE)'
} }
_osc_cmd_buildlog() { _osc_cmd_buildlog() {
_arguments \ _arguments \
'1:REPOSITORY:( openSUSE_10.2 openSUSE_10.3 openSUSE_11.0 openSUSE_11.1 openSUSE_Factory SUSE_SLE-11_GA )' \ '1:REPOSITORY:( `echo $OSC_BUILD_TARGETS` )' \
'2:ARCHITECTURE:(i586 x86_64)' '2:ARCHITECTURE:(i586 x86_64)'
} }

23
_service Normal file
View File

@ -0,0 +1,23 @@
<?xml version="1.0" ?>
<services>
<service name="download_url">
<param name="protocol">http</param>
<param name="host">www.zsh.org</param>
<param name="path">/pub/zsh-4.3.11.tar.bz2</param>
</service>
<service name="verify_file">
<param name="file">_service:download_url:zsh-4.3.11.tar.bz2</param>
<param name="verifier">sha256</param>
<param name="checksum">30eb774120d89d98336c929c210a9df4f61fc1f0137732812a6c0d8b8d074f05</param>
</service>
<service name="download_url">
<param name="protocol">http</param>
<param name="host">www.zsh.org</param>
<param name="path">/pub/zsh-4.3.11-doc.tar.bz2</param>
</service>
<service name="verify_file">
<param name="file">_service:download_url:zsh-4.3.11-doc.tar.bz2</param>
<param name="verifier">sha256</param>
<param name="checksum">956100a251cf523978a2f81802636b6cdd28f2861d508eedb10477317cecec4c</param>
</service>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:956100a251cf523978a2f81802636b6cdd28f2861d508eedb10477317cecec4c
size 2687527

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30eb774120d89d98336c929c210a9df4f61fc1f0137732812a6c0d8b8d074f05
size 2868429

0
ready
View File

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f53d5c434fdb26fc79755279175514507eb1d11cf793ac57270d053ee61f37f9
size 2690183

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63fdc0273eadbb42d164f38b0b79922c0b3df0e97084e746a318276d935a4f7c
size 2735665

View File

@ -1,7 +1,5 @@
Index: Doc/intro.ms --- Doc/intro.ms.orig
=================================================================== +++ Doc/intro.ms
--- Doc/intro.ms.orig 2007-07-03 19:03:03.000000000 +0200
+++ Doc/intro.ms 2009-12-02 19:12:41.000000000 +0100
@@ -516,13 +516,13 @@ separate process is not created.) @@ -516,13 +516,13 @@ separate process is not created.)
%\0ed\0/tmp/funs/yp %\0ed\0/tmp/funs/yp
25 25
@ -39,10 +37,8 @@ Index: Doc/intro.ms
.De .De
If you use more words of the same command, only the first \fC!\fP If you use more words of the same command, only the first \fC!\fP
needs an event designator. needs an event designator.
Index: Test/E01options.ztst --- Test/E01options.ztst.orig
=================================================================== +++ Test/E01options.ztst
--- Test/E01options.ztst.orig 2008-08-11 10:38:57.000000000 +0200
+++ Test/E01options.ztst 2009-12-02 19:12:41.000000000 +0100
@@ -116,7 +116,7 @@ @@ -116,7 +116,7 @@
>scalar >scalar

View File

@ -1,6 +1,6 @@
--- Doc/Makefile.in --- Doc/Makefile.in.orig
+++ Doc/Makefile.in +++ Doc/Makefile.in
@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@ INSTALL = @INSTALL@
MAKEINFO = makeinfo MAKEINFO = makeinfo
TEXI2DVI = texi2dvi TEXI2DVI = texi2dvi
DVIPS = dvips DVIPS = dvips
@ -9,7 +9,7 @@
.SUFFIXES: .yo .1 .SUFFIXES: .yo .1
@@ -294,26 +294,9 @@ @@ -294,26 +294,9 @@ install.man: man
# install info pages, creating install directory if necessary # install info pages, creating install directory if necessary
install.info: texi install.info: texi
${SHELL} $(sdir_top)/mkinstalldirs $(DESTDIR)$(infodir) ${SHELL} $(sdir_top)/mkinstalldirs $(DESTDIR)$(infodir)
@ -39,7 +39,7 @@
.PHONY: install.info .PHONY: install.info
# uninstall man pages # uninstall man pages
@@ -332,7 +315,7 @@ @@ -332,7 +315,7 @@ uninstall.info:
# install HTML manual # install HTML manual
install.html: html install.html: html
${SHELL} $(sdir_top)/mkinstalldirs $(DESTDIR)$(htmldir) ${SHELL} $(sdir_top)/mkinstalldirs $(DESTDIR)$(htmldir)

View File

@ -1,6 +1,6 @@
--- Functions/Misc/run-help --- Functions/Misc/run-help.orig
+++ Functions/Misc/run-help +++ Functions/Misc/run-help
@@ -30,7 +30,7 @@ @@ -29,7 +29,7 @@ then
return 0 return 0
elif [[ -n "${HELPDIR:-}" && -r $HELPDIR/$1 && $1 != compctl ]] elif [[ -n "${HELPDIR:-}" && -r $HELPDIR/$1 && $1 != compctl ]]
then then
@ -9,7 +9,7 @@
return $? return $?
fi fi
@@ -64,7 +64,7 @@ @@ -65,7 +65,7 @@ do
(comp*) man zshcompsys;; (comp*) man zshcompsys;;
(zf*) man zshftpsys;; (zf*) man zshftpsys;;
(run-help) man zshcontrib;; (run-help) man zshcontrib;;

View File

@ -1,6 +1,6 @@
--- Src/Makefile.in --- Src/Makefile.in.orig
+++ Src/Makefile.in +++ Src/Makefile.in
@@ -148,14 +148,7 @@ @@ -149,14 +149,7 @@ uninstall.bin: uninstall.bin-here
# install binary, creating install directory if necessary # install binary, creating install directory if necessary
install.bin-here: zsh$(EXEEXT) $(INSTLIB) install.bin-here: zsh$(EXEEXT) $(INSTLIB)
${SHELL} $(sdir_top)/mkinstalldirs $(DESTDIR)$(bindir) ${SHELL} $(sdir_top)/mkinstalldirs $(DESTDIR)$(bindir)
@ -16,7 +16,7 @@
.PHONY: install.bin-here .PHONY: install.bin-here
install.bin-N: install.bin-N:
--- Src/Modules/terminfo.c --- Src/Modules/terminfo.c.orig
+++ Src/Modules/terminfo.c +++ Src/Modules/terminfo.c
@@ -28,6 +28,7 @@ @@ -28,6 +28,7 @@
*/ */

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Dec 29 02:07:58 UTC 2010 - cristian.rodriguez@opensuse.org
- Update to version 4.3.11
* The completion system now has a style path-completion.
* new "zsystem" builtin whose subcommands perform system level tasks
* Added "D" and "Z" flag in parameter expansion
* Lots of other bugfixes/improvements, see Changelog
-------------------------------------------------------------------
Tue Mar 9 11:50:17 CET 2010 - hmacht@suse.de
- update completion for _osc:
- add new products openSUSE 11.2 and openSUSE 11.3
- add possibility to extend the list of projects and build
targets with user defined variables
$ZSH_OSC_BUILD_TARGETS_EXTRA and $ZSH_OSC_PROJECTS_EXTRA
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 2 18:14:17 UTC 2009 - coolo@novell.com Wed Dec 2 18:14:17 UTC 2009 - coolo@novell.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package zsh (Version 4.3.10) # spec file for package zsh (Version 4.3.10)
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,8 +19,8 @@
Name: zsh Name: zsh
Version: 4.3.10 Version: 4.3.11
Release: 4 Release: 5
License: Other uncritical OpenSource License License: Other uncritical OpenSource License
Group: System/Shells Group: System/Shells
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -136,6 +136,7 @@ groff Doc/intro.ms > intro.txt
%{__ln_s} -f ../../bin/zsh %{buildroot}/usr/bin/zsh %{__ln_s} -f ../../bin/zsh %{buildroot}/usr/bin/zsh
%fdupes $RPM_BUILD_ROOT %fdupes $RPM_BUILD_ROOT
%clean %clean
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}