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
This commit is contained in:
Ismail Dönmez 2012-01-31 11:04:28 +00:00 committed by Git OBS Bridge
parent a5ec82c2a3
commit 3a58e4a8e4
2 changed files with 31 additions and 1 deletions

27
osc.patch Normal file
View File

@ -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

View File

@ -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