Explorar el Código

add OpenPKG packaging branding

Ralf S. Engelschall hace 22 años
padre
commit
7ba3b944db
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. 7 1
      vim/vim.spec

+ 7 - 1
vim/vim.spec

@@ -38,7 +38,7 @@ Distribution: OpenPKG [CORE]
 Group:        Editor
 License:      Charityware
 Version:      %{V_vl}.%{V_pl}
-Release:      20030928
+Release:      20031006
 
 #   package options
 %option       with_x11        no
@@ -215,6 +215,11 @@ AutoReqProv:  no
         -e 's;ncurses termlib termcap curses;termlib termcap ncurses curses;' \
         vim%{V_vs}/src/auto/configure
 
+    #   adjust introduction text for OpenPKG branding
+    %{l_shtool} subst \
+        -e 's;Modified by;Packaged by;' \
+        vim%{V_vs}/src/version.c
+
 %build
     #   configure package
     cd vim%{V_vs}/src
@@ -224,6 +229,7 @@ AutoReqProv:  no
     LDFLAGS="%{l_ldflags}" \
     ./configure \
         --prefix=%{l_prefix} \
+        --with-modified-by='%{l_openpkg_release}' \
 %if "%{with_x11}" == "yes"
         --with-x \
         --x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \