فهرست منبع

upgrading package: dia 0.91 -> 0.92pre1

Michael Schloh von Bennewitz 22 سال پیش
والد
کامیت
1a75d41a06
1فایلهای تغییر یافته به همراه8 افزوده شده و 4 حذف شده
  1. 8 4
      dia/dia.spec

+ 8 - 4
dia/dia.spec

@@ -23,6 +23,10 @@
 ##  SUCH DAMAGE.
 ##
 
+#   package versions
+%define       V_path    0.92
+%define       V_prog    pre1
+
 #   package information
 Name:         dia
 Summary:      Graphical Diagram Editor
@@ -32,11 +36,11 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [EVAL]
 Group:        Graphics
 License:      GPL
-Version:      0.91
-Release:      20030731
+Version:      %{V_path}%{V_prog}
+Release:      20030904
 
 #   list of sources
-Source0:      ftp://ftp.gnome.org/pub/gnome/sources/dia/%{version}/dia-%{version}.tar.gz
+Source0:      ftp://ftp.gnome.org/pub/gnome/sources/dia/%{V_path}/dia-%{V_path}-%{V_prog}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -63,7 +67,7 @@ AutoReqProv:  no
     multiple pages).
 
 %prep
-    %setup -q
+    %setup -q -n dia-0.92-pre1
 
 %build
     %{l_shtool} subst \