Selaa lähdekoodia

release 2.2.6 has been withdrawn by the vendor, so track release candidates as well and upgrade to 2.2.7-rc2

Christoph Schug 18 vuotta sitten
vanhempi
commit
1552c4a6ce
1 muutettua tiedostoa jossa 8 lisäystä ja 6 poistoa
  1. 8 6
      dbmail/dbmail.spec

+ 8 - 6
dbmail/dbmail.spec

@@ -24,7 +24,9 @@
 
 #   package component versions
 %define       V_major     2.2
-%define       V_minor     6
+%define       V_minor     7
+%define       V_micro     rc1
+%define       V_micro_sep -rc1
 
 #   package information
 Name:         dbmail
@@ -36,8 +38,8 @@ Distribution: OpenPKG Community
 Class:        EVAL
 Group:        Mail
 License:      GPL
-Version:      %{V_major}.%{V_minor}
-Release:      20070915
+Version:      %{V_major}.%{V_minor}%{V_micro}
+Release:      20070921
 
 #   package options
 %option       with_fsl    yes
@@ -53,7 +55,7 @@ Release:      20070915
 %endif
 
 #   list of sources
-Source0:      http://www.dbmail.org/download/%{V_major}/dbmail-%{V_major}.%{V_minor}.tar.gz
+Source0:      http://www.dbmail.org/download/%{V_major}/dbmail-%{V_major}.%{V_minor}%{V_micro_sep}.tar.gz
 Source1:      fsl.dbmail
 Source2:      rc.dbmail
 Source3:      dbmail-setup.sh
@@ -104,11 +106,11 @@ AutoReqProv:  no
     prog dbmail = {
         version   = %{version}
         url       = http://www.dbmail.org/index.php?page=download
-        regex     = dbmail-(\d+\.[02468](?:\.\d+)+)\.tar\.gz
+        regex     = dbmail-(\d+\.[02468](?:\.\d+)+(-?rc\d+)?)\.tar\.gz
     }
 
 %prep
-    %setup -q
+    %setup -q -n dbmail-%{V_major}.%{V_minor}%{V_micro_sep}
     %patch -p0
 
 %build