Prechádzať zdrojové kódy

upgrading package: texinfo 4.13 -> 4.13a

Ralf S. Engelschall 17 rokov pred
rodič
commit
86e2082369
1 zmenil súbory, kde vykonal 9 pridanie a 5 odobranie
  1. 9 5
      texinfo/texinfo.spec

+ 9 - 5
texinfo/texinfo.spec

@@ -21,6 +21,10 @@
 ##  SUCH DAMAGE.
 ##
 
+#   package version
+%define       V_tarball 4.13a
+%define       V_subdir  4.13
+
 #   package information
 Name:         texinfo
 Summary:      GNU Documentation System
@@ -31,11 +35,11 @@ Distribution: OpenPKG Community
 Class:        BASE
 Group:        Typesetting
 License:      GPL
-Version:      4.13
-Release:      20080921
+Version:      %{V_tarball}
+Release:      20080923
 
 #   list of sources
-Source0:      ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-%{version}.tar.gz
+Source0:      ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-%{V_tarball}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -55,13 +59,13 @@ AutoReqProv:  no
 
 %track
     prog texinfo = {
-        version   = %{version}
+        version   = %{V_tarball}
         url       = ftp://ftp.gnu.org/gnu/texinfo/
         regex     = texinfo-(__VER__)\.tar\.(bz2|gz)
     }
 
 %prep
-    %setup -q
+    %setup -q -n texinfo-%{V_subdir}
     chmod a+x build-aux/install-sh
 
 %build