Parcourir la source

start tracking patches and apply first one

Ralf S. Engelschall il y a 22 ans
Parent
commit
99d4887997
1 fichiers modifiés avec 11 ajouts et 4 suppressions
  1. 11 4
      vile/vile.spec

+ 11 - 4
vile/vile.spec

@@ -23,6 +23,11 @@
 ##  SUCH DAMAGE.
 ##
 
+#   package version
+%define       V_base   9.4
+%define       V_patch1 a
+%define       V_patchL %{V_patch1}
+
 #   package information
 Name:         vile
 Summary:      Vi like Emacs
@@ -32,14 +37,15 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [EVAL]
 Group:        Editor
 License:      BeerWare
-Version:      9.4
-Release:      20030929
+Version:      %{V_base}%{V_patchL}
+Release:      20031009
 
 #   package options
 %option       with_x11   no
 
 #   list of sources
-Source0:      ftp://invisible-island.net/vile/vile-%{version}.tgz
+Source0:      ftp://invisible-island.net/vile/vile-%{V_base}.tgz
+Patch1:       ftp://invisible-island.net/vile/patches/vile-%{V_base}%{V_patch1}.patch.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -59,7 +65,8 @@ AutoReqProv:  no
     Window System support.
 
 %prep
-    %setup -q
+    %setup -q -n vile-%{V_base}
+    %patch -p1 -P 1
 
 %build
 %if "%{with_x11}" == "yes"