From 3a58e4a8e47562b8b67c25f93d9b71b0aef9963c8bc9e5373ee351645ad60681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 31 Jan 2012 11:04:28 +0000 Subject: [PATCH] Accepting request 102182 from home:seilerphilipp I hope this is what you wanted I didn't changed the *.changes this patch provides new osc completion functions for the new opensuse versions. Also I removed old opensuse versions OBS-URL: https://build.opensuse.org/request/show/102182 OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=94 --- osc.patch | 27 +++++++++++++++++++++++++++ zsh.spec | 5 ++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 osc.patch diff --git a/osc.patch b/osc.patch new file mode 100644 index 0000000..4be6c00 --- /dev/null +++ b/osc.patch @@ -0,0 +1,27 @@ +--- Completion/Unix/Command/_osc 2011-12-26 19:14:49.042099413 +0100 ++++ Completion/Unix/Command/_osc 2011-12-26 19:30:10.813449826 +0100 +@@ -16,8 +16,8 @@ + # 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" ++OSC_BUILD_TARGETS="openSUSE_11.2 openSUSE_11.3 openSUSE_11.4 openSUSE_12.1 openSUSE_Tumbleweed openSUSE_Factory SLE_11_SP1" ++OSC_PROJECTS="openSUSE:Factory openSUSE:Tumbleweed openSUSE:12.1 openSUSE:11.4 openSUSE:11.2 openSUSE:11.3" + + # user defined variables $OSC_BUILD_TARGETS_EXTRA and + # $OSC_PROJECTS_EXTRA can add to the project/build target list + +--- Completion/openSUSE/Command/_osc 2011-12-26 19:14:49.042099413 +0100 ++++ Completion/openSUSE/Command/_osc 2011-12-26 19:30:10.813449826 +0100 +@@ -16,8 +16,8 @@ + # 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" ++OSC_BUILD_TARGETS="openSUSE_11.2 openSUSE_11.3 openSUSE_11.4 openSUSE_12.1 openSUSE_Tumbleweed openSUSE_Factory SLE_11_SP1" ++OSC_PROJECTS="openSUSE:Factory openSUSE:Tumbleweed openSUSE:12.1 openSUSE:11.4 openSUSE:11.2 openSUSE:11.3" + + # user defined variables $OSC_BUILD_TARGETS_EXTRA and + # $OSC_PROJECTS_EXTRA can add to the project/build target list diff --git a/zsh.spec b/zsh.spec index 019ffb4..04de4b2 100644 --- a/zsh.spec +++ b/zsh.spec @@ -1,7 +1,7 @@ # # spec file for package zsh # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,7 @@ # + Name: zsh Version: 4.3.15 Release: 0 @@ -37,6 +38,7 @@ Source16: dotzshrc.rh Source17: zshprompt.pl %endif Patch1: %{name}-4.3.12-fix-c02cond-test.patch +Patch2: osc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} Requires(pre): %{install_info_prereq} @@ -88,6 +90,7 @@ This package contains the Zsh manual in html format. %prep %setup -q -n %{name}-%{version} %patch1 -p1 +%patch2 -p0 # Remove executable bit chmod 0644 Etc/changelog2html.pl