瀏覽代碼

fix HPN patch applying

Ralf S. Engelschall 19 年之前
父節點
當前提交
e0ccf12647
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      openssh/openssh.spec

+ 1 - 1
openssh/openssh.spec

@@ -178,7 +178,7 @@ AutoReqProv:  no
     %patch -p0 -P 5
 %endif
 %if "%{with_hpn}" == "yes"
-    %{l_gzip} -d -c %{SOURCE openssh-%{version}-hpn%{V_hpn}.diff.gz} |\
+    %{l_gzip} -d -c %{SOURCE openssh-%{V_hpn}.diff.gz} |\
     sed -e '/^diff.*\/version\.h/,$d' | %{l_patch} -p1 -b
     %{l_shtool} subst -e 's;\(SSH_VERSION SSH_PORTABLE\);\1 "-hpn";' version.h
 %endif