浏览代码

upgrading package: epm 3.3 -> 3.4.1

Ralf S. Engelschall 24 年之前
父节点
当前提交
bd55fff277
共有 1 个文件被更改,包括 8 次插入4 次删除
  1. 8 4
      epm/epm.spec

+ 8 - 4
epm/epm.spec

@@ -23,6 +23,10 @@
 ##  SUCH DAMAGE.
 ##
 
+#   package version
+%define       V_major 3.4
+%define       V_minor 1
+
 #   package information
 Name:         epm
 Summary:      ESP Package Manager
@@ -32,11 +36,11 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [REL]
 Group:        System
 License:      GPL
-Version:      3.3
-Release:      20020404
+Version:      %{V_major}.%{V_minor}
+Release:      20020608
 
 #   list of sources
-Source0:      ftp://ftp.easysw.com/pub/epm/epm-%{version}-source.tar.bz2
+Source0:      ftp://ftp.easysw.com/pub/epm/epm-%{V_major}-%{V_minor}-source.tar.bz2
 
 #   build information
 Prefix:       %{l_prefix}
@@ -56,7 +60,7 @@ AutoReqProv:  no
     applications.
 
 %prep
-    %setup -q
+    %setup -q -n epm-%{V_major}
 
 %build
     CC="%{l_cc}" \