瀏覽代碼

upgrading package: wine 0.9.61 -> 1.0rc1

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

+ 8 - 4
wine/wine.spec

@@ -21,6 +21,10 @@
 ##  SUCH DAMAGE.
 ##
 
+#   package version
+%define       V_opkg 1.0rc1
+%define       V_dist 1.0-rc1
+
 #   package information
 Name:         wine
 Summary:      Wine Is Not an Emulator (WINE)
@@ -31,11 +35,11 @@ Distribution: OpenPKG Community
 Class:        EVAL
 Group:        XWindow
 License:      LGPL
-Version:      0.9.61
-Release:      20080503
+Version:      %{V_opkg}
+Release:      20080510
 
 #   list of sources
-Source0:      http://ibiblio.org/pub/linux/system/emulators/wine/wine-%{version}.tar.bz2
+Source0:      http://ibiblio.org/pub/linux/system/emulators/wine/wine-%{V_dist}.tar.bz2
 Source1:      winesetup.sh
 Patch0:       wine.patch
 
@@ -67,7 +71,7 @@ AutoReqProv:  no
     }
 
 %prep
-    %setup -q
+    %setup -q -n wine-%{V_dist}
     %patch -p0
 
     #   pre-check the build platform in advance