Commit cce6667c9358e9c2a58ee73d32d14ba445833a14

Authored by perry.werneck@gmail.com
1 parent 6dfed4bb
Exists in master

Incluindo nome do repositorio SVN no rpm gerado para facilitar identificação da versão de produção

latest/bootstrap.sh
... ... @@ -33,8 +33,11 @@ if test -d ".svn" ; then
33 33 LCD=`date +%Y%m%d`
34 34 fi
35 35  
  36 + URL=`svn info | grep "URL: " | sed -s "s@URL: @@g"`
  37 +
36 38 echo "m4_define([SVN_REV], $REV)" > $REV_FILE
37 39 echo "m4_define([SVN_DATE], $LCD)" >> $REV_FILE
  40 + echo "m4_define([SVN_URL], $URL)" >> $REV_FILE
38 41 echo "m4_define([SVN_RELEASE], $PACKAGE_RELEASE)" >> $REV_FILE
39 42  
40 43 fi
... ...
latest/configure.ac
... ... @@ -503,6 +503,8 @@ AC_SUBST(PACKAGE_REVISION, "SVN_REV")
503 503 AC_DEFINE(PACKAGE_RELEASE,"SVN_RELEASE")
504 504 AC_SUBST(PACKAGE_RELEASE, "SVN_RELEASE")
505 505  
  506 +AC_SUBST(PACKAGE_SOURCE,"SVN_URL")
  507 +
506 508 # Java
507 509 AC_SUBST(JAR)
508 510 AC_SUBST(JDK_HOME)
... ...
latest/pw3270.spec.in
... ... @@ -82,7 +82,8 @@ BuildRequires: autoconf automake gcc-c++ sed pkgconfig gtk2-devel libgnome-deve
82 82 IBM 3270 terminal emulator gtk. It can be used to communicate with
83 83 any IBM host that supports 3270-style connections over TELNET.
84 84  
85   -Revision: @PACKAGE_REVISION@
  85 +SVN Revision: @PACKAGE_REVISION@
  86 +SVN sources from: @PACKAGE_SOURCE@
86 87  
87 88 %package lib
88 89 Provides: %{name}-lib
... ... @@ -94,7 +95,8 @@ BuildRequires: autoconf openssl-devel sed pkgconfig
94 95 %description lib
95 96 tn3270 protocol library for %{name}
96 97  
97   -Revision: @PACKAGE_REVISION@
  98 +SVN Revision: @PACKAGE_REVISION@
  99 +SVN sources from: @PACKAGE_SOURCE@
98 100  
99 101 %package devel
100 102 Provides: %{name}-devel
... ... @@ -105,7 +107,8 @@ Requires: %{name}-lib = @PACKAGE_VERSION@
105 107 %description devel
106 108 devel for tn3270 protocol library for %{name}
107 109  
108   -Revision: @PACKAGE_REVISION@
  110 +SVN Revision: @PACKAGE_REVISION@
  111 +SVN sources from: @PACKAGE_SOURCE@
109 112  
110 113 %if 0%{?_rexx}
111 114 %package rexx
... ... @@ -117,7 +120,8 @@ BuildRequires: ooRexx >= 3.2.0
117 120 %description rexx
118 121 Rexx bindings for 3270 access using lib3270 (non-gui)
119 122  
120   -Revision: @PACKAGE_REVISION@
  123 +SVN Revision: @PACKAGE_REVISION@
  124 +SVN sources from: @PACKAGE_SOURCE@
121 125  
122 126 %package plugin-rexx
123 127 Summary: Rexx plugin for %{name}
... ... @@ -128,7 +132,8 @@ BuildRequires: ooRexx >= 3.2.0
128 132 %description plugin-rexx
129 133 Plugin to add Rexx scripting suport in %{name}
130 134  
131   -Revision: @PACKAGE_REVISION@
  135 +SVN Revision: @PACKAGE_REVISION@
  136 +SVN sources from: @PACKAGE_SOURCE@
132 137 %endif
133 138  
134 139 %if 0%{?_uno}
... ... @@ -142,7 +147,8 @@ BuildRequires: autoconf sed pkgconfig zip
142 147 %description OpenOffice
143 148 Uno/OpenOffice library allowing 3270 access from StarBasic
144 149  
145   -Revision: @PACKAGE_REVISION@
  150 +SVN Revision: @PACKAGE_REVISION@
  151 +SVN sources from: @PACKAGE_SOURCE@
146 152 %endif
147 153  
148 154 %if 0%{?_java}
... ... @@ -154,7 +160,8 @@ Requires: %{name}-lib = @PACKAGE_VERSION@
154 160 %description java
155 161 Jni library allowing 3270 access from java programs (non-GUI)
156 162  
157   -Revision: @PACKAGE_REVISION@
  163 +SVN Revision: @PACKAGE_REVISION@
  164 +SVN sources from: @PACKAGE_SOURCE@
158 165  
159 166 %package plugin-java
160 167 Group: Development/Libraries
... ... @@ -164,7 +171,8 @@ Requires: %{name}-java = @PACKAGE_VERSION@
164 171 %description plugin-java
165 172 Plugin allowing use of java classes inside %{name}'s UI
166 173  
167   -Revision: @PACKAGE_REVISION@
  174 +SVN Revision: @PACKAGE_REVISION@
  175 +SVN sources from: @PACKAGE_SOURCE@
168 176 %endif
169 177  
170 178 %prep
... ...