Sfoglia il codice sorgente

upgrading package: a2ps 4.13 -> 4.13b

Ralf S. Engelschall 24 anni fa
parent
commit
0da1f7914b
1 ha cambiato i file con 8 aggiunte e 4 eliminazioni
  1. 8 4
      a2ps/a2ps.spec

+ 8 - 4
a2ps/a2ps.spec

@@ -23,6 +23,10 @@
 ##  SUCH DAMAGE.
 ##
 
+#   package version
+%define       V_major 4.13
+%define       V_minor b
+
 #   package information
 Name:         a2ps
 Summary:      Any to Postscript Conversion Tool
@@ -32,11 +36,11 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [REL]
 Group:        Converter
 License:      GPL
-Version:      4.13
-Release:      20020206
+Version:      %{V_major}%{V_minor}
+Release:      20020609
 
 #   list of sources
-Source0:      ftp://ftp.enst.fr/pub/unix/a2ps/a2ps-%{version}.tar.gz
+Source0:      ftp://ftp.enst.fr/pub/unix/a2ps/a2ps-%{V_major}%{V_minor}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -54,7 +58,7 @@ AutoReqProv:  no
     whatever...) provided you have the necessary tools.
 
 %prep
-    %setup -q
+    %setup -q -n a2ps-%{V_major}
 
 %build
     PATH="%{l_prefix}/bin:$PATH"; export PATH