浏览代码

try to workaround some RPM strange behaviours (don't ask)

Ralf S. Engelschall 23 年之前
父节点
当前提交
0ac43fcdfd
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      ncurses/ncurses.spec

+ 2 - 1
ncurses/ncurses.spec

@@ -36,6 +36,7 @@
 %define       V_patch10 20021228
 %define       V_patch11 20021231
 %define       V_patches 11
+%define       V_patch   %{expand:%%{V_patch%{V_patches}}}
 
 #   package information
 Name:         ncurses
@@ -46,7 +47,7 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [BASE]
 Group:        Terminal
 License:      GPL
-Version:      %{V_base}.%{expand:%%{V_patch%{V_patches}}}
+Version:      %{V_base}.%{V_patch}
 Release:      20030103
 
 #   list of sources