Hello community,

here is the log from the commit of package curl for openSUSE:Factory checked in 
at 2016-01-08 15:39:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/curl (Old)
 and      /work/SRC/openSUSE:Factory/.curl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "curl"

Changes:
--------
--- /work/SRC/openSUSE:Factory/curl/curl.changes        2015-12-09 
19:41:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.curl.new/curl.changes   2016-01-08 
15:39:24.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Jan  6 13:18:33 UTC 2016 - [email protected]
+
+- Fix path to curl in zsh.pl to unbreak _curl completion
+  * curl-fix-zsh-completion.patch
+
+-------------------------------------------------------------------

New:
----
  curl-fix-zsh-completion.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ curl.spec ++++++
--- /var/tmp/diff_new_pack.Tw3Urz/_old  2016-01-08 15:39:25.000000000 +0100
+++ /var/tmp/diff_new_pack.Tw3Urz/_new  2016-01-08 15:39:25.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package curl
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,6 +35,8 @@
 Patch3:         curl-secure-getenv.patch
 # PATCH-FIX-OPENSUSE [email protected] -- use openssl's built in verify path as 
fallback
 Patch4:         curl-7.41.0-use-openssl-s-built-in-verify-path-as-fallback.diff
+# PATCH-FIX-OPENSUSE [email protected] -- Fix path to curl in zsh.pl
+Patch5:         curl-fix-zsh-completion.patch
 BuildRequires:  groff
 BuildRequires:  krb5-mini-devel
 BuildRequires:  libtool
@@ -99,6 +101,7 @@
 %patch1
 %patch3
 %patch4 -p1
+%patch5 -p1
 
 %build
 # curl complains if macro definition is contained in CFLAGS



++++++ curl-fix-zsh-completion.patch ++++++
Index: curl-7.46.0/scripts/zsh.pl
===================================================================
--- curl-7.46.0.orig/scripts/zsh.pl
+++ curl-7.46.0/scripts/zsh.pl
@@ -5,7 +5,7 @@
 use strict;
 use warnings;
 
-my $curl = $ARGV[0] || 'curl';
+my $curl = $ARGV[0] || '../src/curl';
 
 my $regex = '\s+(?:(-[^\s]+),\s)?(--[^\s]+)\s([^\s.]+)?\s+(.*)';
 my @opts = parse_main_opts('--help', $regex);

Reply via email to