Commit 08f2e6f1a8e2034d6f92dbfe4aca346b681e61f8

Authored by Davide Madrisan
1 parent 1ef49ec99d
Exists in master

Changelog - Synchronize with git log

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>

Showing 1 changed file with 17 additions and 1 deletions Inline Diff

1 Changes in version 1.16.5 1 Changes in version 1.16.5
2 Sat Sep 20 2014 Madrisan <davide.madrisan(a)gmail.com> 2 Sat Sep 20 2014 Madrisan <davide.madrisan(a)gmail.com>
3 3
4 + improvement 4 + improvement
5 * templates/ghc - Silvan Calarco 5 * templates/ghc - Silvan Calarco
6 New template for ghc modules. 6 New template for ghc modules.
7 7
8 + bugfix 8 + bugfix
9 * templates/python - Silvan Calarco 9 * templates/python - Silvan Calarco
10 Remove unexisting option '--single-version-externally-managed'. 10 Remove unexisting option '--single-version-externally-managed'.
11 11
12 * pck-update - Davide Madrisan 12 * pck-update - Davide Madrisan
13 Fix the way 'package.generate_name()' return the package path when the 13 Fix the way 'package.generate_name()' return the package path when the
14 option '-p' has not been specified. 14 option '-p' has not been specified.
15 Bug reported by Silvan Calarco. 15 Bug reported by Silvan Calarco.
16 16
17 + improvement 17 + improvement
18 * pck-update - Silvan Calarco 18 * pck-update - Silvan Calarco
19 Specify target_cpu when installing build requirements for x86_64 multiarch 19 Specify target_cpu when installing build requirements for x86_64 multiarch
20 support. 20 support.
21 21
22 + bugfix 22 + bugfix
23 * lib/libnetwork.lib - Silvan Calarco 23 * lib/libnetwork.lib - Silvan Calarco
24 .git suffix is not optional when cloning from http/https urls. 24 .git suffix is not optional when cloning from http/https urls.
25 25
26 * conf/04-rpmbuild-format-unpackaged-filelist.conf - Davide Madrisan 26 * conf/04-rpmbuild-format-unpackaged-filelist.conf - Davide Madrisan
27 Split the translation rules for the unpackaged files into a common block 27 Split the translation rules for the unpackaged files into a common block
28 ('format_unpackaged_file_list_common') and an architecture-specific file 28 ('format_unpackaged_file_list_common') and an architecture-specific file
29 per supported architecture (currently 'i586' and 'x86_64'). 29 per supported architecture (currently 'i586' and 'x86_64').
30 This solves the problem of some wrongly filenames reported by autospec 30 This solves the problem of some wrongly filenames reported by autospec
31 when running on the x86_64 architecture. 31 when running on the x86_64 architecture.
32 Issue pointed out by Silvan Calarco. 32 Issue pointed out by Silvan Calarco.
33 33
34 * conf/04-rpmbuild-format-unpackaged-filelist.conf - Davide Madrisan 34 * conf/04-rpmbuild-format-unpackaged-filelist.conf - Davide Madrisan
35 The translation rules for Python 2.7 and Python 3 have been updated 35 The translation rules for Python 2.7 and Python 3 have been updated
36 to reflect the current support for Python in openmamba. 36 to reflect the current support for Python in openmamba.
37 37
38 + improvement 38 + improvement
39 * spec-create - Davide Madrisan 39 * spec-create - Davide Madrisan
40 Create a correct %build block in the specfile generated from tarballs 40 Create a correct %build block in the specfile generated from tarballs
41 that do not provide any 'configure' script but only an 'autogen,sh' one. 41 that do not provide any 'configure' script but only an 'autogen,sh' one.
42 Feature asked by Silvan Calarco. 42 Feature asked by Silvan Calarco.
43 43
44 * spec-create - Davide Madrisan 44 * spec-create - Davide Madrisan
45 specfile.create(): always execute 'git.create_tarball()' with the option 45 specfile.create(): always execute 'git.create_tarball()' with the option
46 '--pck-version'. This way a user-provided package version will be used 46 '--pck-version'. This way a user-provided package version will be used
47 instead of the default one. 47 instead of the default one.
48 Feature asked by Silvan Calarco. 48 Feature asked by Silvan Calarco.
49 49
50 * lib/libnetwork.lib - Davide Madrisan 50 * lib/libnetwork.lib - Davide Madrisan
51 git.download(): document and honour the '--pck-version' when set. 51 git.download(): document and honour the '--pck-version' when set.
52 52
53 + bugfix 53 + bugfix
54 * pkg-update - Silvan Calarco 54 * pkg-update - Silvan Calarco
55 '--target' needs to be passed as last option to rpmbuild. 55 '--target' needs to be passed as last option to rpmbuild.
56 56
57 + improvement 57 + improvement
58 * pck-update - Silvan Calarco 58 * pck-update - Silvan Calarco
59 Support for package.arch specfile build requirement. 59 Support for package.arch specfile build requirement.
60 When this form of requirement is detected it is converted to package@arch 60 When this form of requirement is detected it is converted to package@arch
61 as required by smart. 61 as required by smart.
62 Also add comments and a FIXME about a problem with previous patch of this 62 Also add comments and a FIXME about a problem with previous patch of this
63 63
64 + bugfix 64 + bugfix
65 * tests/{test01_pkgquality,test02_pkgsecurity} - Davide Madrisan 65 * tests/{test01_pkgquality,test02_pkgsecurity} - Davide Madrisan
66 Fix an obsolete and now unsupported syntax for 'find -perm'. 66 Fix an obsolete and now unsupported syntax for 'find -perm'.
67 67
68 + improvement 68 + improvement
69 * lib/libnetwork.lib - Davide Madrisan 69 * lib/libnetwork.lib - Davide Madrisan
70 Do not use the external tool 'which'. Use the bash builtin command 'type'. 70 Do not use the external tool 'which'. Use the bash builtin command 'type'.
71 71
72 ------------------------------------------------------------------------------- 72 -------------------------------------------------------------------------------
73 73
74 Changes in version 1.16.4 - "Korbielow" release 74 Changes in version 1.16.4 - "Korbielow" release
75 Fri Nov 08 2013 Madrisan <davide.madrisan(a)gmail.com> 75 Fri Nov 08 2013 Madrisan <davide.madrisan(a)gmail.com>
76 76
77 + bugfix 77 + bugfix
78 * lib/libtest.lib - Davide Madrisan: 78 * lib/libtest.lib - Davide Madrisan:
79 Replace 'notify --error' by 'notify.error'. 79 Replace 'notify --error' by 'notify.error'.
80 80
81 * tests/test01_pkgquality - Davide Madrisan: 81 * tests/test01_pkgquality - Davide Madrisan:
82 Test for bad BuildArch tags: modify regexp to catch OCaml library files. 82 Test for bad BuildArch tags: modify regexp to catch OCaml library files.
83 83
84 * tests/test01_pkgquality - Davide Madrisan: 84 * tests/test01_pkgquality - Davide Madrisan:
85 Check for wrong file attributes in bin and lib directories: 85 Check for wrong file attributes in bin and lib directories:
86 Do ignore files with name matching '*.so.owner'. These are text files 86 Do ignore files with name matching '*.so.owner'. These are text files
87 used by OCaml. 87 used by OCaml.
88 88
89 + update 89 + update
90 * conf/02-specfile-rpm-groups.conf - Davide Madrisan: 90 * conf/02-specfile-rpm-groups.conf - Davide Madrisan:
91 Add specific rpm groups for OCaml libraries and development packages. 91 Add specific rpm groups for OCaml libraries and development packages.
92 92
93 + improvement 93 + improvement
94 * templates/ocaml-libs, templates/Makefile - Davide Madrisan: 94 * templates/ocaml-libs, templates/Makefile - Davide Madrisan:
95 New autospec template for OCaml libraries. 95 New autospec template for OCaml libraries.
96 96
97 * plugins/spec-create - Davide Madrisan: 97 * plugins/spec-create - Davide Madrisan:
98 Add support for the new template ocaml-libs. 98 Add support for the new template ocaml-libs.
99 99
100 * conf/02-specfile-rpm-macros-ocaml.conf - Davide Madrisan: 100 * conf/02-specfile-rpm-macros-ocaml.conf - Davide Madrisan:
101 New configuration file for the OCaml (library) modules. 101 New configuration file for the OCaml (library) modules.
102 102
103 + update 103 + update
104 * po/it/pck-update.po - Davide Madrisan: 104 * po/it/pck-update.po - Davide Madrisan:
105 Update the italian translation strings. 105 Update the italian translation strings.
106 106
107 * italian manpage - Davide Madrisan: 107 * italian manpage - Davide Madrisan:
108 Document the new template ocaml-libs. 108 Document the new template ocaml-libs.
109 109
110 * test00_specsyntax - Davide Madrisan: 110 * test00_specsyntax - Davide Madrisan:
111 Remove the test about the provided infopages because it's a duplicate of 111 Remove the test about the provided infopages because it's a duplicate of
112 the test implemented in 'test01_pkgquality'. 112 the test implemented in 'test01_pkgquality'.
113 113
114 + improvement 114 + improvement
115 * test01_pkgquality - Davide Madrisan: 115 * test01_pkgquality - Davide Madrisan:
116 Improve the test for not or badly installed infopages and make a better 116 Improve the test for not or badly installed infopages and make a better
117 help message. 117 help message.
118 118
119 + bugfix 119 + bugfix
120 * pck-update - Silvan Calarco: 120 * pck-update - Silvan Calarco:
121 Don't clone from git repository at every build is source with current 121 Don't clone from git repository at every build is source with current
122 version already exists. 122 version already exists.
123 123
124 * pck-update - Silvan Calarco: 124 * pck-update - Silvan Calarco:
125 Fix update of git urls starting with and https:// 125 Fix update of git urls starting with and https://
126 Source URLs from git don't just end with '.git', btw they can be detected 126 Source URLs from git don't just end with '.git', btw they can be detected
127 by searching for '.git/'. 127 by searching for '.git/'.
128 128
129 * lib/libnetwork.lib - Silvan Calarco: 129 * lib/libnetwork.lib - Silvan Calarco:
130 Fix necessary and tested with code.google.com 130 Fix necessary and tested with code.google.com
131 Additionally print full 'git clone ..' command line used in debug output. 131 Additionally print full 'git clone ..' command line used in debug output.
132 132
133 + improvement 133 + improvement
134 * pck-update - Davide Madrisan: 134 * pck-update - Davide Madrisan:
135 New function 'package.generate_name()' required for removing duplicated 135 New function 'package.generate_name()' required for removing duplicated
136 code and fix a long standing issue. 136 code and fix a long standing issue.
137 137
138 * pck-update, spec-create - Silvan Calarco: 138 * pck-update, spec-create - Silvan Calarco:
139 New options '--packager-fullname' and '--packager-email'. 139 New options '--packager-fullname' and '--packager-email'.
140 140
141 + bugfix 141 + bugfix
142 * po/it/autospec.po - Davide Madrisan: 142 * po/it/autospec.po - Davide Madrisan:
143 Add missing translation strings. 143 Add missing translation strings.
144 144
145 + update 145 + update
146 * autospec, pck-update - Davide Madrisan: 146 * autospec, pck-update - Davide Madrisan:
147 Update the copyleft messages. 147 Update the copyleft messages.
148 148
149 * italian manpage - Davide Madrisan: 149 * italian manpage - Davide Madrisan:
150 Update the italian manpage by documenting the new '--packager-fullname' 150 Update the italian manpage by documenting the new '--packager-fullname'
151 and '--packager-email' options. 151 and '--packager-email' options.
152 152
153 + bugfix 153 + bugfix
154 * pck-update - Davide Madrisan: 154 * pck_update - Silvan Calarco
155 More changes on 'rpmbuildopt' parameters ordering to workaround cross-arch
156 builds. This is still a workaround to allow cross-arch builds with long rpm
157 command lines because it seems that rpmbuild is ignoring extra passed
158 parameters when they exceed a certain number (5 or 6 as far as I remember).
159
160 * pck-update - Silvan Calarco
161 'buildreqs_to_install': keep conservative classic behaviour on archs
162 different from x86_64.
163
164 * pck-update - Silvan Calarco
165 Fix duplicated names in 'BuildRequires' in multiarch systems (x86_64).
166
167 * pck-update - Davide Madrisan
168 Always rebuild srpm when rpms are built unless --nosrpm is passed.
169
170 * pck-update - Davide Madrisan
155 Fix the way 'package.generate_name()' return the package path. 171 Fix the way 'package.generate_name()' return the package path.
156 Bug reported by Silvan Calarco. 172 Bug reported by Silvan Calarco.
157 173
158 ------------------------------------------------------------------------------- 174 -------------------------------------------------------------------------------
159 175
160 Changes in version 1.16.3 176 Changes in version 1.16.3
161 Mon Mar 04 2013 Madrisan <davide.madrisan(a)gmail.com> 177 Mon Mar 04 2013 Madrisan <davide.madrisan(a)gmail.com>
162 178
163 + bugfix 179 + bugfix
164 * lib/libapse.lib - Silvan Calarco: 180 * lib/libapse.lib - Silvan Calarco:
165 Fix and simplify update check at sourceforge.net. 181 Fix and simplify update check at sourceforge.net.
166 182
167 * pck-update - Silvan Calarco: 183 * pck-update - Silvan Calarco:
168 Restore support for passing user parameters to rpm. 184 Restore support for passing user parameters to rpm.
169 Bug introduced in version 1.16.2 while creating 'specfile.check_syntax()'. 185 Bug introduced in version 1.16.2 while creating 'specfile.check_syntax()'.
170 186
171 * lib/libspec.lib - Davide Madrisan: 187 * lib/libspec.lib - Davide Madrisan:
172 Fix initialization of SPEC_SOURCE0 and SPEC_SOURCE0_VERBATIM. 188 Fix initialization of SPEC_SOURCE0 and SPEC_SOURCE0_VERBATIM.
173 189
174 * lib/libspec.lib - Silvan Calarco: 190 * lib/libspec.lib - Silvan Calarco:
175 Reworked sed expressions to get SPEC_SOURCE0_PCKNAME from SPEC_SOURCE0. 191 Reworked sed expressions to get SPEC_SOURCE0_PCKNAME from SPEC_SOURCE0.
176 192
177 * lib/libspec.lib - Silvan Calarco: 193 * lib/libspec.lib - Silvan Calarco:
178 Also support "=" relation when assigning SPEC_OBSOLETES. 194 Also support "=" relation when assigning SPEC_OBSOLETES.
179 195
180 * plugins/spec-create - Silvan Calarco: 196 * plugins/spec-create - Silvan Calarco:
181 Fix regexp to detect names starting with 'lib' (sample failing case: lilv) 197 Fix regexp to detect names starting with 'lib' (sample failing case: lilv)
182 198
183 * plugins/spec-create - Davide Madrisan: 199 * plugins/spec-create - Davide Madrisan:
184 Fix package version detection of source tarballs that have been created by 200 Fix package version detection of source tarballs that have been created by
185 'git.create_tarball'. 201 'git.create_tarball'.
186 202
187 + improvement 203 + improvement
188 * templates/web - Silvan Calarco: 204 * templates/web - Silvan Calarco:
189 New template for web application packages. 205 New template for web application packages.
190 206
191 + bugfix 207 + bugfix
192 * conf/02-specfile-formatting-rules.conf - Davide Madrisan: 208 * conf/02-specfile-formatting-rules.conf - Davide Madrisan:
193 Do not warn if a 'source0' file URL begins by 'git://'. 209 Do not warn if a 'source0' file URL begins by 'git://'.
194 210
195 + update 211 + update
196 * pck-create, italian manpage - Davide Madrisan: 212 * pck-create, italian manpage - Davide Madrisan:
197 Update the help message and the italian manpage by documenting the new 213 Update the help message and the italian manpage by documenting the new
198 target 'web'. 214 target 'web'.
199 215
200 * po/it/pck-update.po - Davide Madrisan: 216 * po/it/pck-update.po - Davide Madrisan:
201 Update the italian translation strings. 217 Update the italian translation strings.
202 218
203 ------------------------------------------------------------------------------- 219 -------------------------------------------------------------------------------
204 220
205 Changes in version 1.16.2 - Christmas Release 221 Changes in version 1.16.2 - Christmas Release
206 Tue Dec 18 2012 Madrisan <davide.madrisan(a)gmail.com> 222 Tue Dec 18 2012 Madrisan <davide.madrisan(a)gmail.com>
207 223
208 + update 224 + update
209 * lib/libspec.lib - Davide Madrisan: 225 * lib/libspec.lib - Davide Madrisan:
210 New function 'specfile.check_syntax()' based on the code previously 226 New function 'specfile.check_syntax()' based on the code previously
211 located in the module pck-update (function 'infofile.create()'). 227 located in the module pck-update (function 'infofile.create()').
212 228
213 + improvement 229 + improvement
214 * lib/libspec.lib - Davide Madrisan: 230 * lib/libspec.lib - Davide Madrisan:
215 'rpm -q --specfile --specedit <specfile>' does not always exit with an 231 'rpm -q --specfile --specedit <specfile>' does not always exit with an
216 error code when the specfiles have syntax errors. 232 error code when the specfiles have syntax errors.
217 Try to catch these problems too. 233 Try to catch these problems too.
218 (This problem has been pointed out by Silvan Calarco). 234 (This problem has been pointed out by Silvan Calarco).
219 235
220 * lib/libmsgmng.lib - Davide Madrisan: 236 * lib/libmsgmng.lib - Davide Madrisan:
221 Translate "ERROR", "WARNING", and "DEBUG". 237 Translate "ERROR", "WARNING", and "DEBUG".
222 238
223 * lib/libspec.lib - Davide Madrisan: 239 * lib/libspec.lib - Davide Madrisan:
224 Better error reporting in case of syntax errors in the specfiles. 240 Better error reporting in case of syntax errors in the specfiles.
225 241
226 + update 242 + update
227 * po/it/autospec.po - Davide Madrisan: 243 * po/it/autospec.po - Davide Madrisan:
228 Update the tranlation file. 244 Update the tranlation file.
229 245
230 ------------------------------------------------------------------------------- 246 -------------------------------------------------------------------------------
231 247
232 Changes in version 1.16.1 248 Changes in version 1.16.1
233 Sun Dec 02 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 249 Sun Dec 02 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
234 250
235 + improvement 251 + improvement
236 * po/it/Makefile - Davide Madrisan: 252 * po/it/Makefile - Davide Madrisan:
237 Target 'locales': check 'autospec.po' for untranslated strings. 253 Target 'locales': check 'autospec.po' for untranslated strings.
238 254
239 + bugfix 255 + bugfix
240 * po/it/autospec.po - Davide Madrisan: 256 * po/it/autospec.po - Davide Madrisan:
241 Add a missing translation. 257 Add a missing translation.
242 258
243 + update 259 + update
244 * po/it/Makefile - Davide Madrisan: 260 * po/it/Makefile - Davide Madrisan:
245 Better output messages. 261 Better output messages.
246 262
247 * Makefile.env - Davide Madrisan: 263 * Makefile.env - Davide Madrisan:
248 The variables PO_COPYRIGH_HOLDER and PO_BUGS_ADDRESS are no longer 264 The variables PO_COPYRIGH_HOLDER and PO_BUGS_ADDRESS are no longer
249 required. Remove them. 265 required. Remove them.
250 266
251 * lib/libtranslate.lib - Davide Madrisan: 267 * lib/libtranslate.lib - Davide Madrisan:
252 New library libtranslate.lib. 268 New library libtranslate.lib.
253 269
254 * lib/*, plugins/*, tests/* - Davide Madrisan: 270 * lib/*, plugins/*, tests/* - Davide Madrisan:
255 Use libtranslate.lib instead of duplicate the code in every library, 271 Use libtranslate.lib instead of duplicate the code in every library,
256 plugin, and test module. 272 plugin, and test module.
257 273
258 * config-getvar - Davide Madrisan: 274 * config-getvar - Davide Madrisan:
259 Update the help message. 275 Update the help message.
260 276
261 + bugfix 277 + bugfix
262 * lib/* - Davide Madrisan: 278 * lib/* - Davide Madrisan:
263 Get rid of the clashing variables 'me'. 279 Get rid of the clashing variables 'me'.
264 280
265 * lib/libapse.lib - Davide Madrisan: 281 * lib/libapse.lib - Davide Madrisan:
266 Do not use the real paths of libspe.lib. Use @libdir@ instead. 282 Do not use the real paths of libspe.lib. Use @libdir@ instead.
267 283
268 + update 284 + update
269 * lib/*, tests/* - Davide Madrisan: 285 * lib/*, tests/* - Davide Madrisan:
270 Add a debug message saying that the file is being loaded. 286 Add a debug message saying that the file is being loaded.
271 287
272 ------------------------------------------------------------------------------- 288 -------------------------------------------------------------------------------
273 289
274 Changes in version 1.16.0 290 Changes in version 1.16.0
275 Mon Nov 26 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 291 Mon Nov 26 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
276 292
277 + update 293 + update
278 * Makefile - Davide Madrisan: 294 * Makefile - Davide Madrisan:
279 Target 'check': also check library files. 295 Target 'check': also check library files.
280 296
281 + bugfix 297 + bugfix
282 * conf/03-apse.conf - Silvan Calarco: 298 * conf/03-apse.conf - Silvan Calarco:
283 Fix sed expression not to match trailing spaces in: 299 Fix sed expression not to match trailing spaces in:
284 . http://directory.fsf.org 300 . http://directory.fsf.org
285 . http://launchpad.net 301 . http://launchpad.net
286 302
287 + update 303 + update
288 * Makefiles - Davide Madrisan: 304 * Makefiles - Davide Madrisan:
289 New target 'pot-files'. 305 New target 'pot-files'.
290 306
291 * Makefiles.env, Makefile's - Davide Madrisan: 307 * Makefiles.env, Makefile's - Davide Madrisan:
292 Add some variables to Makefiles.env and use them in the make targets 308 Add some variables to Makefiles.env and use them in the make targets
293 'pot-files'. 309 'pot-files'.
294 310
295 + bugfix 311 + bugfix
296 * pck-update - Davide Madrisan: 312 * pck-update - Davide Madrisan:
297 Do not ignore the option '--changelog' when the variable 313 Do not ignore the option '--changelog' when the variable
298 'changelog_userdef' is defined in one of the configuration files. 314 'changelog_userdef' is defined in one of the configuration files.
299 315
300 + improvement 316 + improvement
301 * Makefiles.env, Makefile's, po files - Davide Madrisan: 317 * Makefiles.env, Makefile's, po files - Davide Madrisan:
302 Improved translation framework. 318 Improved translation framework.
303 New makefile targets: 'pot-files', 'pot-merge', and 'locales-concatenate'. 319 New makefile targets: 'pot-files', 'pot-merge', and 'locales-concatenate'.
304 320
305 * autospec, plugins/*, lib/*, tests/* - Davide Madrisan: 321 * autospec, plugins/*, lib/*, tests/* - Davide Madrisan:
306 Set TEXTDOMAIN to "autospec-all" (point to the global translation file 322 Set TEXTDOMAIN to "autospec-all" (point to the global translation file
307 instead of using the partial ones). 323 instead of using the partial ones).
308 324
309 * plugins/* - Davide Madrisan: 325 * plugins/* - Davide Madrisan:
310 Do not load a library previously loaded by another module. 326 Do not load a library previously loaded by another module.
311 327
312 + bugfix 328 + bugfix
313 * plugins/* - Davide Madrisan: 329 * plugins/* - Davide Madrisan:
314 Bug introduced in version 1.14.3. 330 Bug introduced in version 1.14.3.
315 Run 'notify.enable_colors' once the configuration files are loaded. 331 Run 'notify.enable_colors' once the configuration files are loaded.
316 (Problem noticed by Silvan Calarco in 'pck-update'). 332 (Problem noticed by Silvan Calarco in 'pck-update').
317 333
318 + improvement 334 + improvement
319 * Translation framework - Davide Madrisan: 335 * Translation framework - Davide Madrisan:
320 xgettext is buggy (doesn't bump all the strings that need to be 336 xgettext is buggy (doesn't bump all the strings that need to be
321 translated) so switch to 'bash --dump-po-strings'. 337 translated) so switch to 'bash --dump-po-strings'.
322 Remove all the partial .po files and dinamically create a global .pot 338 Remove all the partial .po files and dinamically create a global .pot
323 file which will be merged to autospec.po at every build. 339 file which will be merged to autospec.po at every build.
324 340
325 + update 341 + update
326 * autospec - Davide Madrisan: 342 * autospec - Davide Madrisan:
327 Remove the obsolete option '-r|--colorize'. 343 Remove the obsolete option '-r|--colorize'.
328 344
329 + bugfix 345 + bugfix
330 * autospec, plugins/* - Davide Madrisan: 346 * autospec, plugins/* - Davide Madrisan:
331 Rework the logic of the command-line options parser to let it work in 347 Rework the logic of the command-line options parser to let it work in
332 conjunction with the late load of the configuration files. 348 conjunction with the late load of the configuration files.
333 349
334 ------------------------------------------------------------------------------- 350 -------------------------------------------------------------------------------
335 351
336 Changes in version 1.14.3 352 Changes in version 1.14.3
337 Sun Nov 18 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 353 Sun Nov 18 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
338 354
339 + bugfix 355 + bugfix
340 * autospec - Davide Madrisan: 356 * autospec - Davide Madrisan:
341 Fix parsing of multi-string arguments. 357 Fix parsing of multi-string arguments.
342 358
343 + update 359 + update
344 * autospec - Davide Madrisan: 360 * autospec - Davide Madrisan:
345 Add some update debug messages. 361 Add some update debug messages.
346 362
347 + improvement 363 + improvement
348 * autospec, plugins/* - Davide Madrisan: 364 * autospec, plugins/* - Davide Madrisan:
349 Add the option '-C|--config' for selecting a different user configuration 365 Add the option '-C|--config' for selecting a different user configuration
350 file or list of user configuration files. 366 file or list of user configuration files.
351 367
352 + bugfix 368 + bugfix
353 * pck-update - Davide Madrisan: 369 * pck-update - Davide Madrisan:
354 Fix a string translation by adding the missing '$' prefix. 370 Fix a string translation by adding the missing '$' prefix.
355 371
356 + improvement 372 + improvement
357 * libcfg.lib, plugins/config-getvar - Davide Madrisan: 373 * libcfg.lib, plugins/config-getvar - Davide Madrisan:
358 Option '-C|--config': accept a list of configuration files containing 374 Option '-C|--config': accept a list of configuration files containing
359 wilcards. 375 wilcards.
360 376
361 + bugfix 377 + bugfix
362 * lib/libapse.lib - Silvan Calarco: 378 * lib/libapse.lib - Silvan Calarco:
363 Fix some version comparison errors by specifying numbers base. 379 Fix some version comparison errors by specifying numbers base.
364 380
365 ------------------------------------------------------------------------------- 381 -------------------------------------------------------------------------------
366 382
367 Changes in version 1.14.2 383 Changes in version 1.14.2
368 Mon Nov 12 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 384 Mon Nov 12 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
369 385
370 + bugfix 386 + bugfix
371 * plugins/* - Davide Madrisan: 387 * plugins/* - Davide Madrisan:
372 Execute 'notify.disable_colors()' when 'colorize' is set to '0' (disabled) 388 Execute 'notify.disable_colors()' when 'colorize' is set to '0' (disabled)
373 to ignore color redefinitions made by user. 389 to ignore color redefinitions made by user.
374 390
375 + update 391 + update
376 * autospec - Davide Madrisan: 392 * autospec - Davide Madrisan:
377 Send the debug message showing autospec version as soon as possible. 393 Send the debug message showing autospec version as soon as possible.
378 394
379 + improvement 395 + improvement
380 * autospec, plugins/*, lib/lib*.lib - Davide Madrisan: 396 * autospec, plugins/*, lib/lib*.lib - Davide Madrisan:
381 A color scheme can be selected now by using the new command-line option 397 A color scheme can be selected now by using the new command-line option
382 '--colorize-theme'. 398 '--colorize-theme'.
383 399
384 * lib/libmsgmng.lib, conf/Makefile - Davide Madrisan: 400 * lib/libmsgmng.lib, conf/Makefile - Davide Madrisan:
385 Move theme settings to configuration files (color-theme.*) 401 Move theme settings to configuration files (color-theme.*)
386 402
387 + update 403 + update
388 * autospec.spec - Davide Madrisan: 404 * autospec.spec - Davide Madrisan:
389 Remove the variable 'rpmbuild_group': it's no more needed. Personal data 405 Remove the variable 'rpmbuild_group': it's no more needed. Personal data
390 is located in the files ~/.autospec and ~/.autospec.d/*.conf 406 is located in the files ~/.autospec and ~/.autospec.d/*.conf
391 407
392 * lib/libcfg.lib - Davide Madrisan: 408 * lib/libcfg.lib - Davide Madrisan:
393 config.security(): do not check for configuration files groups and 409 config.security(): do not check for configuration files groups and
394 permissions. These files are now own by root and never contain sensible 410 permissions. These files are now own by root and never contain sensible
395 data (that is passwords). 411 data (that is passwords).
396 412
397 * plugins/* - Davide Madrisan: 413 * plugins/* - Davide Madrisan:
398 The option '--colorize-theme' must set colorize to '1'. 414 The option '--colorize-theme' must set colorize to '1'.
399 415
400 * autospec - Davide Madrisan: 416 * autospec - Davide Madrisan:
401 Deprecate the option '--colorize'. 417 Deprecate the option '--colorize'.
402 418
403 * configuration - Davide Madrisan: 419 * configuration - Davide Madrisan:
404 Add 'color-theme.none'. This theme can be used to disable color themes. 420 Add 'color-theme.none'. This theme can be used to disable color themes.
405 421
406 * autospec, autospec.conf, plugins/* - Davide Madrisan: 422 * autospec, autospec.conf, plugins/* - Davide Madrisan:
407 Replace the option '--colorize' by '--colors <color-theme>'. 423 Replace the option '--colorize' by '--colors <color-theme>'.
408 424
409 + improvement 425 + improvement
410 * libmsgmng.lib - Davide Madrisan: 426 * libmsgmng.lib - Davide Madrisan:
411 Allow users to write and select customized color schemes: 427 Allow users to write and select customized color schemes:
412 ~/.autospec.d/color-theme.<color_scheme>" 428 ~/.autospec.d/color-theme.<color_scheme>"
413 429
414 + update 430 + update
415 * conf/Makefile - Davide Madrisan: 431 * conf/Makefile - Davide Madrisan:
416 Simplify the makefile by removing the static list of files. 432 Simplify the makefile by removing the static list of files.
417 433
418 * italian manpage - Davide Madrisan: 434 * italian manpage - Davide Madrisan:
419 Update italian manpage and document new extensions. 435 Update italian manpage and document new extensions.
420 436
421 + bugfix 437 + bugfix
422 * tests/* - Davide Madrisan: 438 * tests/* - Davide Madrisan:
423 Fix the color tags of the final message in each test module; they worked 439 Fix the color tags of the final message in each test module; they worked
424 for teminal colors but not for the web scheme. 440 for teminal colors but not for the web scheme.
425 (Bug discovered by Silvan Calarco) 441 (Bug discovered by Silvan Calarco)
426 442
427 ------------------------------------------------------------------------------- 443 -------------------------------------------------------------------------------
428 444
429 Changes in version 1.14.1 - _TO*Hacklab release 445 Changes in version 1.14.1 - _TO*Hacklab release
430 Fri Nov 09 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 446 Fri Nov 09 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
431 447
432 + improvement 448 + improvement
433 * plugins/spec-create - Davide Madrisan: 449 * plugins/spec-create - Davide Madrisan:
434 New option '--changeglog'. 450 New option '--changeglog'.
435 451
436 + update 452 + update
437 * po/it/spec-create - Davide Madrisan: 453 * po/it/spec-create - Davide Madrisan:
438 Updated. 454 Updated.
439 455
440 + bugfix 456 + bugfix
441 * plugins/config-getvar, lib/libcfg.lib - Davide Madrisan: 457 * plugins/config-getvar, lib/libcfg.lib - Davide Madrisan:
442 Fix the help message (incorrect list of default files). 458 Fix the help message (incorrect list of default files).
443 459
444 + update 460 + update
445 * po/it/config-getvar - Davide Madrisan: 461 * po/it/config-getvar - Davide Madrisan:
446 Updated. 462 Updated.
447 463
448 + bugfix 464 + bugfix
449 * plugins/pck-update - Silvan Calarco: 465 * plugins/pck-update - Silvan Calarco:
450 Restore build requirement detection for *.so requirements 466 Restore build requirement detection for *.so requirements
451 467
452 + improvement 468 + improvement
453 * templates/standard - Davide Madrisan: 469 * templates/standard - Davide Madrisan:
454 Add a devel subpackage. 470 Add a devel subpackage.
455 471
456 + update 472 + update
457 * autospec - Davide Madrisan: 473 * autospec - Davide Madrisan:
458 Postpone the load of libcfg.lib to allow users to set a different 474 Postpone the load of libcfg.lib to allow users to set a different
459 configuration file (will be done in a following patch). 475 configuration file (will be done in a following patch).
460 476
461 + improvement 477 + improvement
462 * lib/libmsgmng.lib - Davide Madrisan: 478 * lib/libmsgmng.lib - Davide Madrisan:
463 Do not set ESC, CRIT, NOTE, WARN, EXIT, and NORM when already defined by 479 Do not set ESC, CRIT, NOTE, WARN, EXIT, and NORM when already defined by
464 the user. This will permit users to redefine the terminal colors or even 480 the user. This will permit users to redefine the terminal colors or even
465 define very different color sequences, like the colors used in web pages. 481 define very different color sequences, like the colors used in web pages.
466 (A feature asked by Silvan for openmamba webbuild). 482 (A feature asked by Silvan for openmamba webbuild).
467 483
468 + improvement 484 + improvement
469 * conf/autospec.conf - Davide Madrisan: 485 * conf/autospec.conf - Davide Madrisan:
470 Better documentation for terminal (and web) color setup. 486 Better documentation for terminal (and web) color setup.
471 487
472 ------------------------------------------------------------------------------- 488 -------------------------------------------------------------------------------
473 489
474 Changes in version 1.14.0 490 Changes in version 1.14.0
475 Thu Nov 01 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 491 Thu Nov 01 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
476 492
477 + update 493 + update
478 * autospec.spec - Davide Madrisan: 494 * autospec.spec - Davide Madrisan:
479 Update the URL tag. 495 Update the URL tag.
480 496
481 * autospec.spec - Davide Madrisan: 497 * autospec.spec - Davide Madrisan:
482 Make the specfile more distro-agnostic. 498 Make the specfile more distro-agnostic.
483 499
484 * Makefile - Davide Madrisan: 500 * Makefile - Davide Madrisan:
485 Modify the 'dist' directive to allow 'make dist', 'make dist-rpm', and 501 Modify the 'dist' directive to allow 'make dist', 'make dist-rpm', and
486 'make dist-rpm-install' with a cloned git archive. 502 'make dist-rpm-install' with a cloned git archive.
487 503
488 + bugfix 504 + bugfix
489 * autospec.spec - Davide Madrisan: 505 * autospec.spec - Davide Madrisan:
490 Add a missing build requirement: make. 506 Add a missing build requirement: make.
491 507
492 + update 508 + update
493 * tests/test01_pkgquality - Davide Madrisan: 509 * tests/test01_pkgquality - Davide Madrisan:
494 Do not use the operator '|&'. Use instead '2>&1 |' which is compatible at 510 Do not use the operator '|&'. Use instead '2>&1 |' which is compatible at
495 least with bash 3.2. 511 least with bash 3.2.
496 512
497 * lib/libnetwork.lib - Davide Madrisan: 513 * lib/libnetwork.lib - Davide Madrisan:
498 Clone the entire git repository when the option '--preserve-dot-git' is 514 Clone the entire git repository when the option '--preserve-dot-git' is
499 selected by user. 515 selected by user.
500 516
501 * lib/libnetwork.lib - Davide Madrisan: 517 * lib/libnetwork.lib - Davide Madrisan:
502 Print an informational message before creating the source compressed 518 Print an informational message before creating the source compressed
503 tarball. This may take a while. 519 tarball. This may take a while.
504 520
505 + bugfix 521 + bugfix
506 * po/it/spec-create.po - Davide Madrisan: 522 * po/it/spec-create.po - Davide Madrisan:
507 Add missing translations. 523 Add missing translations.
508 524
509 + update 525 + update
510 * Makefile - Davide Madrisan: 526 * Makefile - Davide Madrisan:
511 Make 'make dist' a bit more verbose. 527 Make 'make dist' a bit more verbose.
512 528
513 + bugfix 529 + bugfix
514 * plugins/pck-update.in - Davide Madrisan: 530 * plugins/pck-update.in - Davide Madrisan:
515 infofile.create(): quote all the elements of SPEC_SOURCE to avoid problems 531 infofile.create(): quote all the elements of SPEC_SOURCE to avoid problems
516 when the URL contains the letter '&'. 532 when the URL contains the letter '&'.
517 (Problem pointed out by Silvan Calarco.) 533 (Problem pointed out by Silvan Calarco.)
518 534
519 * lib/libnetwork.lib - Davide Madrisan: 535 * lib/libnetwork.lib - Davide Madrisan:
520 curl.download(): do use the curl options set by the function argument 536 curl.download(): do use the curl options set by the function argument
521 '--options' (or '-o') instead of the global variable '$curl_options'. 537 '--options' (or '-o') instead of the global variable '$curl_options'.
522 538
523 + update 539 + update
524 * autospec.spec - Davide Madrisan: 540 * autospec.spec - Davide Madrisan:
525 Update some requirements of the autospec subpackages in order to always use 541 Update some requirements of the autospec subpackages in order to always use
526 the real package names instead of their aliases ('Provides' tag). 542 the real package names instead of their aliases ('Provides' tag).
527 543
528 * lib/libnetwork.lib - Davide Madrisan: 544 * lib/libnetwork.lib - Davide Madrisan:
529 New helper function: 'git.download()'. 545 New helper function: 'git.download()'.
530 546
531 + improvement 547 + improvement
532 * pck-update - Davide Madrisan: 548 * pck-update - Davide Madrisan:
533 Action 3,5: support source files update from a git repository. 549 Action 3,5: support source files update from a git repository.
534 550
535 * lib/libnetwork.lib - Davide Madrisan: 551 * lib/libnetwork.lib - Davide Madrisan:
536 git.download(), git.create_tarball(): new option '--pck-version'. 552 git.download(), git.create_tarball(): new option '--pck-version'.
537 553
538 * pck-update - Davide Madrisan: 554 * pck-update - Davide Madrisan:
539 Action 3,5: set the package version when calling 'git.download()'. 555 Action 3,5: set the package version when calling 'git.download()'.
540 556
541 * lib/libnetwork.lib - Davide Madrisan: 557 * lib/libnetwork.lib - Davide Madrisan:
542 git.create_tarball(): add a warning message when the version passed to the 558 git.create_tarball(): add a warning message when the version passed to the
543 function is not the expected one (that is a string made by the current 559 function is not the expected one (that is a string made by the current
544 date in the format YYYYMMDD followed by "git"). 560 date in the format YYYYMMDD followed by "git").
545 561
546 + bugfix 562 + bugfix
547 * pck-update - Silvan Calarco: 563 * pck-update - Silvan Calarco:
548 Try to avoid reporting package requirements set with 'Requires:' as build 564 Try to avoid reporting package requirements set with 'Requires:' as build
549 requirements. Unless not better identified requirements are in 'a(b)' form 565 requirements. Unless not better identified requirements are in 'a(b)' form
550 don't report them as build requirements to avoid breaking stage1 builds and 566 don't report them as build requirements to avoid breaking stage1 builds and
551 causing unneeded circular dependencies. 567 causing unneeded circular dependencies.
552 (patch by Silvan Calarco) 568 (patch by Silvan Calarco)
553 569
554 + improvement 570 + improvement
555 * pck-update - Davide Madrisan: 571 * pck-update - Davide Madrisan:
556 Add a warning message when a requirement is ignored. 572 Add a warning message when a requirement is ignored.
557 573
558 + update 574 + update
559 * po/it/pck-update.po - Davide Madrisan: 575 * po/it/pck-update.po - Davide Madrisan:
560 Updated. 576 Updated.
561 577
562 ------------------------------------------------------------------------------- 578 -------------------------------------------------------------------------------
563 579
564 Changes in version 1.12.5 580 Changes in version 1.12.5
565 Wed Oct 03 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 581 Wed Oct 03 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
566 582
567 + bugfix 583 + bugfix
568 * autospec.spec - Davide Madrisan: 584 * autospec.spec - Davide Madrisan:
569 Add a build requirement for gettext. 585 Add a build requirement for gettext.
570 586
571 + improvement 587 + improvement
572 * lib/libnetwork.lib - Davide Madrisan: 588 * lib/libnetwork.lib - Davide Madrisan:
573 git.create_tarball(): run 'git clone --depth=1' to only clone the last 589 git.create_tarball(): run 'git clone --depth=1' to only clone the last
574 commit. We do not need to clone the whole git repository. 590 commit. We do not need to clone the whole git repository.
575 (Thanks to Silvan Calarco:silvan.calarco(a)mambasoft.it for spotting this.) 591 (Thanks to Silvan Calarco:silvan.calarco(a)mambasoft.it for spotting this.)
576 592
577 + bugfix 593 + bugfix
578 * lib/libnetwork.lib - Davide Madrisan: 594 * lib/libnetwork.lib - Davide Madrisan:
579 git.create_tarball(): fix typo. 595 git.create_tarball(): fix typo.
580 596
581 + update 597 + update
582 * lib/libnetwork.lib - Davide Madrisan: 598 * lib/libnetwork.lib - Davide Madrisan:
583 git.create_tarball(): add some debug messages. 599 git.create_tarball(): add some debug messages.
584 600
585 + improvement 601 + improvement
586 * spec-create - Davide Madrisan: 602 * spec-create - Davide Madrisan:
587 specfile.create(): modify the 'Source' tag by including a parsable git url. 603 specfile.create(): modify the 'Source' tag by including a parsable git url.
588 604
589 ------------------------------------------------------------------------------- 605 -------------------------------------------------------------------------------
590 606
591 Changes in version 1.12.4 607 Changes in version 1.12.4
592 Sat Sep 22 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 608 Sat Sep 22 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
593 609
594 + update 610 + update
595 * lib/libapse.lib - Davide Madrisan: 611 * lib/libapse.lib - Davide Madrisan:
596 Coding style fixes. 612 Coding style fixes.
597 613
598 + improvement 614 + improvement
599 * test/test01_pkgquality - Davide Madrisan: 615 * test/test01_pkgquality - Davide Madrisan:
600 When a file is detected as problematic do add its mime type. 616 When a file is detected as problematic do add its mime type.
601 617
602 + update 618 + update
603 * lib/libnetwork.lib - Davide Madrisan: 619 * lib/libnetwork.lib - Davide Madrisan:
604 Remove the extra newline added to workaroung a bug in curl. 620 Remove the extra newline added to workaroung a bug in curl.
605 It's fixed now. 621 It's fixed now.
606 622
607 + improvement 623 + improvement
608 * spec-create - Davide Madrisan: 624 * spec-create - Davide Madrisan:
609 Document the creation of a specfile starting from a git repository. 625 Document the creation of a specfile starting from a git repository.
610 626
611 * spec-create, lib/libnetwork.lib - Madrisan: 627 * spec-create, lib/libnetwork.lib - Madrisan:
612 Add aupport for git branches in spec-create by adding the new options 628 Add aupport for git branches in spec-create by adding the new options
613 '--git-branch' and '--preserve-dot-git'. 629 '--git-branch' and '--preserve-dot-git'.
614 630
615 + update 631 + update
616 * lib/libnetwork.lib - Madrisan: 632 * lib/libnetwork.lib - Madrisan:
617 Do not run the git command in quiet mode. 633 Do not run the git command in quiet mode.
618 634
619 ------------------------------------------------------------------------------- 635 -------------------------------------------------------------------------------
620 636
621 Changes in version 1.12.3 637 Changes in version 1.12.3
622 Tue Jul 17 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 638 Tue Jul 17 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
623 639
624 + improvement 640 + improvement
625 * pck-update - Davide Madrisan: 641 * pck-update - Davide Madrisan:
626 Action 4: allow a distribution-ID "upgrade" when updating the release 642 Action 4: allow a distribution-ID "upgrade" when updating the release
627 number. 643 number.
628 Example: 1mamba --> 2mamba2 644 Example: 1mamba --> 2mamba2
629 (when DISTRO_rpm="mamba2" is set in the configuration files). 645 (when DISTRO_rpm="mamba2" is set in the configuration files).
630 Feature asked by Silvan Calarco. 646 Feature asked by Silvan Calarco.
631 647
632 + bugfix 648 + bugfix
633 * pck-update, libnetwork.lib - Davide Madrisan: 649 * pck-update, libnetwork.lib - Davide Madrisan:
634 A package name can contain one or more undescores so add it to the list of 650 A package name can contain one or more undescores so add it to the list of
635 allowed characters in 'repository.get_srpm_pckname_from_site()'. 651 allowed characters in 'repository.get_srpm_pckname_from_site()'.
636 (Problem pointed out by Silvan Calarco.) 652 (Problem pointed out by Silvan Calarco.)
637 653
638 + update 654 + update
639 * conf/03-apse.conf - Stefano Cotta Ramusino: 655 * conf/03-apse.conf - Stefano Cotta Ramusino:
640 Add 'apse_enabled' array to enable/disable a specific APSE site. 656 Add 'apse_enabled' array to enable/disable a specific APSE site.
641 Add new sites for APSE: 657 Add new sites for APSE:
642 . http://directory.fsf.org 658 . http://directory.fsf.org
643 . http://launchpad.net 659 . http://launchpad.net
644 660
645 * lib/libapse.lib - Stefano Cotta Ramusino: 661 * lib/libapse.lib - Stefano Cotta Ramusino:
646 Update Copyright messages. 662 Update Copyright messages.
647 663
648 + bugfix 664 + bugfix
649 * conf/03-apse.conf - Stefano Cotta Ramusino: 665 * conf/03-apse.conf - Stefano Cotta Ramusino:
650 Fix scraping values in APSE arrays for following sites: 666 Fix scraping values in APSE arrays for following sites:
651 . http://fileforum.betanews.com 667 . http://fileforum.betanews.com
652 . http://linux.softpedia.com 668 . http://linux.softpedia.com
653 . http://www.gnomefiles.org -> http://gnomefiles.org 669 . http://www.gnomefiles.org -> http://gnomefiles.org
654 . http://freshmeat.net -> http://freecode.com 670 . http://freshmeat.net -> http://freecode.com
655 671
656 * lib/libapse.lib - Stefano Cotta Ramusino: 672 * lib/libapse.lib - Stefano Cotta Ramusino:
657 apse.cmpversion(): some versioning methods use next letter of the alphabet 673 apse.cmpversion(): some versioning methods use next letter of the alphabet
658 for new version so compare versions alphabetically if there're still 674 for new version so compare versions alphabetically if there're still
659 letters after comparison based on 'precedence' array. 675 letters after comparison based on 'precedence' array.
660 676
661 * lib/libspec.lib - Stefano Cotta Ramusino: 677 * lib/libspec.lib - Stefano Cotta Ramusino:
662 rpmvars.solve(): passing rpmvars to "rpm --eval" to expand compound rpm 678 rpmvars.solve(): passing rpmvars to "rpm --eval" to expand compound rpm
663 variables such as %{majorminor}. 679 variables such as %{majorminor}.
664 680
665 + improvement 681 + improvement
666 * lib/libapse.lib - Stefano Cotta Ramusino: 682 * lib/libapse.lib - Stefano Cotta Ramusino:
667 Modify debug output to get it more readable. 683 Modify debug output to get it more readable.
668 684
669 * pck-update - Stefano Cotta Ramusino: 685 * pck-update - Stefano Cotta Ramusino:
670 Action 3: generate correct download URL getting new version from action 2 686 Action 3: generate correct download URL getting new version from action 2
671 or from command line parameter. 687 or from command line parameter.
672 688
673 + update 689 + update
674 * lib/libapse.lib, lib/libspec.lib - Davide Madrisan: 690 * lib/libapse.lib, lib/libspec.lib - Davide Madrisan:
675 Style fixes. 691 Style fixes.
676 692
677 + improvement 693 + improvement
678 * lib/libapse.lib - Davide Madrisan: 694 * lib/libapse.lib - Davide Madrisan:
679 Do not use 'dirname' and 'basename': bash provides primitives to do that. 695 Do not use 'dirname' and 'basename': bash provides primitives to do that.
680 696
681 + update 697 + update
682 * conf/02-specfile-formatting-rules.conf - Davide Madrisan: 698 * conf/02-specfile-formatting-rules.conf - Davide Madrisan:
683 'library_name_structure': new default value is now "". 699 'library_name_structure': new default value is now "".
684 The old value ("^lib") does no longer apply. 700 The old value ("^lib") does no longer apply.
685 (Modification asked by Silvan Calarco.) 701 (Modification asked by Silvan Calarco.)
686 702
687 ------------------------------------------------------------------------------- 703 -------------------------------------------------------------------------------
688 704
689 Changes in version 1.12.2 705 Changes in version 1.12.2
690 Mon May 28 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 706 Mon May 28 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
691 707
692 + update 708 + update
693 * italian manpage - Davide Madrisan: 709 * italian manpage - Davide Madrisan:
694 Add a few more examples for 'autospec -u' and add a short comment before 710 Add a few more examples for 'autospec -u' and add a short comment before
695 each example. 711 each example.
696 712
697 + update 713 + update
698 * pck-update - Davide Madrisan: 714 * pck-update - Davide Madrisan:
699 Do not check for missing build requirements and source files when 715 Do not check for missing build requirements and source files when
700 pck-update is invoked with the option '--list-check'. 716 pck-update is invoked with the option '--list-check'.
701 717
702 + update 718 + update
703 * templates/kde4 719 * templates/kde4
704 Add a requirement for kdelibs-devel in the -devel package preamble. 720 Add a requirement for kdelibs-devel in the -devel package preamble.
705 Add a build requirement for automoc4. 721 Add a build requirement for automoc4.
706 722
707 + improvement 723 + improvement
708 * pck-update - Davide Madrisan: 724 * pck-update - Davide Madrisan:
709 Action 6: new option '--update-autobuildreq' which replace a block 725 Action 6: new option '--update-autobuildreq' which replace a block
710 'AUTOBUILDREQ-BEGIN' ... 'AUTOBUILDREQ-END' by an updated one. 726 'AUTOBUILDREQ-BEGIN' ... 'AUTOBUILDREQ-END' by an updated one.
711 727
712 ------------------------------------------------------------------------------- 728 -------------------------------------------------------------------------------
713 729
714 Changes in version 1.12.1 730 Changes in version 1.12.1
715 Wed May 23 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 731 Wed May 23 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
716 732
717 + bugfix 733 + bugfix
718 * pck-update - Davide Madrisan: 734 * pck-update - Davide Madrisan:
719 Fix message to let work the italian translation. 735 Fix message to let work the italian translation.
720 736
721 + update 737 + update
722 * conf/02-specfile-formatting-rules.conf - Davide Madrisan: 738 * conf/02-specfile-formatting-rules.conf - Davide Madrisan:
723 Update 'source0_name_structure' to allow *.tar.xz archives. 739 Update 'source0_name_structure' to allow *.tar.xz archives.
724 740
725 * test/*, pck-update - Davide Madrisan: 741 * test/*, pck-update - Davide Madrisan:
726 Update/add the code to check for the required external tools. 742 Update/add the code to check for the required external tools.
727 743
728 * conf/06-security-system-library-paths.conf - Davide Madrisan: 744 * conf/06-security-system-library-paths.conf - Davide Madrisan:
729 allowed_libdirs: replace /opt/kde4/lib with /opt/kde/lib. 745 allowed_libdirs: replace /opt/kde4/lib with /opt/kde/lib.
730 746
731 ------------------------------------------------------------------------------- 747 -------------------------------------------------------------------------------
732 748
733 Changes in version 1.12.0 749 Changes in version 1.12.0
734 Sun May 20 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 750 Sun May 20 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
735 751
736 + bugfix 752 + bugfix
737 * pck-update - Davide Madrisan: 753 * pck-update - Davide Madrisan:
738 Stop pck-update execution with an error code when 'specfile.newrelease()' 754 Stop pck-update execution with an error code when 'specfile.newrelease()'
739 reports an error. 755 reports an error.
740 (Bug reported by Silvan Calarco.) 756 (Bug reported by Silvan Calarco.)
741 757
742 * autospec.conf - Davide Madrisan: 758 * autospec.conf - Davide Madrisan:
743 format_unpackaged_file_list: fix rpm variable expansion for /lib and 759 format_unpackaged_file_list: fix rpm variable expansion for /lib and
744 /lib64. 760 /lib64.
745 (As usual: bug reported by Silvan Calarco.) 761 (As usual: bug reported by Silvan Calarco.)
746 762
747 + update 763 + update
748 * pck-update - Davide Madrisan: 764 * pck-update - Davide Madrisan:
749 Action 0: better notification message. 765 Action 0: better notification message.
750 766
751 * po/it/pck-update.po - Davide Madrisan: 767 * po/it/pck-update.po - Davide Madrisan:
752 Updated. 768 Updated.
753 769
754 * lib/libcfg.lib - Davide Madrisan: 770 * lib/libcfg.lib - Davide Madrisan:
755 Add /etc/autospec.d/*.conf to the list of configuration files. 771 Add /etc/autospec.d/*.conf to the list of configuration files.
756 772
757 * Makefile, Makefile.env, conf/* - Davide Madrisan: 773 * Makefile, Makefile.env, conf/* - Davide Madrisan:
758 Split autospec.conf into several configuration files. 774 Split autospec.conf into several configuration files.
759 775
760 + improvement 776 + improvement
761 * pck-update - Davide Madrisan: 777 * pck-update - Davide Madrisan:
762 Check specfiles for CR and CRLF line terminators. 778 Check specfiles for CR and CRLF line terminators.
763 They can mislead the specfile parser. 779 They can mislead the specfile parser.
764 780
765 + bugfix 781 + bugfix
766 * templates/{library,standard,standard-daemon} - Davide Madrisan: 782 * templates/{library,standard,standard-daemon} - Davide Madrisan:
767 Missing requirement: "Requires(preun): %{__install_info}" 783 Missing requirement: "Requires(preun): %{__install_info}"
768 784
769 + improvement 785 + improvement
770 * tests/test01_pkgquality - Davide Madrisan: 786 * tests/test01_pkgquality - Davide Madrisan:
771 New test: check for libraries with undefined symbols after relocation. 787 New test: check for libraries with undefined symbols after relocation.
772 788
773 + bugfix 789 + bugfix
774 * spec-create - Davide Madrisan: 790 * spec-create - Davide Madrisan:
775 Select makefile as build_techology when a makefile (downcase letters) or a 791 Select makefile as build_techology when a makefile (downcase letters) or a
776 GNUmalefile is found, not only a Makefile (with a capital letter). 792 GNUmalefile is found, not only a Makefile (with a capital letter).
777 (Bug reported by Silvan Calarco.) 793 (Bug reported by Silvan Calarco.)
778 794
779 + update 795 + update
780 * TODO - Davide Madrisan: 796 * TODO - Davide Madrisan:
781 Remove out of date stuff out of date stuff. 797 Remove out of date stuff out of date stuff.
782 798
783 + update 799 + update
784 * pck-update - Davide Madrisan: 800 * pck-update - Davide Madrisan:
785 Update help message. 801 Update help message.
786 802
787 + improvement 803 + improvement
788 * documentation - Davide Madrisan: 804 * documentation - Davide Madrisan:
789 Remove the partially obsolete document `autospec-it-HOWTO'. 805 Remove the partially obsolete document `autospec-it-HOWTO'.
790 Update/improve the italian manpage by merging part of the italian HOWTO. 806 Update/improve the italian manpage by merging part of the italian HOWTO.
791 807
792 + update 808 + update
793 * autospec.spec - Davide Madrisan: 809 * autospec.spec - Davide Madrisan:
794 Add the requirement for bash. 810 Add the requirement for bash.
795 811
796 * tests/test01_pkgquality, ests/test02_pkgsecurity - Davide Madrisan: 812 * tests/test01_pkgquality, ests/test02_pkgsecurity - Davide Madrisan:
797 Rework output by adding the numbering of tests. 813 Rework output by adding the numbering of tests.
798 814
799 * pck-update - Davide Madrisan: 815 * pck-update - Davide Madrisan:
800 Do not reinitialize the tests counter before executing a new test battery. 816 Do not reinitialize the tests counter before executing a new test battery.
801 817
802 + improvement 818 + improvement
803 * lib/libtest.lib - Davide Madrisan: 819 * lib/libtest.lib - Davide Madrisan:
804 New library containing the test framwork code and functions. 820 New library containing the test framwork code and functions.
805 821
806 * lib/Makefile - Davide Madrisan: 822 * lib/Makefile - Davide Madrisan:
807 Updated by adding the library libtest.lib. 823 Updated by adding the library libtest.lib.
808 824
809 * pck-update - Davide Madrisan: 825 * pck-update - Davide Madrisan:
810 Move code for test to the new library libtest.lib. 826 Move code for test to the new library libtest.lib.
811 827
812 * i18n - Davide Madrisan: 828 * i18n - Davide Madrisan:
813 Updated. Add a .po file for libtest.lib. 829 Updated. Add a .po file for libtest.lib.
814 830
815 + update 831 + update
816 * BUGS - Davide Madrisan: 832 * BUGS - Davide Madrisan:
817 The option '--ignore-test' works again. Remove the corresponding line. 833 The option '--ignore-test' works again. Remove the corresponding line.
818 834
819 + update 835 + update
820 * test/test00_specsyntax - Davide Madrisan: 836 * test/test00_specsyntax - Davide Madrisan:
821 New test file 'test00_specsyntax'. 837 New test file 'test00_specsyntax'.
822 Move code to check specfiles from 'pck-update' (action 4) to the test file 838 Move code to check specfiles from 'pck-update' (action 4) to the test file
823 'test00_specsyntax'. 839 'test00_specsyntax'.
824 840
825 + improvement 841 + improvement
826 * test/test00_specsyntax, pck-update, lib/libtest.lib - Davide Madrisan: 842 * test/test00_specsyntax, pck-update, lib/libtest.lib - Davide Madrisan:
827 Unify the output of all the modules' test. 843 Unify the output of all the modules' test.
828 844
829 ------------------------------------------------------------------------------- 845 -------------------------------------------------------------------------------
830 846
831 Changes in version 1.10.0 847 Changes in version 1.10.0
832 Tue May 01 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 848 Tue May 01 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
833 849
834 + improvement 850 + improvement
835 * spec-create - Davide Madrisan: 851 * spec-create - Davide Madrisan:
836 Add code to create specfiles directly from git repositories. 852 Add code to create specfiles directly from git repositories.
837 Example: 853 Example:
838 autospec -s git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git \ 854 autospec -s git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git \
839 -o mcelog.spec 855 -o mcelog.spec
840 856
841 * spec-create - Davide Madrisan: 857 * spec-create - Davide Madrisan:
842 Add a "## GITSOURCE" comment containing the URL of the git repository. 858 Add a "## GITSOURCE" comment containing the URL of the git repository.
843 This information will instruct pck-update on how to update the package. 859 This information will instruct pck-update on how to update the package.
844 860
845 * spec-create - Davide Madrisan: 861 * spec-create - Davide Madrisan:
846 Also support git URL starting by http:// and https://. 862 Also support git URL starting by http:// and https://.
847 863
848 * spec-create - Davide Madrisan: 864 * spec-create - Davide Madrisan:
849 Exist with error when git is required but cannot be found. 865 Exist with error when git is required but cannot be found.
850 866
851 + bugfix 867 + bugfix
852 * pck-update, lib/libnetwork.lib - Davide Madrisan: 868 * pck-update, lib/libnetwork.lib - Davide Madrisan:
853 `host' is not required by pck-update; move the requirement to libnetwork. 869 `host' is not required by pck-update; move the requirement to libnetwork.
854 870
855 + update 871 + update
856 * lib/libnetwork.lib - Davide Madrisan: 872 * lib/libnetwork.lib - Davide Madrisan:
857 Do not require 'host'. Just display a warning message when not available. 873 Do not require 'host'. Just display a warning message when not available.
858 This tool (and the package 'bind-utils') is not available in early stage 874 This tool (and the package 'bind-utils') is not available in early stage
859 platform development. 875 platform development.
860 (Asked by Silvan Calarco.) 876 (Asked by Silvan Calarco.)
861 877
862 * autospec.spec - Silvan Calarco: 878 * autospec.spec - Silvan Calarco:
863 Do not require '/usr/bin/host' in early stage platform development. 879 Do not require '/usr/bin/host' in early stage platform development.
864 880
865 * spec-create, lib/libnetwork.lib - Davide Madrisan: 881 * spec-create, lib/libnetwork.lib - Davide Madrisan:
866 Move code from spec-create to the new function 'git.create_tarball()' in 882 Move code from spec-create to the new function 'git.create_tarball()' in
867 libnetwork.lib. 883 libnetwork.lib.
868 884
869 + bugfix 885 + bugfix
870 * lib/libnetwork.lib - Davide Madrisan: 886 * lib/libnetwork.lib - Davide Madrisan:
871 repository.get_srpm_pckname_from_HTML(): make the function work again for 887 repository.get_srpm_pckname_from_HTML(): make the function work again for
872 curl dumps of ftp sites. (Regression pointed out by Silvan Calarco). 888 curl dumps of ftp sites. (Regression pointed out by Silvan Calarco).
873 889
874 + update 890 + update
875 * lib/libnetwork.lib - Davide Madrisan: 891 * lib/libnetwork.lib - Davide Madrisan:
876 Function renaming: repository.get_srpm_pckname_from_HTML() --> 892 Function renaming: repository.get_srpm_pckname_from_HTML() -->
877 repository.get_srpm_pckname_from_site(). 893 repository.get_srpm_pckname_from_site().
878 894
879 + bugfix 895 + bugfix
880 * pck-update - Davide Madrisan: 896 * pck-update - Davide Madrisan:
881 specfile.newrelease(): do not ignore the release set by user at command 897 specfile.newrelease(): do not ignore the release set by user at command
882 line. (Bug discovered by Silvan Calarco). 898 line. (Bug discovered by Silvan Calarco).
883 899
884 + bugfix 900 + bugfix
885 * lib/libnetwork.lib - Davide Madrisan: 901 * lib/libnetwork.lib - Davide Madrisan:
886 repository.get_srpm_pckname_from_site(): do not lower the curl dump. 902 repository.get_srpm_pckname_from_site(): do not lower the curl dump.
887 This obviously modify the name of packages containing uppercase letters... 903 This obviously modify the name of packages containing uppercase letters...
888 (Another regression (!) discovered and debugged by Silvan Calarco). 904 (Another regression (!) discovered and debugged by Silvan Calarco).
889 905
890 + update 906 + update
891 * lib/libnetwork.lib - Davide Madrisan: 907 * lib/libnetwork.lib - Davide Madrisan:
892 repository.get_srpm_pckname_from_site(): make the search case insensitive. 908 repository.get_srpm_pckname_from_site(): make the search case insensitive.
893 909
894 ------------------------------------------------------------------------------- 910 -------------------------------------------------------------------------------
895 911
896 Changes in version 1.9.4 912 Changes in version 1.9.4
897 Tue Apr 17 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 913 Tue Apr 17 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
898 914
899 + improvement 915 + improvement
900 * templates/{library,kde4,python} - Davide Madrisan: 916 * templates/{library,kde4,python} - Davide Madrisan:
901 Several minor fixes and improvements. 917 Several minor fixes and improvements.
902 918
903 + bugfix 919 + bugfix
904 * templates/{gnome,kde*,library,standard,standard-daemon} - Davide Madrisan: 920 * templates/{gnome,kde*,library,standard,standard-daemon} - Davide Madrisan:
905 Move %debug_package macro after all %description blocks. 921 Move %debug_package macro after all %description blocks.
906 922
907 + update 923 + update
908 * templates/kde4 - Davide Madrisan: 924 * templates/kde4 - Davide Madrisan:
909 Remove 'Patch0' and '#%patch0 -p1' directives. 925 Remove 'Patch0' and '#%patch0 -p1' directives.
910 926
911 + improvement 927 + improvement
912 * lib/libnetwork.lib - Davide Madrisan: 928 * lib/libnetwork.lib - Davide Madrisan:
913 repository.get_pckname_from_HTML: reworked to accept regular expessions. 929 repository.get_pckname_from_HTML: reworked to accept regular expessions.
914 930
915 * pck-update - Davide Madrisan: 931 * pck-update - Davide Madrisan:
916 Action 0: display the entire list of packages when the user query is a 932 Action 0: display the entire list of packages when the user query is a
917 regular expression. 933 regular expression.
918 934
919 * i18n - Davide Madrisan: 935 * i18n - Davide Madrisan:
920 Updated. 936 Updated.
921 937
922 * lib/libnetwork.lib - Davide Madrisan: 938 * lib/libnetwork.lib - Davide Madrisan:
923 repository.get_pckname_from_HTML: make package search case insensitive. 939 repository.get_pckname_from_HTML: make package search case insensitive.
924 940
925 + update 941 + update
926 * templates/{kde3,library,perl,python,standard{-daemon}} - Davide Madrisan: 942 * templates/{kde3,library,perl,python,standard{-daemon}} - Davide Madrisan:
927 Remove 'Patch0' and '#%patch0 -p1' directives. 943 Remove 'Patch0' and '#%patch0 -p1' directives.
928 944
929 -------------------------------------------------------------------------------- 945 --------------------------------------------------------------------------------
930 946
931 Changes in version 1.9.3 - April Fools' Day Release 947 Changes in version 1.9.3 - April Fools' Day Release
932 Sun Apr 01 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 948 Sun Apr 01 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
933 949
934 + update 950 + update
935 * pck-update - Davide Madrisan: 951 * pck-update - Davide Madrisan:
936 Action 6: better check for self-provided packages. 952 Action 6: better check for self-provided packages.
937 953
938 * templates/library - Davide Madrisan: 954 * templates/library - Davide Madrisan:
939 Modify requirement for pkgconfig (the package is now called pkg-config). 955 Modify requirement for pkgconfig (the package is now called pkg-config).
940 956
941 + bugfix 957 + bugfix
942 * pck-update - Davide Madrisan: 958 * pck-update - Davide Madrisan:
943 Fix for the error message: 959 Fix for the error message:
944 /usr/bin/pck-update: line 2458: package: command not found 960 /usr/bin/pck-update: line 2458: package: command not found
945 (Problem pointed out by Silvan Calarco.) 961 (Problem pointed out by Silvan Calarco.)
946 962
947 * Makefile - Davide Madrisan: 963 * Makefile - Davide Madrisan:
948 Fix make clean target: the files in the root directory generated from .in 964 Fix make clean target: the files in the root directory generated from .in
949 files must be removed too. 965 files must be removed too.
950 966
951 * pck-update - Davide Madrisan: 967 * pck-update - Davide Madrisan:
952 Action 6: correctly parse self-provided build requirements containing a '=' 968 Action 6: correctly parse self-provided build requirements containing a '='
953 character followed by a version number. 969 character followed by a version number.
954 970
955 * pck-update - Davide Madrisan: 971 * pck-update - Davide Madrisan:
956 Action 6: do not display the rpm message "no package provides...": it 972 Action 6: do not display the rpm message "no package provides...": it
957 will be a duplicate entry in the list of unresolved build requirements. 973 will be a duplicate entry in the list of unresolved build requirements.
958 974
959 * pck-update - Davide Madrisan: 975 * pck-update - Davide Madrisan:
960 infofile.create(): "rpm --specfile --specedit" is buggy so it's better to 976 infofile.create(): "rpm --specfile --specedit" is buggy so it's better to
961 treat errors as warnings in autospec and not to stop the script execution. 977 treat errors as warnings in autospec and not to stop the script execution.
962 (Problem detected by Silvan Calarco.) 978 (Problem detected by Silvan Calarco.)
963 979
964 + update 980 + update
965 * pck-update - Davide Madrisan: 981 * pck-update - Davide Madrisan:
966 Action 5: new option "--list-check" for simply running "rpmbuild -bl" and 982 Action 5: new option "--list-check" for simply running "rpmbuild -bl" and
967 displaying the list of unpackaged files. 983 displaying the list of unpackaged files.
968 (Feature asked by Silvan Calarco.) 984 (Feature asked by Silvan Calarco.)
969 985
970 * i18n - Davide Madrisan: 986 * i18n - Davide Madrisan:
971 Updated. 987 Updated.
972 988
973 + update 989 + update
974 * spec-create - Davide Madrisan: 990 * spec-create - Davide Madrisan:
975 Preliminary support for scon. 991 Preliminary support for scon.
976 (Feature asked by Silvan Calarco.) 992 (Feature asked by Silvan Calarco.)
977 993
978 * spec-create - Davide Madrisan: 994 * spec-create - Davide Madrisan:
979 Add a build requirent for cmake and scons when required. 995 Add a build requirent for cmake and scons when required.
980 996
981 * templetes/{library,standard,standard-daemon} - Davide Madrisan: 997 * templetes/{library,standard,standard-daemon} - Davide Madrisan:
982 Add a 'buildrequires_buildtool' conditional block. 998 Add a 'buildrequires_buildtool' conditional block.
983 999
984 -------------------------------------------------------------------------------- 1000 --------------------------------------------------------------------------------
985 1001
986 Changes in version 1.9.2 1002 Changes in version 1.9.2
987 Sun Feb 05 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 1003 Sun Feb 05 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
988 1004
989 + improvement 1005 + improvement
990 * templates/library - Davide Madrisan: 1006 * templates/library - Davide Madrisan:
991 Add requirements for pkgconfig. 1007 Add requirements for pkgconfig.
992 1008
993 + update 1009 + update
994 * pck-update - Davide Madrisan: 1010 * pck-update - Davide Madrisan:
995 Action 6: code cleanups. 1011 Action 6: code cleanups.
996 1012
997 + bugfix 1013 + bugfix
998 * autospec.conf - Davide Madrisan: 1014 * autospec.conf - Davide Madrisan:
999 format_unpackaged_file_list: 1015 format_unpackaged_file_list:
1000 swap %{_libexecdir} and %{_libdir} substitutions. 1016 swap %{_libexecdir} and %{_libdir} substitutions.
1001 1017
1002 * pck-update - Davide Madrisan: 1018 * pck-update - Davide Madrisan:
1003 Action 6: fix for /lib/ld-linux.so.2 -> ld-2.14.1.so 1019 Action 6: fix for /lib/ld-linux.so.2 -> ld-2.14.1.so
1004 1020
1005 * pck-update - Davide Madrisan: 1021 * pck-update - Davide Madrisan:
1006 Honour `%_specdir' and `%_sourcedir' when checking for syntax errors in the 1022 Honour `%_specdir' and `%_sourcedir' when checking for syntax errors in the
1007 specfiles by running `rpm -q --specfile --specedit ...'. 1023 specfiles by running `rpm -q --specfile --specedit ...'.
1008 (Problem detected by Silvan Calarco). 1024 (Problem detected by Silvan Calarco).
1009 1025
1010 * pck-update - Davide Madrisan: 1026 * pck-update - Davide Madrisan:
1011 Action 6: do support static requirements containing <,>,<=,>=,... 1027 Action 6: do support static requirements containing <,>,<=,>=,...
1012 1028
1013 * pck-update - Davide Madrisan: 1029 * pck-update - Davide Madrisan:
1014 Action 6: never include in the list of build requirements an rpm provided 1030 Action 6: never include in the list of build requirements an rpm provided
1015 by the package itself. 1031 by the package itself.
1016 1032
1017 -------------------------------------------------------------------------------- 1033 --------------------------------------------------------------------------------
1018 1034
1019 Changes in version 1.9.1 1035 Changes in version 1.9.1
1020 Wed Jan 25 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 1036 Wed Jan 25 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
1021 1037
1022 + improvement 1038 + improvement
1023 * pck-update - Davide Madrisan: 1039 * pck-update - Davide Madrisan:
1024 Display the error detected by the command 'rpm -q --specfile --specedit' 1040 Display the error detected by the command 'rpm -q --specfile --specedit'
1025 when a specfile contains errors. 1041 when a specfile contains errors.
1026 1042
1027 * templates/library - Davide Madrisan: 1043 * templates/library - Davide Madrisan:
1028 Update template. 1044 Update template.
1029 1045
1030 + bugfix 1046 + bugfix
1031 * pck-update - Davide Madrisan: 1047 * pck-update - Davide Madrisan:
1032 Fix expansion of templates containing '@configure@' or a line starting by 1048 Fix expansion of templates containing '@configure@' or a line starting by
1033 '@configure@'. 1049 '@configure@'.
1034 1050
1035 + improvement 1051 + improvement
1036 * pck-update - Davide Madrisan: 1052 * pck-update - Davide Madrisan:
1037 Convert the list of unpackaged files discovered by rpmbuild into a list 1053 Convert the list of unpackaged files discovered by rpmbuild into a list
1038 thak make use of rpm macros (that is, do a /usr/bin --> %{_bindir}, ... 1054 thak make use of rpm macros (that is, do a /usr/bin --> %{_bindir}, ...
1039 conversion for all discovered files). 1055 conversion for all discovered files).
1040 1056
1041 * autospec.conf - Davide Madrisan: 1057 * autospec.conf - Davide Madrisan:
1042 New variable `format_unpackaged_file_list'. 1058 New variable `format_unpackaged_file_list'.
1043 1059
1044 + update 1060 + update
1045 * po/it/pck-update - Davide Madrisan: 1061 * po/it/pck-update - Davide Madrisan:
1046 Updated. 1062 Updated.
1047 1063
1048 * kde4-flist2rpmvars - Davide Madrisan: 1064 * kde4-flist2rpmvars - Davide Madrisan:
1049 Remove file: it's superseded by the last added pck-update feature. 1065 Remove file: it's superseded by the last added pck-update feature.
1050 1066
1051 * pck-update - Davide Madrisan: 1067 * pck-update - Davide Madrisan:
1052 Action 5: for better readability do add a newline to the message asking 1068 Action 5: for better readability do add a newline to the message asking
1053 developers to run quality and security tests. 1069 developers to run quality and security tests.
1054 1070
1055 + bugfix 1071 + bugfix
1056 * lib/libspec.lib - Davide Madrisan: 1072 * lib/libspec.lib - Davide Madrisan:
1057 Correctly parse lines containing more complex 'obsoletes' directives, like 1073 Correctly parse lines containing more complex 'obsoletes' directives, like
1058 the following one: 1074 the following one:
1059 Obsoletes: pck1 <= <v1>[,] pck2 > <v2> 1075 Obsoletes: pck1 <= <v1>[,] pck2 > <v2>
1060 (Bug discovered by Silvan Calarco) 1076 (Bug discovered by Silvan Calarco)
1061 1077
1062 + update 1078 + update
1063 * pck-update - Davide Madrisan: 1079 * pck-update - Davide Madrisan:
1064 Remove SPEC_OBSOLETES_ESCAPED; it's no more required. 1080 Remove SPEC_OBSOLETES_ESCAPED; it's no more required.
1065 1081
1066 -------------------------------------------------------------------------------- 1082 --------------------------------------------------------------------------------
1067 1083
1068 Changes in version 1.9.0 - Silvan Birthday Release 1084 Changes in version 1.9.0 - Silvan Birthday Release
1069 Sun Jan 15 2012 Davide Madrisan <davide.madrisan(a)gmail.com> 1085 Sun Jan 15 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
1070 1086
1071 + update 1087 + update
1072 * templates/kde4 - Davide Madrisan: 1088 * templates/kde4 - Davide Madrisan:
1073 Update %files section. 1089 Update %files section.
1074 1090
1075 * lib/libapse.lib, lib/libnetwork.lib, lib/libspec.lib 1091 * lib/libapse.lib, lib/libnetwork.lib, lib/libspec.lib
1076 config-getvar, pck-extract, pck-update, spec-create 1092 config-getvar, pck-extract, pck-update, spec-create
1077 tests/test01_pkgquality, tests/test02_pkgsecurity 1093 tests/test01_pkgquality, tests/test02_pkgsecurity
1078 tools/extract-specs, tools/kde4-flist2rpmvars - Davide Madrisan: 1094 tools/extract-specs, tools/kde4-flist2rpmvars - Davide Madrisan:
1079 Use LC_ALL instead of LANG. 1095 Use LC_ALL instead of LANG.
1080 1096
1081 + documentation 1097 + documentation
1082 * italian manpage - Davide Madrisan: 1098 * italian manpage - Davide Madrisan:
1083 Remove 'librarytools' from the list of available templates: it does not 1099 Remove 'librarytools' from the list of available templates: it does not
1084 exist. 1100 exist.
1085 1101
1086 + update 1102 + update
1087 * spec-create 1103 * spec-create
1088 templates/gnome 1104 templates/gnome
1089 templates/kde3, templates/kde4 1105 templates/kde3, templates/kde4
1090 templates/library 1106 templates/library
1091 templates/standard, templates/standard-daemon - Davide Madrisan: 1107 templates/standard, templates/standard-daemon - Davide Madrisan:
1092 Add the %debug_package macro when required. 1108 Add the %debug_package macro when required.
1093 1109
1094 * tests/test01_pkgquality 1110 * tests/test01_pkgquality
1095 tests/test02_pkgsecurity - Davide Madrisan: 1111 tests/test02_pkgsecurity - Davide Madrisan:
1096 Be less verbose and write the grand total of the issues detected by each 1112 Be less verbose and write the grand total of the issues detected by each
1097 plugin. 1113 plugin.
1098 1114
1099 * po/it/test01_pkgquality 1115 * po/it/test01_pkgquality
1100 po/it/test02_pkgsecurity.po - Davide Madrisan: 1116 po/it/test02_pkgsecurity.po - Davide Madrisan:
1101 Updated. 1117 Updated.
1102 1118
1103 + improvement 1119 + improvement
1104 * libspec.lib - Davide Madrisan: 1120 * libspec.lib - Davide Madrisan:
1105 Rework rpmvars.init() in order to support rpm macro expressions. 1121 Rework rpmvars.init() in order to support rpm macro expressions.
1106 (Feature asked ages ago by Silvan Calarco...) 1122 (Feature asked ages ago by Silvan Calarco...)
1107 Modify debug output to get it more readable. 1123 Modify debug output to get it more readable.
1108 1124
1109 * tests/test02_pkgsecurity - Davide Madrisan: 1125 * tests/test02_pkgsecurity - Davide Madrisan:
1110 New test: check for setgid directories. 1126 New test: check for setgid directories.
1111 1127
1112 + update 1128 + update
1113 * tests/test01_pkgquality 1129 * tests/test01_pkgquality
1114 tests/test02_pkgsecurity - Davide Madrisan: 1130 tests/test02_pkgsecurity - Davide Madrisan:
1115 Rework coloring schema and make output a bit more compact. 1131 Rework coloring schema and make output a bit more compact.
1116 1132
1117 * pck-update - Davide Madrisan: 1133 * pck-update - Davide Madrisan:
1118 Action 5: add a message asking developers to run quality and security 1134 Action 5: add a message asking developers to run quality and security
1119 tests. 1135 tests.
1120 1136
1121 + bugfix 1137 + bugfix
1122 * tests/test01_pkgquality - Davide Madrisan: 1138 * tests/test01_pkgquality - Davide Madrisan:
1123 Fix find command used when checking for wrong file attributes in bin and lib 1139 Fix find command used when checking for wrong file attributes in bin and lib
1124 directories, to avoid false positives (seen for files whose names include 1140 directories, to avoid false positives (seen for files whose names include
1125 the substring '.so', like 'net.sourceforge.kile.main.xml'). 1141 the substring '.so', like 'net.sourceforge.kile.main.xml').
1126 1142
1127 * pck-update - Davide Madrisan: 1143 * pck-update - Davide Madrisan:
1128 Ignore lines starting with '#' while checking for 'configure' and 'make' 1144 Ignore lines starting with '#' while checking for 'configure' and 'make'
1129 calls in the specfile. 1145 calls in the specfile.
1130 1146
1131 + update 1147 + update
1132 * pck-update - Davide Madrisan: 1148 * pck-update - Davide Madrisan:
1133 Print the list of packages before running the tests. 1149 Print the list of packages before running the tests.
1134 1150
1135 + bugfix 1151 + bugfix
1136 * tests/test01_pkgquality - Davide Madrisan: 1152 * tests/test01_pkgquality - Davide Madrisan:
1137 Avoid pipes otherwise the error counter will not display a correct value. 1153 Avoid pipes otherwise the error counter will not display a correct value.
1138 1154
1139 + update 1155 + update
1140 * templates/kde4, templates/standard-daemon 1156 * templates/kde4, templates/standard-daemon
1141 Do not use '&>/dev/null'. It's not dash compatible. 1157 Do not use '&>/dev/null'. It's not dash compatible.
1142 1158
1143 -------------------------------------------------------------------------------- 1159 --------------------------------------------------------------------------------
1144 1160
1145 Changes in version 1.8.2 1161 Changes in version 1.8.2
1146 Thu Dec 29 2011 Davide Madrisan <davide.madrisan(a)gmail.com> 1162 Thu Dec 29 2011 Davide Madrisan <davide.madrisan(a)gmail.com>
1147 1163
1148 + bugfix 1164 + bugfix
1149 * templates/library - Davide Madrisan: 1165 * templates/library - Davide Madrisan:
1150 Add a missing requirement. 1166 Add a missing requirement.
1151 1167
1152 + update 1168 + update
1153 * templates/kde4 - Davide Madrisan: 1169 * templates/kde4 - Davide Madrisan:
1154 Minor updates. 1170 Minor updates.
1155 1171
1156 * Makefile - Davide Madrisan: 1172 * Makefile - Davide Madrisan:
1157 Provide a 'dist-rpm-install' target to install the rpm packages by a simple 1173 Provide a 'dist-rpm-install' target to install the rpm packages by a simple
1158 'make dist-rpm-install' command. 1174 'make dist-rpm-install' command.
1159 1175
1160 * BUGS - Davide Madrisan: 1176 * BUGS - Davide Madrisan:
1161 Remove old stuff. 1177 Remove old stuff.
1162 1178
1163 -------------------------------------------------------------------------------- 1179 --------------------------------------------------------------------------------
1164 1180
1165 Changes in version 1.8.1 - Christmas Release 1181 Changes in version 1.8.1 - Christmas Release
1166 Tue Dec 20 2011 Davide Madrisan <davide.madrisan(a)gmail.com> 1182 Tue Dec 20 2011 Davide Madrisan <davide.madrisan(a)gmail.com>
1167 1183
1168 + update 1184 + update
1169 * libapse - Silvan Calarco: 1185 * libapse - Silvan Calarco:
1170 Perform sourceforge search for any package and modify to use 1186 Perform sourceforge search for any package and modify to use
1171 sourceforge.com/projects/project_name/files/latest 1187 sourceforge.com/projects/project_name/files/latest
1172 to retrieve latest version number. 1188 to retrieve latest version number.
1173 1189
1174 * libapse - Silvan Calarco: 1190 * libapse - Silvan Calarco:
1175 (sourceforge): also get version from package name if there is no version 1191 (sourceforge): also get version from package name if there is no version
1176 indication in upper level directory name. 1192 indication in upper level directory name.
1177 1193
1178 + bugfix 1194 + bugfix
1179 * libspec - Silvan Calarco: 1195 * libspec - Silvan Calarco:
1180 Quote '%' characters before passing strings to rpm --eval to avoid a 1196 Quote '%' characters before passing strings to rpm --eval to avoid a
1181 segmentation fault error. 1197 segmentation fault error.
1182 1198
1183 * pck-update - Silvan Calarco: 1199 * pck-update - Silvan Calarco:
1184 Escape '<' and '>' characters when printing SPEC_OBSOLETES to infofile to 1200 Escape '<' and '>' characters when printing SPEC_OBSOLETES to infofile to
1185 fix a syntax error. 1201 fix a syntax error.
1186 1202
1187 + update 1203 + update
1188 * templates/kde4 - Davide Madrisan: 1204 * templates/kde4 - Davide Madrisan:
1189 Update template to better support KDE 4.7.x. 1205 Update template to better support KDE 4.7.x.
1190 1206
1191 + bugfix 1207 + bugfix
1192 * spec-create - Davide Madrisan: 1208 * spec-create - Davide Madrisan:
1193 Support source packages with a makefile but no configure script. 1209 Support source packages with a makefile but no configure script.
1194 (Issue reported by Silvan Calarco) 1210 (Issue reported by Silvan Calarco)
1195 1211
1196 + update 1212 + update
1197 * spec-create, templates/* - Davide Madrisan: 1213 * spec-create, templates/* - Davide Madrisan:
1198 Move part of package documemtation to the devel package or add a comment 1214 Move part of package documemtation to the devel package or add a comment
1199 if the devel package is not provided by the template. 1215 if the devel package is not provided by the template.
1200 (Pointed out by Silvan Calarco) 1216 (Pointed out by Silvan Calarco)
1201 1217
1202 + bugfix 1218 + bugfix
1203 * templates/standard - Davide Madrisan: 1219 * templates/standard - Davide Madrisan:
1204 Devel package does not exist: fix calls of the rpm scriplets. 1220 Devel package does not exist: fix calls of the rpm scriplets.
1205 1221
1206 * templates/standard-daemon - Davide Madrisan: 1222 * templates/standard-daemon - Davide Madrisan:
1207 Devel package does not exist: move code for infopages installation/removal 1223 Devel package does not exist: move code for infopages installation/removal
1208 to the main package scriplets. 1224 to the main package scriplets.
1209 1225
1210 + update 1226 + update
1211 * spec-create, templates/library - Davide Madrisan: 1227 * spec-create, templates/library - Davide Madrisan:
1212 Support library packages with a name not starting by 'lib'. 1228 Support library packages with a name not starting by 'lib'.
1213 (Feature asked by Silvan Calarco) 1229 (Feature asked by Silvan Calarco)
1214 1230
1215 + update 1231 + update
1216 * Makefile: do no package file located in the .git directory (make dist). 1232 * Makefile: do no package file located in the .git directory (make dist).
1217 1233
1218 -------------------------------------------------------------------------------- 1234 --------------------------------------------------------------------------------
1219 1235
1220 Changes in version 1.8.0 1236 Changes in version 1.8.0
1221 Sat Apr 02 2011 Davide Madrisan <davide.madrisan(a)gmail.com> 1237 Sat Apr 02 2011 Davide Madrisan <davide.madrisan(a)gmail.com>
1222 1238
1223 + bugfix 1239 + bugfix
1224 * pck-update - Silvan Calarco: 1240 * pck-update - Silvan Calarco:
1225 Action 6: Fix automatic build requirements detection with rpm 5. 1241 Action 6: Fix automatic build requirements detection with rpm 5.
1226 1242
1227 + update 1243 + update
1228 * templates/perl - Davide Madrisan: 1244 * templates/perl - Davide Madrisan:
1229 Pass 'OPTIMIZE="%{optflags}"' to perl when building perl modules. 1245 Pass 'OPTIMIZE="%{optflags}"' to perl when building perl modules.
1230 1246
1231 + improvement 1247 + improvement
1232 * templates/standard-daemon - Davide Madrisan: 1248 * templates/standard-daemon - Davide Madrisan:
1233 New template for packages providing a system/network service. 1249 New template for packages providing a system/network service.
1234 1250
1235 + update 1251 + update
1236 * templates/standard - Davide Madrisan: 1252 * templates/standard - Davide Madrisan:
1237 Remove code used by services (moved to the 'standard-daemon' template). 1253 Remove code used by services (moved to the 'standard-daemon' template).
1238 1254
1239 * templates/Makefile - Davide Madrisan: 1255 * templates/Makefile - Davide Madrisan:
1240 Updated. 1256 Updated.
1241 1257
1242 * pck-update - Davide Madrisan: 1258 * pck-update - Davide Madrisan:
1243 Update Copyleft. 1259 Update Copyleft.
1244 1260
1245 * autospec - Davide Madrisan: 1261 * autospec - Davide Madrisan:
1246 Update Copyleft. 1262 Update Copyleft.
1247 1263
1248 * spec-create - Davide Madrisan: 1264 * spec-create - Davide Madrisan:
1249 Update Copyleft. 1265 Update Copyleft.
1250 1266
1251 * spec-create - Davide Madrisan: 1267 * spec-create - Davide Madrisan:
1252 Update help message. 1268 Update help message.
1253 1269
1254 * i18n - Davide Madrisan: 1270 * i18n - Davide Madrisan:
1255 Updated. 1271 Updated.
1256 1272
1257 + documentation 1273 + documentation
1258 * italian manpage: 1274 * italian manpage:
1259 Document the new template 'standard-daemon'. 1275 Document the new template 'standard-daemon'.
1260 1276
1261 + update 1277 + update
1262 * lib/libcfg.lib - Davide Madrisan: 1278 * lib/libcfg.lib - Davide Madrisan:
1263 Update Copyleft. 1279 Update Copyleft.
1264 1280
1265 + improvement 1281 + improvement
1266 * lib/libcfg.lib - Davide Madrisan: 1282 * lib/libcfg.lib - Davide Madrisan:
1267 Support modularized configuration files (`~/.autospec.d/*.conf'). 1283 Support modularized configuration files (`~/.autospec.d/*.conf').
1268 (Based on an idea developed by Stefano Cotta Ramusino.) 1284 (Based on an idea developed by Stefano Cotta Ramusino.)
1269 1285
1270 + update 1286 + update
1271 * config-getvar - Davide Madrisan: 1287 * config-getvar - Davide Madrisan:
1272 Minor fix: remove the always unset variable `cfg_file'. 1288 Minor fix: remove the always unset variable `cfg_file'.
1273 1289
1274 * config-getvar - Davide Madrisan: 1290 * config-getvar - Davide Madrisan:
1275 Update Copyleft. 1291 Update Copyleft.
1276 1292
1277 * lib/libcfg.lib - Davide Madrisan: 1293 * lib/libcfg.lib - Davide Madrisan:
1278 Unset "cfg_file" before exiting because the same variable is also used in 1294 Unset "cfg_file" before exiting because the same variable is also used in
1279 the plugin "config-getvar". 1295 the plugin "config-getvar".
1280 1296
1281 * config-getvar - Davide Madrisan: 1297 * config-getvar - Davide Madrisan:
1282 Correctly display variables splitted into several configuration files. 1298 Correctly display variables splitted into several configuration files.
1283 1299
1284 + documentation 1300 + documentation
1285 * italian manpage: 1301 * italian manpage:
1286 Document usage of configuration files `~/.autospec.d/*.conf'. 1302 Document usage of configuration files `~/.autospec.d/*.conf'.
1287 1303
1288 -------------------------------------------------------------------------------- 1304 --------------------------------------------------------------------------------
1289 1305
1290 Changes in version 1.7.3 1306 Changes in version 1.7.3
1291 Sun Mar 20 2011 Davide Madrisan <davide.madrisan(a)gmail.com> 1307 Sun Mar 20 2011 Davide Madrisan <davide.madrisan(a)gmail.com>
1292 1308
1293 + bugfix 1309 + bugfix
1294 * templates/kde4 - Davide Madrisan: 1310 * templates/kde4 - Davide Madrisan:
1295 Remove the duplicate %posttrans block. 1311 Remove the duplicate %posttrans block.
1296 1312
1297 * templates/python - Davide Madrisan: 1313 * templates/python - Davide Madrisan:
1298 Remove the trailing " character in the sed command. 1314 Remove the trailing " character in the sed command.
1299 (Pointed out by Silvan Calarco) 1315 (Pointed out by Silvan Calarco)
1300 1316
1301 * libspec - Davide Madrisan: 1317 * libspec - Davide Madrisan:
1302 Workaround the segmentation fault of "rpm --eval" while parsing an internet 1318 Workaround the segmentation fault of "rpm --eval" while parsing an internet
1303 address (like rpm --eval 'http://ftp.gnu.org'). 1319 address (like rpm --eval 'http://ftp.gnu.org').
1304 (Pointed out by Silvan Calarco) 1320 (Pointed out by Silvan Calarco)
1305 1321
1306 -------------------------------------------------------------------------------- 1322 --------------------------------------------------------------------------------
1307 1323
1308 Changes in version 1.7.2 1324 Changes in version 1.7.2
1309 Sat Jan 15 2011 Davide Madrisan <davide.madrisan(a)gmail.com> 1325 Sat Jan 15 2011 Davide Madrisan <davide.madrisan(a)gmail.com>
1310 1326
1311 + update 1327 + update
1312 * spec-create - Davide Madrisan: 1328 * spec-create - Davide Madrisan:
1313 Better debug messages. 1329 Better debug messages.
1314 1330
1315 * spec-create - Davide Madrisan: 1331 * spec-create - Davide Madrisan:
1316 Do not exit with error when the compression method is unsupported; try to 1332 Do not exit with error when the compression method is unsupported; try to
1317 create a specfile as complete as possible. 1333 create a specfile as complete as possible.
1318 1334
1319 * i18n - Davide Madrisan: 1335 * i18n - Davide Madrisan:
1320 Updated. 1336 Updated.
1321 1337
1322 * templates/library - Davide Madrisan: 1338 * templates/library - Davide Madrisan:
1323 Updated. 1339 Updated.
1324 1340
1325 + bugfix 1341 + bugfix
1326 * autospec.spec - Davide Madrisan: 1342 * autospec.spec - Davide Madrisan:
1327 Fixed the requirement loops detected by rpm5. 1343 Fixed the requirement loops detected by rpm5.
1328 1344
1329 * spec-create - Davide Madrisan: 1345 * spec-create - Davide Madrisan:
1330 Fixed expansion of source and license tags. 1346 Fixed expansion of source and license tags.
1331 1347
1332 + update 1348 + update
1333 * templates/perl - Davide Madrisan: 1349 * templates/perl - Davide Madrisan:
1334 Use the perl default licence ('perl_License_default') set in the 1350 Use the perl default licence ('perl_License_default') set in the
1335 configuration file. 1351 configuration file.
1336 1352
1337 * spec-create - Davide Madrisan: 1353 * spec-create - Davide Madrisan:
1338 Better output for the 'Summary' tag when processing perl archives which have 1354 Better output for the 'Summary' tag when processing perl archives which have
1339 'WriteMakefile' data blocks containing the 'NAME' variable. 1355 'WriteMakefile' data blocks containing the 'NAME' variable.
1340 1356
1341 + bugfix 1357 + bugfix
1342 * pck-update - Davide Madrisan: 1358 * pck-update - Davide Madrisan:
1343 action 1: Display the right installation path for files extracted from a 1359 action 1: Display the right installation path for files extracted from a
1344 srpm archive. 1360 srpm archive.
1345 1361
1346 -------------------------------------------------------------------------------- 1362 --------------------------------------------------------------------------------
1347 1363
1348 Changes in version 1.7.1 1364 Changes in version 1.7.1
1349 Wed Dec 29 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1365 Wed Dec 29 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1350 1366
1351 + bugfix 1367 + bugfix
1352 * spec-create - Davide Madrisan: 1368 * spec-create - Davide Madrisan:
1353 Fix expansion of '@standard_docs@' (do use '%doc' instead of '%docs'.) 1369 Fix expansion of '@standard_docs@' (do use '%doc' instead of '%docs'.)
1354 (Thanks to Silvan Calarco for pointing out this regression.) 1370 (Thanks to Silvan Calarco for pointing out this regression.)
1355 1371
1356 + update 1372 + update
1357 * spec-create - Davide Madrisan: 1373 * spec-create - Davide Madrisan:
1358 Updated help message. 1374 Updated help message.
1359 1375
1360 * i18n - Davide Madrisan: 1376 * i18n - Davide Madrisan:
1361 Updated. 1377 Updated.
1362 1378
1363 * spec-create - Davide Madrisan: 1379 * spec-create - Davide Madrisan:
1364 Add support for jar archives. (Feature asked by Gil.) 1380 Add support for jar archives. (Feature asked by Gil.)
1365 1381
1366 + bugfix 1382 + bugfix
1367 * templates/{standard,perl} - Davide Madrisan: 1383 * templates/{standard,perl} - Davide Madrisan:
1368 Various fixes. 1384 Various fixes.
1369 1385
1370 -------------------------------------------------------------------------------- 1386 --------------------------------------------------------------------------------
1371 1387
1372 Changes in version 1.7.0 - Christmas Release 1388 Changes in version 1.7.0 - Christmas Release
1373 Wed Dec 22 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1389 Wed Dec 22 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1374 1390
1375 + update 1391 + update
1376 * spec-create - Davide Madrisan: 1392 * spec-create - Davide Madrisan:
1377 A completely rewritten plugin based on the templates available in the 1393 A completely rewritten plugin based on the templates available in the
1378 templates directory. The previous was renamed as spec-create-old. 1394 templates directory. The previous was renamed as spec-create-old.
1379 1395
1380 * templates/* - Davide Madrisan: 1396 * templates/* - Davide Madrisan:
1381 Updated to be used by the new spec-create plugin. 1397 Updated to be used by the new spec-create plugin.
1382 1398
1383 * autospec.conf - Davide Madrisan: 1399 * autospec.conf - Davide Madrisan:
1384 New variable `rpm_default_buildroot'. 1400 New variable `rpm_default_buildroot'.
1385 1401
1386 * autospec.spec - Davide Madrisan: 1402 * autospec.spec - Davide Madrisan:
1387 Updated. 1403 Updated.
1388 1404
1389 * spec-create - Davide Madrisan: 1405 * spec-create - Davide Madrisan:
1390 Support conditional (boolean) directives present in templates. 1406 Support conditional (boolean) directives present in templates.
1391 Example: @i18n@%files -f %{name}.lang@%files@ 1407 Example: @i18n@%files -f %{name}.lang@%files@
1392 1408
1393 * templates/librarytools - Davide Madrisan: 1409 * templates/librarytools - Davide Madrisan:
1394 Deleted. 1410 Deleted.
1395 1411
1396 * spec-create - Davide Madrisan: 1412 * spec-create - Davide Madrisan:
1397 usage(): update the usage output; librarytools does not exist any more. 1413 usage(): update the usage output; librarytools does not exist any more.
1398 1414
1399 * i18n - Davide Madrisan: 1415 * i18n - Davide Madrisan:
1400 Updated. 1416 Updated.
1401 1417
1402 -------------------------------------------------------------------------------- 1418 --------------------------------------------------------------------------------
1403 1419
1404 Changes in version 1.6.3 1420 Changes in version 1.6.3
1405 Tue Nov 28 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1421 Tue Nov 28 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1406 1422
1407 + update 1423 + update
1408 * libnetwork.lib - Davide Madrisan: 1424 * libnetwork.lib - Davide Madrisan:
1409 repository.get_SRPMS_name(), repository.get_RPMS_name(): do not exit with 1425 repository.get_SRPMS_name(), repository.get_RPMS_name(): do not exit with
1410 error when curl cannot download the list of files available in a given 1426 error when curl cannot download the list of files available in a given
1411 repository. 1427 repository.
1412 1428
1413 * libnetwork.lib - Davide Madrisan: 1429 * libnetwork.lib - Davide Madrisan:
1414 repository.get_SRPMS_name(), repository.get_RPMS_name(): do print all the 1430 repository.get_SRPMS_name(), repository.get_RPMS_name(): do print all the
1415 curl commands in debug mode. 1431 curl commands in debug mode.
1416 1432
1417 * i18n - Davide Madrisan: 1433 * i18n - Davide Madrisan:
1418 Minor updates to the italian translation. 1434 Minor updates to the italian translation.
1419 1435
1420 + bugfix 1436 + bugfix
1421 * libcfg.lib - Davide Madrisan: 1437 * libcfg.lib - Davide Madrisan:
1422 Display a correct error message when the user configuration file is not 1438 Display a correct error message when the user configuration file is not
1423 available. 1439 available.
1424 1440
1425 + update 1441 + update
1426 * pck-extract - Davide Madrisan: 1442 * pck-extract - Davide Madrisan:
1427 Move config.check4user check after command line options parsing to let 1443 Move config.check4user check after command line options parsing to let
1428 pck-extract --help work even when $HOME/.autospec does not exist. 1444 pck-extract --help work even when $HOME/.autospec does not exist.
1429 1445
1430 * pck-extract - Davide Madrisan: 1446 * pck-extract - Davide Madrisan:
1431 version(): Update Copyleft message. 1447 version(): Update Copyleft message.
1432 1448
1433 * pck-update - Davide Madrisan: 1449 * pck-update - Davide Madrisan:
1434 version(): Update Copyleft message. 1450 version(): Update Copyleft message.
1435 1451
1436 * pck-update - Davide Madrisan: 1452 * pck-update - Davide Madrisan:
1437 New option '--force-download': download the source files even if found in 1453 New option '--force-download': download the source files even if found in
1438 the SOURCE directory. 1454 the SOURCE directory.
1439 1455
1440 * po/it/pck-update.po - Davide Madrisan: 1456 * po/it/pck-update.po - Davide Madrisan:
1441 Updated. 1457 Updated.
1442 1458
1443 + bugfix 1459 + bugfix
1444 * pck-update - Davide Madrisan: 1460 * pck-update - Davide Madrisan:
1445 Always force the download of the srpms files. 1461 Always force the download of the srpms files.
1446 (Feature asked by Silvan Calarco). 1462 (Feature asked by Silvan Calarco).
1447 1463
1448 + documentation 1464 + documentation
1449 * italian manpage: 1465 * italian manpage:
1450 Document the new option '--force-download'. 1466 Document the new option '--force-download'.
1451 Minor updates. 1467 Minor updates.
1452 1468
1453 -------------------------------------------------------------------------------- 1469 --------------------------------------------------------------------------------
1454 1470
1455 Changes in version 1.6.2.1 1471 Changes in version 1.6.2.1
1456 Tue Nov 09 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1472 Tue Nov 09 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1457 1473
1458 + bugfix 1474 + bugfix
1459 * po/libnetwork.po - Davide Madrisan: 1475 * po/libnetwork.po - Davide Madrisan:
1460 Fixed typo. 1476 Fixed typo.
1461 1477
1462 * libnetwork.po - Davide Madrisan: 1478 * libnetwork.po - Davide Madrisan:
1463 curl.ftp_command(): the option `rename-to' requires an argument. 1479 curl.ftp_command(): the option `rename-to' requires an argument.
1464 Fixed sintax in getopt. 1480 Fixed sintax in getopt.
1465 1481
1466 -------------------------------------------------------------------------------- 1482 --------------------------------------------------------------------------------
1467 1483
1468 Changes in version 1.6.2 1484 Changes in version 1.6.2
1469 Tue Nov 02 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1485 Tue Nov 02 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1470 1486
1471 + update 1487 + update
1472 * lib{repository,curl}.lib,spec-create,pck-extract,pck-update - Davide Madrisan: 1488 * lib{repository,curl}.lib,spec-create,pck-extract,pck-update - Davide Madrisan:
1473 Move all the functions from libcurl.lib to librepository.lib. 1489 Move all the functions from libcurl.lib to librepository.lib.
1474 Remove libcurl.lib. 1490 Remove libcurl.lib.
1475 1491
1476 * i18n - Davide Madrisan: 1492 * i18n - Davide Madrisan:
1477 Updated italian translation. 1493 Updated italian translation.
1478 1494
1479 * pck-update - Davide Madrisan: 1495 * pck-update - Davide Madrisan:
1480 Action 0: display the name of the distribution in the main message. 1496 Action 0: display the name of the distribution in the main message.
1481 1497
1482 * libnetwork.lib - Davide Madrisan: 1498 * libnetwork.lib - Davide Madrisan:
1483 New library, formerly known as librepository.lib. 1499 New library, formerly known as librepository.lib.
1484 1500
1485 -------------------------------------------------------------------------------- 1501 --------------------------------------------------------------------------------
1486 1502
1487 Changes in version 1.6.1 1503 Changes in version 1.6.1
1488 Sun Oct 17 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1504 Sun Oct 17 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1489 1505
1490 + update 1506 + update
1491 * libspec.lib, pck-update - Davide Madrisan: 1507 * libspec.lib, pck-update - Davide Madrisan:
1492 Move debug code from pck-update to libspec.lib (`curl.upload()'). 1508 Move debug code from pck-update to libspec.lib (`curl.upload()').
1493 1509
1494 * libspec.lib - Davide Madrisan: 1510 * libspec.lib - Davide Madrisan:
1495 curl.upload(): new options `--debug-unsecure'. 1511 curl.upload(): new options `--debug-unsecure'.
1496 1512
1497 + improvement 1513 + improvement
1498 * pck-update - Davide Madrisan: 1514 * pck-update - Davide Madrisan:
1499 Action 3: if no version is specified at command line, do use the package 1515 Action 3: if no version is specified at command line, do use the package
1500 version set in the specfile instead of exit the script with an error 1516 version set in the specfile instead of exit the script with an error
1501 message. 1517 message.
1502 1518
1503 * pck-update - Davide Madrisan: 1519 * pck-update - Davide Madrisan:
1504 Action 5: display a warning message if "PYTHONDONTWRITEBYTECODE" is set. 1520 Action 5: display a warning message if "PYTHONDONTWRITEBYTECODE" is set.
1505 (required by Stefano Cotta Ramusino) 1521 (required by Stefano Cotta Ramusino)
1506 1522
1507 + update 1523 + update
1508 * i18n - Davide Madrisan: 1524 * i18n - Davide Madrisan:
1509 Updated italian translation. 1525 Updated italian translation.
1510 1526
1511 + improvement 1527 + improvement
1512 * libcurl - Davide Madrisan: 1528 * libcurl - Davide Madrisan:
1513 New function 'curl.ftp_command()'. 1529 New function 'curl.ftp_command()'.
1514 1530
1515 * pck-update - Davide Madrisan: 1531 * pck-update - Davide Madrisan:
1516 Remove all the curl code. Use 'curl.ftp_command()' instead. 1532 Remove all the curl code. Use 'curl.ftp_command()' instead.
1517 'curl' is not required any more. 1533 'curl' is not required any more.
1518 1534
1519 + bugfix 1535 + bugfix
1520 * pck-update - Davide Madrisan: 1536 * pck-update - Davide Madrisan:
1521 Fixed incorrect path of the srpm package to be deleted. 1537 Fixed incorrect path of the srpm package to be deleted.
1522 1538
1523 * autospec.conf - Davide Madrisan: 1539 * autospec.conf - Davide Madrisan:
1524 Fixed and simplified the example for the ftp repository configuration. 1540 Fixed and simplified the example for the ftp repository configuration.
1525 1541
1526 * libcurl - Davide Madrisan: 1542 * libcurl - Davide Madrisan:
1527 curl.ftp_command(): do not pass the `--progress-bar' option to curl because 1543 curl.ftp_command(): do not pass the `--progress-bar' option to curl because
1528 it doesn't make sense in this context. 1544 it doesn't make sense in this context.
1529 1545
1530 * autospec.conf - Davide Madrisan: 1546 * autospec.conf - Davide Madrisan:
1531 New value for `patch_name_structure' (`{',`}' --> `\{',`\}'). 1547 New value for `patch_name_structure' (`{',`}' --> `\{',`\}').
1532 1548
1533 + update 1549 + update
1534 * librepository.lib - Davide Madrisan: 1550 * librepository.lib - Davide Madrisan:
1535 Replace `notify.warning' by `notify.error' when curl exit with an error. 1551 Replace `notify.warning' by `notify.error' when curl exit with an error.
1536 1552
1537 + improvement 1553 + improvement
1538 * pck-update - Davide Madrisan: 1554 * pck-update - Davide Madrisan:
1539 Action 10: While uploading and removing rpm packages, do also display the 1555 Action 10: While uploading and removing rpm packages, do also display the
1540 `ftp_alias', if this paramether is set. 1556 `ftp_alias', if this paramether is set.
1541 1557
1542 + improvement 1558 + improvement
1543 * libcurl - Davide Madrisan: 1559 * libcurl - Davide Madrisan:
1544 curl.upload(): check if the file to be uploaded exists. 1560 curl.upload(): check if the file to be uploaded exists.
1545 1561
1546 * pck-update - Davide Madrisan: 1562 * pck-update - Davide Madrisan:
1547 Action 10: Do not check if the file to be uploaded exists when uploading 1563 Action 10: Do not check if the file to be uploaded exists when uploading
1548 files. This check is now in curl.upload(). 1564 files. This check is now in curl.upload().
1549 1565
1550 * libcurl - Davide Madrisan: 1566 * libcurl - Davide Madrisan:
1551 curl.upload(): move here the code that visually display the source and 1567 curl.upload(): move here the code that visually display the source and
1552 destination files. 1568 destination files.
1553 1569
1554 * libcurl, pck-update - Davide Madrisan: 1570 * libcurl, pck-update - Davide Madrisan:
1555 Action 1: Move the notifications to `curl.download()' in order to avoid 1571 Action 1: Move the notifications to `curl.download()' in order to avoid
1556 code duplication in `pck-update'. 1572 code duplication in `pck-update'.
1557 1573
1558 -------------------------------------------------------------------------------- 1574 --------------------------------------------------------------------------------
1559 1575
1560 Changes in version 1.6.0 1576 Changes in version 1.6.0
1561 Sun Oct 03 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1577 Sun Oct 03 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1562 1578
1563 + bugfix 1579 + bugfix
1564 * autospec.spec - Silvan Calarco: 1580 * autospec.spec - Silvan Calarco:
1565 Added PreReq for rpm also to autospec-plugins package 1581 Added PreReq for rpm also to autospec-plugins package
1566 1582
1567 + improvement 1583 + improvement
1568 * pck-update - Silvan Calarco: 1584 * pck-update - Silvan Calarco:
1569 (autospec-1.5.0-install_srpms_with_nodeps.patch) 1585 (autospec-1.5.0-install_srpms_with_nodeps.patch)
1570 Added patch install_srpms_with_nodeps for compatibility with rpm5. 1586 Added patch install_srpms_with_nodeps for compatibility with rpm5.
1571 1587
1572 * autospec.conf - Davide Madrisan: 1588 * autospec.conf - Davide Madrisan:
1573 New option `srpm_install_options' with default value '--nodeps'. 1589 New option `srpm_install_options' with default value '--nodeps'.
1574 1590
1575 * pck-update - Davide Madrisan: 1591 * pck-update - Davide Madrisan:
1576 Install srpms packages using the user configurable `srpm_install_options' 1592 Install srpms packages using the user configurable `srpm_install_options'
1577 option. 1593 option.
1578 In debug mode do print the rpm command used when installing the srpm packages. 1594 In debug mode do print the rpm command used when installing the srpm packages.
1579 1595
1580 + update 1596 + update
1581 * autospec.conf - Silvan Calarco: 1597 * autospec.conf - Silvan Calarco:
1582 (autospec-1.5.0-use_smart_for_rpm_download_and_install.patch) 1598 (autospec-1.5.0-use_smart_for_rpm_download_and_install.patch)
1583 Added patch to replace apt with smart in default configured application for 1599 Added patch to replace apt with smart in default configured application for
1584 rpm download and installation. 1600 rpm download and installation.
1585 1601
1586 + bugfix 1602 + bugfix
1587 * pck-update - Silvan Calarco: 1603 * pck-update - Silvan Calarco:
1588 (autospec-1.5.0-autobuildreq_use_whatprovides.patch) 1604 (autospec-1.5.0-autobuildreq_use_whatprovides.patch)
1589 Use rpm option --whatprovides to find unidentified requirements. 1605 Use rpm option --whatprovides to find unidentified requirements.
1590 1606
1591 + improvement 1607 + improvement
1592 * pck-update - Silvan Calarco: 1608 * pck-update - Silvan Calarco:
1593 (autospec-1.5.0-dont_backup_srpm_with_nosrpm_option.patch) 1609 (autospec-1.5.0-dont_backup_srpm_with_nosrpm_option.patch)
1594 Added patch dont_backup_srpm_with_nosrpm_option to make it work better with 1610 Added patch dont_backup_srpm_with_nosrpm_option to make it work better with
1595 multiarch uploads. 1611 multiarch uploads.
1596 1612
1597 + update 1613 + update
1598 * pck-update - Silvan Calarco: 1614 * pck-update - Silvan Calarco:
1599 (autospec-1.5.0-hidden_spec_old_files.patch) 1615 (autospec-1.5.0-hidden_spec_old_files.patch)
1600 Create specfile backups as old files (i.e. prefixed by '.'). 1616 Create specfile backups as old files (i.e. prefixed by '.').
1601 1617
1602 * autospec.conf - Davide Madrisan: 1618 * autospec.conf - Davide Madrisan:
1603 New options `spec_backup_extension' (default value: `.old') and 1619 New options `spec_backup_extension' (default value: `.old') and
1604 `spec_backup_attr' (default value: `hidden') 1620 `spec_backup_attr' (default value: `hidden')
1605 1621
1606 * pck-update - Davide Madrisan: 1622 * pck-update - Davide Madrisan:
1607 specfile.rotate_bck(): requires as argument the specfile name with path. 1623 specfile.rotate_bck(): requires as argument the specfile name with path.
1608 1624
1609 * pck-update - Davide Madrisan: 1625 * pck-update - Davide Madrisan:
1610 Move all code related to specfile rotation to the 'specfile.rotate_bck' 1626 Move all code related to specfile rotation to the 'specfile.rotate_bck'
1611 function. 1627 function.
1612 1628
1613 * pck-update - Davide Madrisan: 1629 * pck-update - Davide Madrisan:
1614 Create backup files according to the user defined preferences 1630 Create backup files according to the user defined preferences
1615 'spec_backup_extension' and 'spec_backup_attr'. 1631 'spec_backup_extension' and 'spec_backup_attr'.
1616 1632
1617 + bugfix 1633 + bugfix
1618 * pck-update - Silvan Calarco: 1634 * pck-update - Silvan Calarco:
1619 (autospec-1.5.0-fix_undefined_SPECFILE_PREPROCESSED.patch) 1635 (autospec-1.5.0-fix_undefined_SPECFILE_PREPROCESSED.patch)
1620 infofile.create(): fix bug when 'specfile_preprocessed' already exists. 1636 infofile.create(): fix bug when 'specfile_preprocessed' already exists.
1621 1637
1622 + update 1638 + update
1623 * autospec.spec - Silvan Calarco: 1639 * autospec.spec - Silvan Calarco:
1624 * pck-update - Silvan Calarco: 1640 * pck-update - Silvan Calarco:
1625 * spec-create - Silvan Calarco: 1641 * spec-create - Silvan Calarco:
1626 * tests/test01_pkgquality - Silvan Calarco: 1642 * tests/test01_pkgquality - Silvan Calarco:
1627 * unmaintained/mbrowse.spec - Silvan Calarco: 1643 * unmaintained/mbrowse.spec - Silvan Calarco:
1628 (patch replace_obsolete_PreReq.patch) 1644 (patch replace_obsolete_PreReq.patch)
1629 Replace obsolete PreReq tags with Requires(pre) or Requires(post). 1645 Replace obsolete PreReq tags with Requires(pre) or Requires(post).
1630 1646
1631 + bugfix 1647 + bugfix
1632 * pck-update - Silvan Calarco: 1648 * pck-update - Silvan Calarco:
1633 (autospec-1.5.0-noarch_allow_upload_to_given_arch_only.patch) 1649 (autospec-1.5.0-noarch_allow_upload_to_given_arch_only.patch)
1634 Support configuration of @arch@ in arch_no_arch_upload 1650 Support configuration of @arch@ in arch_no_arch_upload
1635 1651
1636 * pck-update - Silvan Calarco: 1652 * pck-update - Silvan Calarco:
1637 (autospec-1.5.0-noarch_allow_upload_to_given_arch_only-2.patch) 1653 (autospec-1.5.0-noarch_allow_upload_to_given_arch_only-2.patch)
1638 Noarch support also for operations 6, 9, and 11. 1654 Noarch support also for operations 6, 9, and 11.
1639 1655
1640 * pck-update - Davide Madrisan: 1656 * pck-update - Davide Madrisan:
1641 Noarch support also for operations 7, and 8. 1657 Noarch support also for operations 7, and 8.
1642 1658
1643 * pck-update - Silvan Calarco: 1659 * pck-update - Silvan Calarco:
1644 (autospec-1.5.0-get_default_arch_from_rpm.patch) 1660 (autospec-1.5.0-get_default_arch_from_rpm.patch)
1645 Add rpm --eval `%_host_cpu' to find default architecture. 1661 Add rpm --eval `%_host_cpu' to find default architecture.
1646 1662
1647 + update 1663 + update
1648 * autospec.conf - Davide Madrisan: 1664 * autospec.conf - Davide Madrisan:
1649 rpm_approved_licenses[]: add 'IEEE' and 'Copyright only' licenses. 1665 rpm_approved_licenses[]: add 'IEEE' and 'Copyright only' licenses.
1650 1666
1651 + improvement 1667 + improvement
1652 * i18n - Davide Madrisan: 1668 * i18n - Davide Madrisan:
1653 Better message displayed when different a version or a release is specified 1669 Better message displayed when different a version or a release is specified
1654 at command line. 1670 at command line.
1655 1671
1656 * spec-create - Davide Madrisan: 1672 * spec-create - Davide Madrisan:
1657 Add support for '.lz' and '.7z' compressed archives. 1673 Add support for '.lz' and '.7z' compressed archives.
1658 1674
1659 * libspec.lib - Davide Madrisan: 1675 * libspec.lib - Davide Madrisan:
1660 specfile.getvars(): better output for 'SPEC_LICENSE' (debug message). 1676 specfile.getvars(): better output for 'SPEC_LICENSE' (debug message).
1661 1677
1662 * libspec.lib - Davide Madrisan: 1678 * libspec.lib - Davide Madrisan:
1663 specfile.getvars(): get the values of the licenses set in all the 1679 specfile.getvars(): get the values of the licenses set in all the
1664 subpackages. 1680 subpackages.
1665 1681
1666 + improvement 1682 + improvement
1667 * libcurl - Davide Madrisan: 1683 * libcurl - Davide Madrisan:
1668 New library containing the new function 'curl.download()'. 1684 New library containing the new function 'curl.download()'.
1669 1685
1670 * po/it/libcurl - Davide Madrisan: 1686 * po/it/libcurl - Davide Madrisan:
1671 Italian translation of all the english messages contained in libcurl. 1687 Italian translation of all the english messages contained in libcurl.
1672 1688
1673 * spec-create, pck-extract - Davide Madrisan: 1689 * spec-create, pck-extract - Davide Madrisan:
1674 Replace the curl command with a call to 'curl.download()'. 1690 Replace the curl command with a call to 'curl.download()'.
1675 Do not check for the availability of curl. 1691 Do not check for the availability of curl.
1676 1692
1677 * spec-update - Davide Madrisan: 1693 * spec-update - Davide Madrisan:
1678 Replace the curl command used to download with a call to 'curl.download()'. 1694 Replace the curl command used to download with a call to 'curl.download()'.
1679 1695
1680 + bugfix 1696 + bugfix
1681 * spec-create - Davide Madrisan: 1697 * spec-create - Davide Madrisan:
1682 Do not try to change file mode bits (chmod) over non-regular files. 1698 Do not try to change file mode bits (chmod) over non-regular files.
1683 1699
1684 + update 1700 + update
1685 * libspec.lib - Davide Madrisan: 1701 * libspec.lib - Davide Madrisan:
1686 Move 'sourcefile.download()' to 'libcurl' and rename this function 1702 Move 'sourcefile.download()' to 'libcurl' and rename this function
1687 'curl.download_sourcefile()'. 1703 'curl.download_sourcefile()'.
1688 1704
1689 + improvement 1705 + improvement
1690 * spec-update - Davide Madrisan: 1706 * spec-update - Davide Madrisan:
1691 Display an error message if the specfile cannot be found instead of running 1707 Display an error message if the specfile cannot be found instead of running
1692 rpm and let it complain with the message "rpm exited with error code `1'". 1708 rpm and let it complain with the message "rpm exited with error code `1'".
1693 1709
1694 + improvement 1710 + improvement
1695 * spec-update - Davide Madrisan: 1711 * spec-update - Davide Madrisan:
1696 Convert all the calls to `curl.download_sourcefile()' into calls to the new 1712 Convert all the calls to `curl.download_sourcefile()' into calls to the new
1697 function `curl.download()'. 1713 function `curl.download()'.
1698 1714
1699 * libspec.lib - Davide Madrisan: 1715 * libspec.lib - Davide Madrisan:
1700 Remove the now unused function 'curl.download_sourcefile()'. 1716 Remove the now unused function 'curl.download_sourcefile()'.
1701 1717
1702 + update 1718 + update
1703 * autospec - Davide Madrisan: 1719 * autospec - Davide Madrisan:
1704 Extend copyright to 2010. 1720 Extend copyright to 2010.
1705 1721
1706 + improvement 1722 + improvement
1707 * libcurl.lib - Davide Madrisan: 1723 * libcurl.lib - Davide Madrisan:
1708 New function `curl.upload()'. 1724 New function `curl.upload()'.
1709 1725
1710 * spec-update - Davide Madrisan: 1726 * spec-update - Davide Madrisan:
1711 Convert the calls to 'curl' for uploading rpm and srpm packages into calls 1727 Convert the calls to 'curl' for uploading rpm and srpm packages into calls
1712 to the new function 'curl.upload()'. 1728 to the new function 'curl.upload()'.
1713 1729
1714 -------------------------------------------------------------------------------- 1730 --------------------------------------------------------------------------------
1715 1731
1716 Changes in version 1.5.0 1732 Changes in version 1.5.0
1717 Sat Jul 17 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1733 Sat Jul 17 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1718 1734
1719 + bugfix 1735 + bugfix
1720 * autospec.spec: 1736 * autospec.spec:
1721 Fix by Silvan Calarco. 1737 Fix by Silvan Calarco.
1722 Added PreReq for rpm for correct user configuration. 1738 Added PreReq for rpm for correct user configuration.
1723 1739
1724 * libapse.lib: 1740 * libapse.lib:
1725 Patch provided by Silvan Calarco: 1741 Patch provided by Silvan Calarco:
1726 autospec-1.4.17-curl_pass_netlink_opts.patch 1742 autospec-1.4.17-curl_pass_netlink_opts.patch
1727 Do pass netlink options ('curl_opts_netlink') to curl in libapse too. 1743 Do pass netlink options ('curl_opts_netlink') to curl in libapse too.
1728 1744
1729 + improvement 1745 + improvement
1730 * pck-update: 1746 * pck-update:
1731 Patch provided by Silvan Calarco: 1747 Patch provided by Silvan Calarco:
1732 autospec-1.4.17-rpm-whatprovides-optimize.patch 1748 autospec-1.4.17-rpm-whatprovides-optimize.patch
1733 1749
1734 + bugfix 1750 + bugfix
1735 * pck-update: 1751 * pck-update:
1736 Patch provided by Silvan Calarco: autospec-1.4.17-fix_get_RPMS_name.patch 1752 Patch provided by Silvan Calarco: autospec-1.4.17-fix_get_RPMS_name.patch
1737 Fix identification of old packages to backup. 1753 Fix identification of old packages to backup.
1738 1754
1739 * pck-update: 1755 * pck-update:
1740 Patch provided by Silvan Calarco: 1756 Patch provided by Silvan Calarco:
1741 autospec-1.4.17-just_warn_if_host_fails.patch 1757 autospec-1.4.17-just_warn_if_host_fails.patch
1742 Reduce severity from error to warning if host command fails as happens 1758 Reduce severity from error to warning if host command fails as happens
1743 using qemu-arm environment. 1759 using qemu-arm environment.
1744 1760
1745 + improvement 1761 + improvement
1746 * libspec.lib: 1762 * libspec.lib:
1747 Patch provided by Silvan Calarco: 1763 Patch provided by Silvan Calarco:
1748 autospec-1.4.17-use_rpm_preprocessor_to_solve_vars 1764 autospec-1.4.17-use_rpm_preprocessor_to_solve_vars
1749 Use rpm preprocessor to solve the variables used in a specfile. 1765 Use rpm preprocessor to solve the variables used in a specfile.
1750 Requires rpm --specfile --specedit feature added to rpm 4.4.9-15mamba 1766 Requires rpm --specfile --specedit feature added to rpm 4.4.9-15mamba
1751 1767
1752 + update 1768 + update
1753 * libspec.lib: 1769 * libspec.lib:
1754 specfile.getvars(): do not forge a default specfile name. 1770 specfile.getvars(): do not forge a default specfile name.
1755 1771
1756 * pck-update: 1772 * pck-update:
1757 infofile.create(): new infofile variable: 'SRPM_SPECFILE_WITH_PATH'. 1773 infofile.create(): new infofile variable: 'SRPM_SPECFILE_WITH_PATH'.
1758 1774
1759 * pck-update: 1775 * pck-update:
1760 Use '$SRPM_SPECFILE_WITH_PATH' instead of '$spec_dir/$SRPM_SPECFILE' when 1776 Use '$SRPM_SPECFILE_WITH_PATH' instead of '$spec_dir/$SRPM_SPECFILE' when
1761 possible. 1777 possible.
1762 1778
1763 + improvement 1779 + improvement
1764 * libspec.lib: 1780 * libspec.lib:
1765 rpmvars.solve(): skip the variable substitution process if the input string 1781 rpmvars.solve(): skip the variable substitution process if the input string
1766 does not contain any variable. 1782 does not contain any variable.
1767 rpmvars.solve(): end the variable substitution process if the output string 1783 rpmvars.solve(): end the variable substitution process if the output string
1768 does not contain any more variable. 1784 does not contain any more variable.
1769 1785
1770 * libspec.lib: 1786 * libspec.lib:
1771 sourcefile.download(): in debug mode do print the full curl command. 1787 sourcefile.download(): in debug mode do print the full curl command.
1772 1788
1773 + bugfix 1789 + bugfix
1774 * pck-update: 1790 * pck-update:
1775 package.update(): remove duplicate definition of 'rpmdefine_opts'. 1791 package.update(): remove duplicate definition of 'rpmdefine_opts'.
1776 1792
1777 + update 1793 + update
1778 * pck-update: 1794 * pck-update:
1779 infofile.create(): do not redefine 'SRPM_SPECFILE_WITH_PATH' at every 1795 infofile.create(): do not redefine 'SRPM_SPECFILE_WITH_PATH' at every
1780 function call. 1796 function call.
1781 1797
1782 * pck-update: 1798 * pck-update:
1783 infofile.create(): set 'USER_RPMDEFINE_OPTS' (list of all the 'rpm --define' 1799 infofile.create(): set 'USER_RPMDEFINE_OPTS' (list of all the 'rpm --define'
1784 command-line options defined by the user) in the infofile. 1800 command-line options defined by the user) in the infofile.
1785 1801
1786 * libspec.lib: always use the USER_RPMDEFINE_OPTS value instead of recreating 1802 * libspec.lib: always use the USER_RPMDEFINE_OPTS value instead of recreating
1787 the list ot the rpm --define commands every time they're needed. 1803 the list ot the rpm --define commands every time they're needed.
1788 1804
1789 * pck-update: 1805 * pck-update:
1790 infofile.create(): add the variable 'SPECFILE_PREPROCESSED' in the infofile 1806 infofile.create(): add the variable 'SPECFILE_PREPROCESSED' in the infofile
1791 and create this file using the rpm options '-q --specfile --specedit'. 1807 and create this file using the rpm options '-q --specfile --specedit'.
1792 1808
1793 * pck-update: 1809 * pck-update:
1794 infofile.create(): use the preprocessed specile instead of the original one 1810 infofile.create(): use the preprocessed specile instead of the original one
1795 when calling 'specfile.getvars()', except when running in '--verbatim' mode. 1811 when calling 'specfile.getvars()', except when running in '--verbatim' mode.
1796 1812
1797 * libspec.lib: 1813 * libspec.lib:
1798 specfile.getvars(): always use the 'specfile' name passed as paramether 1814 specfile.getvars(): always use the 'specfile' name passed as paramether
1799 instead of 'SPECFILE_PREPROCESSED' or 'SRPM_SPECFILE_WITH_PATH'. 1815 instead of 'SPECFILE_PREPROCESSED' or 'SRPM_SPECFILE_WITH_PATH'.
1800 1816
1801 + update 1817 + update
1802 * autospec.conf: 1818 * autospec.conf:
1803 add "Delopment/Debug" to 'rpm_allowed_groups'. 1819 add "Delopment/Debug" to 'rpm_allowed_groups'.
1804 1820
1805 -------------------------------------------------------------------------------- 1821 --------------------------------------------------------------------------------
1806 1822
1807 Changes in version 1.4.17 1823 Changes in version 1.4.17
1808 Wed Maj 12 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1824 Wed Maj 12 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1809 1825
1810 + bugfix 1826 + bugfix
1811 * libspec.lib: 1827 * libspec.lib:
1812 * pck-update: 1828 * pck-update:
1813 (Bug noticed by Silvan Calarco when cross-compiling packages via autospec) 1829 (Bug noticed by Silvan Calarco when cross-compiling packages via autospec)
1814 Honour user defined macros when expanding rpm variables. 1830 Honour user defined macros when expanding rpm variables.
1815 Save user defined macros in the variable 'define_list_name' using a syntax 1831 Save user defined macros in the variable 'define_list_name' using a syntax
1816 accepted by the rpm tool. 1832 accepted by the rpm tool.
1817 1833
1818 * libspec.lib: 1834 * libspec.lib:
1819 Fixed typo (FUCNAME --> FUNCNAME). 1835 Fixed typo (FUCNAME --> FUNCNAME).
1820 1836
1821 * pck-update: 1837 * pck-update:
1822 (patch provided by Silvan Calarco: 1838 (patch provided by Silvan Calarco:
1823 autospec-1.4.16-pass_root_opts_to_whatprovides.patch) 1839 autospec-1.4.16-pass_root_opts_to_whatprovides.patch)
1824 1840
1825 Use alternative root directory, if provided, for build requirements check. 1841 Use alternative root directory, if provided, for build requirements check.
1826 1842
1827 * pck-update: 1843 * pck-update:
1828 (patch provided by Silvan Calarco: 1844 (patch provided by Silvan Calarco:
1829 autospec-1.4.16-dont_pass_root_to_rpmbuild.patch) 1845 autospec-1.4.16-dont_pass_root_to_rpmbuild.patch)
1830 1846
1831 Don't pass alternative root directory to rpmbuild except when running 1847 Don't pass alternative root directory to rpmbuild except when running
1832 rpmbuild --nobuild to check dependencies. As the dependencies check is done 1848 rpmbuild --nobuild to check dependencies. As the dependencies check is done
1833 before, it is safe to pass --nodeps to non-simulated build commands. 1849 before, it is safe to pass --nodeps to non-simulated build commands.
1834 This is needed because rpm has a strange behaviour when both --root is 1850 This is needed because rpm has a strange behaviour when both --root is
1835 passed and %_builddir is defined, as it uses passed %_builddir in prepare 1851 passed and %_builddir is defined, as it uses passed %_builddir in prepare
1836 phase, but adds root directory to %_builddir in the build phase. 1852 phase, but adds root directory to %_builddir in the build phase.
1837 1853
1838 * test01_pkgquality: 1854 * test01_pkgquality:
1839 (problem noticed by Stefano Cotta Ramusino) 1855 (problem noticed by Stefano Cotta Ramusino)
1840 Do not check for `%buildroot' strings when 'rpm_ignores_buildroot' is true. 1856 Do not check for `%buildroot' strings when 'rpm_ignores_buildroot' is true.
1841 1857
1842 * test01_pkgquality.po: 1858 * test01_pkgquality.po:
1843 Updated. 1859 Updated.
1844 1860
1845 * test01_pkgquality: 1861 * test01_pkgquality:
1846 * tests/test02_pkgsecurity: 1862 * tests/test02_pkgsecurity:
1847 Colorize all the messages describing the tests to be run. 1863 Colorize all the messages describing the tests to be run.
1848 1864
1849 -------------------------------------------------------------------------------- 1865 --------------------------------------------------------------------------------
1850 1866
1851 Changes in version 1.4.16 1867 Changes in version 1.4.16
1852 Mon Apr 12 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1868 Mon Apr 12 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1853 1869
1854 + improvement 1870 + improvement
1855 * spec-create: 1871 * spec-create:
1856 specfile.create(): support lzma compressed archives. 1872 specfile.create(): support lzma compressed archives.
1857 1873
1858 + bugfix 1874 + bugfix
1859 * templates/kde4: 1875 * templates/kde4:
1860 Add a missing '/sbin/ldconfig' in the %posttrans scriplet. 1876 Add a missing '/sbin/ldconfig' in the %posttrans scriplet.
1861 1877
1862 * pck-update: 1878 * pck-update:
1863 (patch provided by Silvan Calarco: 1879 (patch provided by Silvan Calarco:
1864 autospec-1.4.15-pass_target_before_defines) 1880 autospec-1.4.15-pass_target_before_defines)
1865 Pass '--target=<arch>' to rpm before the '--define' directives otherwise 1881 Pass '--target=<arch>' to rpm before the '--define' directives otherwise
1866 rpm will silently discard it. 1882 rpm will silently discard it.
1867 1883
1868 + improvement 1884 + improvement
1869 * autospec.conf: 1885 * autospec.conf:
1870 New variable 'rpm_ignores_buildroot' set to '1' by default. 1886 New variable 'rpm_ignores_buildroot' set to '1' by default.
1871 Silvan Calarco noticed that the 'BuildRoot' tag of a specfile is ignored by 1887 Silvan Calarco noticed that the 'BuildRoot' tag of a specfile is ignored by
1872 several vesions of rpm. 1888 several vesions of rpm.
1873 1889
1874 * libspec.lib: 1890 * libspec.lib:
1875 Do not consider mandatory the 'BuildRoot' tag os a specfile when the 1891 Do not consider mandatory the 'BuildRoot' tag os a specfile when the
1876 variable 'rpm_ignores_buildroot' is true. 1892 variable 'rpm_ignores_buildroot' is true.
1877 1893
1878 * templates/python: 1894 * templates/python:
1879 * spec-create: 1895 * spec-create:
1880 Use the setup.py '--record' directive to automatically get the complete list 1896 Use the setup.py '--record' directive to automatically get the complete list
1881 of the installed files . 1897 of the installed files .
1882 (Thanks to Stefano Cotta Ramusino for pointing out this improvement.) 1898 (Thanks to Stefano Cotta Ramusino for pointing out this improvement.)
1883 1899
1884 * libapse.lib.in: 1900 * libapse.lib.in:
1885 (patch by Stefano Cotta Ramusino: autospec-1.4.15-libapse_sourceforge.patch) 1901 (patch by Stefano Cotta Ramusino: autospec-1.4.15-libapse_sourceforge.patch)
1886 Check for new software at sourceforge.net/sf.net sites. 1902 Check for new software at sourceforge.net/sf.net sites.
1887 1903
1888 -------------------------------------------------------------------------------- 1904 --------------------------------------------------------------------------------
1889 1905
1890 Changes in version 1.4.15 1906 Changes in version 1.4.15
1891 Wed Mar 24 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1907 Wed Mar 24 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1892 1908
1893 + improvement 1909 + improvement
1894 * templates/kde4: 1910 * templates/kde4:
1895 Add update-desktop-database, update-mime-database, and gtk-update-icon-cache 1911 Add update-desktop-database, update-mime-database, and gtk-update-icon-cache
1896 calls to rpm scriplets. 1912 calls to rpm scriplets.
1897 1913
1898 * pck-update: 1914 * pck-update:
1899 (patch provided by Silvan Calarco: autospec-1.4.14-add_rpm_root_option.patch) 1915 (patch provided by Silvan Calarco: autospec-1.4.14-add_rpm_root_option.patch)
1900 New option '--root=DIRECTORY': use the file system tree rooted at DIRECTORY 1916 New option '--root=DIRECTORY': use the file system tree rooted at DIRECTORY
1901 for all rpm operations. 1917 for all rpm operations.
1902 Use the root directive when running 'rpm -U --test'; 1918 Use the root directive when running 'rpm -U --test';
1903 Use the root directive when installing the rpm packages. 1919 Use the root directive when installing the rpm packages.
1904 1920
1905 + bugfix 1921 + bugfix
1906 * pck-update: 1922 * pck-update:
1907 (patch provided by Silvan Calarco: autospec-1.4.14-add_rpm_root_option.patch) 1923 (patch provided by Silvan Calarco: autospec-1.4.14-add_rpm_root_option.patch)
1908 Do not overwrite the '--define' directives saved in 'rpmbuild_opts' when 1924 Do not overwrite the '--define' directives saved in 'rpmbuild_opts' when
1909 cross-compiling. 1925 cross-compiling.
1910 1926
1911 + documentation 1927 + documentation
1912 * italian manpage: 1928 * italian manpage:
1913 Document the new option '--root'. 1929 Document the new option '--root'.
1914 1930
1915 + bugfix 1931 + bugfix
1916 * pck-update: 1932 * pck-update:
1917 Correctly display the '\n' character in the debug message showing the curl 1933 Correctly display the '\n' character in the debug message showing the curl
1918 command used for uploading the rpm and srpm packages. 1934 command used for uploading the rpm and srpm packages.
1919 1935
1920 -------------------------------------------------------------------------------- 1936 --------------------------------------------------------------------------------
1921 1937
1922 Changes in version 1.4.14 1938 Changes in version 1.4.14
1923 Fri Mar 12 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1939 Fri Mar 12 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1924 1940
1925 + bugfix 1941 + bugfix
1926 * pck-update: 1942 * pck-update:
1927 Fixed several variable substitutions using 'upload_ftp_port': 1943 Fixed several variable substitutions using 'upload_ftp_port':
1928 ${upload_ftp_port:+:upload_ftp_port} >> 1944 ${upload_ftp_port:+:upload_ftp_port} >>
1929 ${upload_ftp_port:+:$upload_ftp_port} 1945 ${upload_ftp_port:+:$upload_ftp_port}
1930 1946
1931 * pck-update: 1947 * pck-update:
1932 (autospec-1.4.13-rpmbuild_test_pass_variables.patch) 1948 (autospec-1.4.13-rpmbuild_test_pass_variables.patch)
1933 Pass build options and defines to rpmbuild --nobuild to prevent it from 1949 Pass build options and defines to rpmbuild --nobuild to prevent it from
1934 failing when it shouldn't. 1950 failing when it shouldn't.
1935 1951
1936 -------------------------------------------------------------------------------- 1952 --------------------------------------------------------------------------------
1937 1953
1938 Changes in version 1.4.13 1954 Changes in version 1.4.13
1939 Wed Feb 17 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1955 Wed Feb 17 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1940 1956
1941 + improvement 1957 + improvement
1942 * spec-create: 1958 * spec-create:
1943 specfile.create(): add support for the xz compressed archives. 1959 specfile.create(): add support for the xz compressed archives.
1944 1960
1945 + bugfix 1961 + bugfix
1946 * spec-create: 1962 * spec-create:
1947 specfile.write_clean(): always end '%post' and '%preun' blocks containing 1963 specfile.write_clean(): always end '%post' and '%preun' blocks containing
1948 multiple statements with an 'exit 0' command. 1964 multiple statements with an 'exit 0' command.
1949 1965
1950 -------------------------------------------------------------------------------- 1966 --------------------------------------------------------------------------------
1951 1967
1952 Changes in version 1.4.12 1968 Changes in version 1.4.12
1953 Wed Feb 17 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1969 Wed Feb 17 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1954 1970
1955 + bugfix 1971 + bugfix
1956 * libapse.lib: 1972 * libapse.lib:
1957 Fix the error message: 1973 Fix the error message:
1958 /usr/share/autospec/lib/libspec.lib: line 1018: [: too many arguments 1974 /usr/share/autospec/lib/libspec.lib: line 1018: [: too many arguments
1959 1975
1960 * tools/kde4-flist2rpmvars: 1976 * tools/kde4-flist2rpmvars:
1961 Correcty handle the '%{_kde4_xdgappsdir}' and '%{_kde4_xdgmimedir}' 1977 Correcty handle the '%{_kde4_xdgappsdir}' and '%{_kde4_xdgmimedir}'
1962 macros. 1978 macros.
1963 1979
1964 * tools/kde4-flist2rpmvars: 1980 * tools/kde4-flist2rpmvars:
1965 Do not skip the first line of the input to process. 1981 Do not skip the first line of the input to process.
1966 1982
1967 * spec-create: 1983 * spec-create:
1968 Do not add an empty line after the '%prep' directive. 1984 Do not add an empty line after the '%prep' directive.
1969 1985
1970 + improvement 1986 + improvement
1971 * spec-create: 1987 * spec-create:
1972 Improved creation of python specfiles: 1988 Improved creation of python specfiles:
1973 - update the '%install' block; 1989 - update the '%install' block;
1974 - fill the package description when a description is available; 1990 - fill the package description when a description is available;
1975 1991
1976 -------------------------------------------------------------------------------- 1992 --------------------------------------------------------------------------------
1977 1993
1978 Changes in version 1.4.11 1994 Changes in version 1.4.11
1979 Tue Jan 12 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 1995 Tue Jan 12 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1980 1996
1981 + bugfix 1997 + bugfix
1982 (reported by Silvan Calarco) 1998 (reported by Silvan Calarco)
1983 * libapse.lib: 1999 * libapse.lib:
1984 Fix regression bug introduced in 1.4.9 with a mispaced "notify.debug" 2000 Fix regression bug introduced in 1.4.9 with a mispaced "notify.debug"
1985 statement that prevented libapse from finding lots of software updates. 2001 statement that prevented libapse from finding lots of software updates.
1986 2002
1987 -------------------------------------------------------------------------------- 2003 --------------------------------------------------------------------------------
1988 2004
1989 Changes in version 1.4.10 2005 Changes in version 1.4.10
1990 Thu Jan 10 2010 Davide Madrisan <davide.madrisan(a)gmail.com> 2006 Thu Jan 10 2010 Davide Madrisan <davide.madrisan(a)gmail.com>
1991 + update 2007 + update
1992 * templates/python: 2008 * templates/python:
1993 (patch provided by Silvan Calarco: autospec-1.4.9-python_template.patch) 2009 (patch provided by Silvan Calarco: autospec-1.4.9-python_template.patch)
1994 Use %{__python} instead of python. 2010 Use %{__python} instead of python.
1995 2011
1996 * templates/python: 2012 * templates/python:
1997 (patch provided by Stefano Cotta Ramusino: autospec-1.4.9-python_opt.patch) 2013 (patch provided by Stefano Cotta Ramusino: autospec-1.4.9-python_opt.patch)
1998 Do not rebuild the python modules in the %install block (do use the option 2014 Do not rebuild the python modules in the %install block (do use the option
1999 `--skip-build' to avoid this). 2015 `--skip-build' to avoid this).
2000 Do use the optimization flag `-O1'. 2016 Do use the optimization flag `-O1'.
2001 2017
2002 + bugfix 2018 + bugfix
2003 * pck-update: 2019 * pck-update:
2004 (reported by Stefano Cotta Ramusino) 2020 (reported by Stefano Cotta Ramusino)
2005 If a description begins with a '%' character, do not pretend that the 2021 If a description begins with a '%' character, do not pretend that the
2006 "`%description' has empty body". 2022 "`%description' has empty body".
2007 2023
2008 -------------------------------------------------------------------------------- 2024 --------------------------------------------------------------------------------
2009 2025
2010 Changes in version 1.4.9 2026 Changes in version 1.4.9
2011 Fri Oct 23 2009 Davide Madrisan <davide.madrisan(a)gmail.com> 2027 Fri Oct 23 2009 Davide Madrisan <davide.madrisan(a)gmail.com>
2012 + update 2028 + update
2013 (by Stefano Cotta Ramusino) 2029 (by Stefano Cotta Ramusino)
2014 * autospec.conf: 2030 * autospec.conf:
2015 New list of OSI approved licenses ('rpm_approved_licenses') 2031 New list of OSI approved licenses ('rpm_approved_licenses')
2016 2032
2017 + improvement 2033 + improvement
2018 * libcfg.lib: 2034 * libcfg.lib:
2019 config.check4user(): declare as 'local' all the variables used in this 2035 config.check4user(): declare as 'local' all the variables used in this
2020 function. 2036 function.
2021 Try to get the email address also looking at emaildefaults in $HOME/.kde4. 2037 Try to get the email address also looking at emaildefaults in $HOME/.kde4.
2022 2038
2023 + bugfix 2039 + bugfix
2024 * spec-create: 2040 * spec-create:
2025 Call 'config.check4user()' before proceeding with the specfile creation. 2041 Call 'config.check4user()' before proceeding with the specfile creation.
2026 (bug noticed by Stefano Cotta Ramusino) 2042 (bug noticed by Stefano Cotta Ramusino)
2027 2043
2028 + improvement 2044 + improvement
2029 (patch provided by Silvan Calarco: autospec-1.4.8-distrowatch_apse_grep.patch) 2045 (patch provided by Silvan Calarco: autospec-1.4.8-distrowatch_apse_grep.patch)
2030 * autospec.conf: 2046 * autospec.conf:
2031 New value for 'apse_grep[5]' to improve the Autospec Package Search Engine. 2047 New value for 'apse_grep[5]' to improve the Autospec Package Search Engine.
2032 2048
2033 (patch provided by Silvan Calarco: 2049 (patch provided by Silvan Calarco:
2034 autospec-1.4.8-libapse_candidate_versions.patch) 2050 autospec-1.4.8-libapse_candidate_versions.patch)
2035 * libapse.lib: 2051 * libapse.lib:
2036 Support more extensions for software archives; 2052 Support more extensions for software archives;
2037 Use the 'candidate_versions[]' vector to save a list of candidate new 2053 Use the 'candidate_versions[]' vector to save a list of candidate new
2038 versions and search for the better candidate according to the current 2054 versions and search for the better candidate according to the current
2039 version scheme. 2055 version scheme.
2040 2056
2041 -------------------------------------------------------------------------------- 2057 --------------------------------------------------------------------------------
2042 2058
2043 Changes in version 1.4.8 2059 Changes in version 1.4.8
2044 Wed Oct 14 2009 Davide Madrisan <davide.madrisan(a)gmail.com> 2060 Wed Oct 14 2009 Davide Madrisan <davide.madrisan(a)gmail.com>
2045 + bugfix 2061 + bugfix
2046 (patch provided by Silvan Calarco: autospec-1.4.7-builddir_conf_default.patch) 2062 (patch provided by Silvan Calarco: autospec-1.4.7-builddir_conf_default.patch)
2047 * autospec.conf: 2063 * autospec.conf:
2048 Also set 'build_dir'. 2064 Also set 'build_dir'.
2049 2065
2050 + improvement 2066 + improvement
2051 (patch provided by Silvan Calarco: 2067 (patch provided by Silvan Calarco:
2052 autospec-1.4.7-libapse_better_source0_scrape.patch) 2068 autospec-1.4.7-libapse_better_source0_scrape.patch)
2053 * libapse.lib: 2069 * libapse.lib:
2054 Improved package version detection. 2070 Improved package version detection.
2055 2071
2056 + new feature 2072 + new feature
2057 * autospec.conf: 2073 * autospec.conf:
2058 New variable 'rpm_debug_package_macro' containing the macro provided by 2074 New variable 'rpm_debug_package_macro' containing the macro provided by
2059 rpm to build debug packages (default value: "%debug_package"); 2075 rpm to build debug packages (default value: "%debug_package");
2060 New variable 'rpm_macro_debug_package_suffix' (default value: "debug"). 2076 New variable 'rpm_macro_debug_package_suffix' (default value: "debug").
2061 2077
2062 * libspec.lib: 2078 * libspec.lib:
2063 specfile.getvars(): support debug packages. 2079 specfile.getvars(): support debug packages.
2064 2080
2065 -------------------------------------------------------------------------------- 2081 --------------------------------------------------------------------------------
2066 2082
2067 Changes in version 1.4.7 2083 Changes in version 1.4.7
2068 Sun Jul 05 2009 Davide Madrisan <davide.madrisan(a)gmail.com> 2084 Sun Jul 05 2009 Davide Madrisan <davide.madrisan(a)gmail.com>
2069 2085
2070 + new feature 2086 + new feature
2071 (patch provided by Silvan Calarco: autospec-1.4.6-relocate_RPM_dirs.patch) 2087 (patch provided by Silvan Calarco: autospec-1.4.6-relocate_RPM_dirs.patch)
2072 * pck-update: 2088 * pck-update:
2073 Integrated the relocate_RPM_dirs patch by Silvan Calarco. 2089 Integrated the relocate_RPM_dirs patch by Silvan Calarco.
2074 2090
2075 + bugfix 2091 + bugfix
2076 (patch provided by Silvan Calarco: 2092 (patch provided by Silvan Calarco:
2077 autospec-1.4.6-libapse_remove_sourceforge.patch) 2093 autospec-1.4.6-libapse_remove_sourceforge.patch)
2078 * libapse.lib: 2094 * libapse.lib:
2079 Update the Autospec Package Search Engine for the site <sourceforge.net> 2095 Update the Autospec Package Search Engine for the site <sourceforge.net>
2080 (a specific code for this site is no longer required.) 2096 (a specific code for this site is no longer required.)
2081 2097
2082 * pck-update: 2098 * pck-update:
2083 Fix the update of packages when the package name contains a relative or 2099 Fix the update of packages when the package name contains a relative or
2084 absoute path ('spec_dir' was not set correctly). 2100 absoute path ('spec_dir' was not set correctly).
2085 2101
2086 * pck-update: 2102 * pck-update:
2087 Fix the initialisation of the specfile directory when the '-S/--specfile' 2103 Fix the initialisation of the specfile directory when the '-S/--specfile'
2088 option is specified ('spec_dir' was not set correctly). 2104 option is specified ('spec_dir' was not set correctly).
2089 2105
2090 -------------------------------------------------------------------------------- 2106 --------------------------------------------------------------------------------
2091 2107
2092 Changes in version 1.4.6 2108 Changes in version 1.4.6
2093 Fri Apr 10 2009 Davide Madrisan <davide.madrisan(a)gmail.com> 2109 Fri Apr 10 2009 Davide Madrisan <davide.madrisan(a)gmail.com>
2094 2110
2095 + bugfix 2111 + bugfix
2096 (patch provided by Silvan Calarco: autospec-1.4.5-scrape_regexp.patch) 2112 (patch provided by Silvan Calarco: autospec-1.4.5-scrape_regexp.patch)
2097 * autospec.conf: 2113 * autospec.conf:
2098 Updated `apse_grep' and `apse_uri' variables 2114 Updated `apse_grep' and `apse_uri' variables
2099 2115
2100 + bugfix 2116 + bugfix
2101 (patches provided by Silvan Calarco: 2117 (patches provided by Silvan Calarco:
2102 autospec-1.4.5-scrape_source0_fix.patch, 2118 autospec-1.4.5-scrape_source0_fix.patch,
2103 autospec-1.4.5-scrape_source0_fix2.patch) 2119 autospec-1.4.5-scrape_source0_fix2.patch)
2104 * libapse.lib: 2120 * libapse.lib:
2105 apse.scrapeversion(): fixed the `pcknameregexp' regexpr and the parser that 2121 apse.scrapeversion(): fixed the `pcknameregexp' regexpr and the parser that
2106 initialize the `new_version' variable. 2122 initialize the `new_version' variable.
2107 2123
2108 -------------------------------------------------------------------------------- 2124 --------------------------------------------------------------------------------
2109 2125
2110 Changes in version 1.4.5 2126 Changes in version 1.4.5
2111 Sun Feb 15 2009 Davide Madrisan <davide.madrisan(a)gmail.com> 2127 Sun Feb 15 2009 Davide Madrisan <davide.madrisan(a)gmail.com>
2112 2128
2113 + bugfix 2129 + bugfix
2114 (reported by Silvan Calarco) 2130 (reported by Silvan Calarco)
2115 * autospec.spec: 2131 * autospec.spec:
2116 Added missing `%defattr' for subpackage `plugins'. 2132 Added missing `%defattr' for subpackage `plugins'.
2117 2133
2118 + new feature 2134 + new feature
2119 (patch provided by Silvan Calarco: autospec-1.4.4-scrape_source0_dir.patch) 2135 (patch provided by Silvan Calarco: autospec-1.4.4-scrape_source0_dir.patch)
2120 * libapse.lib: 2136 * libapse.lib:
2121 apse.scrapeversion(): new option `--pckurlverbatim'. 2137 apse.scrapeversion(): new option `--pckurlverbatim'.
2122 apse.scrapeversion(): added `source0' url based search. 2138 apse.scrapeversion(): added `source0' url based search.
2123 * pck-update: 2139 * pck-update:
2124 Action 2: use the `--pckurlverbatim' option when calling the function 2140 Action 2: use the `--pckurlverbatim' option when calling the function
2125 `apse.scrapeversion'. 2141 `apse.scrapeversion'.
2126 2142
2127 + bugfix 2143 + bugfix
2128 * libapse.lib: 2144 * libapse.lib:
2129 apse.scrapeversion(): handle specfiles with no url specified in source0 2145 apse.scrapeversion(): handle specfiles with no url specified in source0
2130 (like autospec). Better output message. Do not display proxy login and 2146 (like autospec). Better output message. Do not display proxy login and
2131 password in debug mode. Update help message. 2147 password in debug mode. Update help message.
2132 2148
2133 + bugfix 2149 + bugfix
2134 (patch provided by Silvan Calarco: autospec-1.4.4-fix_sourceforge.patch) 2150 (patch provided by Silvan Calarco: autospec-1.4.4-fix_sourceforge.patch)
2135 * libapse.lib: 2151 * libapse.lib:
2136 apse.scrapeversion(): fix regexpr used for parsing sourceforge.net pages. 2152 apse.scrapeversion(): fix regexpr used for parsing sourceforge.net pages.
2137 2153
2138 + update 2154 + update
2139 * libapse.lib, pck-update: update Copyright messages. 2155 * libapse.lib, pck-update: update Copyright messages.
2140 2156
2141 + bugfix 2157 + bugfix
2142 (patch by Silvan Calarco: autospec-1.4.4-fix_perl_pkgs_scraping.patch) 2158 (patch by Silvan Calarco: autospec-1.4.4-fix_perl_pkgs_scraping.patch)
2143 * libapse.lib: 2159 * libapse.lib:
2144 apse.scrapeversion(): fix perl packages scraping. 2160 apse.scrapeversion(): fix perl packages scraping.
2145 2161
2146 + new feature 2162 + new feature
2147 (patch provided by Silvan Calarco: 2163 (patch provided by Silvan Calarco:
2148 autospec-1.4.4-access_private_repositories.patch) 2164 autospec-1.4.4-access_private_repositories.patch)
2149 * libreposirory.lib: 2165 * libreposirory.lib:
2150 repository.get_SRPMS_name(), repository.get_RPMS_name(): new option 2166 repository.get_SRPMS_name(), repository.get_RPMS_name(): new option
2151 '-l|--user' (login user) for repositories that require authentication even 2167 '-l|--user' (login user) for repositories that require authentication even
2152 in readonly mode 2168 in readonly mode
2153 2169
2154 + bugfix 2170 + bugfix
2155 (reported by Silvan Calarco) 2171 (reported by Silvan Calarco)
2156 * pck-update: 2172 * pck-update:
2157 Action 4: Fixed regression: do not always display the message 2173 Action 4: Fixed regression: do not always display the message
2158 `Source[0]': does not point to a valid internet address 2174 `Source[0]': does not point to a valid internet address
2159 2175
2160 -------------------------------------------------------------------------------- 2176 --------------------------------------------------------------------------------
2161 2177
2162 Changes in version 1.4.4 (Christmas Release!) 2178 Changes in version 1.4.4 (Christmas Release!)
2163 Thu Dec 25 2008 Davide Madrisan <davide.madrisan(a)gmail.com> 2179 Thu Dec 25 2008 Davide Madrisan <davide.madrisan(a)gmail.com>
2164 2180
2165 + new feature 2181 + new feature
2166 * building infrastructure: 2182 * building infrastructure:
2167 New makefiles '{plugin,template,test,tool}/Makefile' 2183 New makefiles '{plugin,template,test,tool}/Makefile'
2168 2184
2169 + new feature (asked by Silvan Calarco) 2185 + new feature (asked by Silvan Calarco)
2170 * pck-update: 2186 * pck-update:
2171 Action 1: do not remove the SRPMS package after download and installation 2187 Action 1: do not remove the SRPMS package after download and installation
2172 2188
2173 + new feature (patch provided by Silvan Calarco) 2189 + new feature (patch provided by Silvan Calarco)
2174 * pck-update: 2190 * pck-update:
2175 Action 2: exit with exit code 4 if the package is already the latest 2191 Action 2: exit with exit code 4 if the package is already the latest
2176 version 2192 version
2177 2193
2178 + improvement (issue reported by Silvan Calarco) 2194 + improvement (issue reported by Silvan Calarco)
2179 * librepository: 2195 * librepository:
2180 repository.get_SRPMS_name(): only download the repository web pages only 2196 repository.get_SRPMS_name(): only download the repository web pages only
2181 once per repository 2197 once per repository
2182 2198
2183 + bugfix (issue reported by Silvan Calarco) 2199 + bugfix (issue reported by Silvan Calarco)
2184 * libspec.lib: 2200 * libspec.lib:
2185 specfile.getvars(): support non standard package names like: 2201 specfile.getvars(): support non standard package names like:
2186 - foo2zjs.tar.gz 2202 - foo2zjs.tar.gz
2187 - pdf417_enc.4.4.tar.gz 2203 - pdf417_enc.4.4.tar.gz
2188 - slib3a4.zip 2204 - slib3a4.zip
2189 2205
2190 + bugfix 2206 + bugfix
2191 * pck-update: 2207 * pck-update:
2192 infofile.create(): check the optional specfile path entered by users via 2208 infofile.create(): check the optional specfile path entered by users via
2193 command line options (only the path set in the rpm configuration files is 2209 command line options (only the path set in the rpm configuration files is
2194 supported) 2210 supported)
2195 * po/it/spec-create.po: 2211 * po/it/spec-create.po:
2196 Updated 2212 Updated
2197 2213
2198 + bugfix (issue discovered and reported by Silvan Calarco) 2214 + bugfix (issue discovered and reported by Silvan Calarco)
2199 * pck-update - action 2: 2215 * pck-update - action 2:
2200 When a newer version of the package is available on the web, put its value 2216 When a newer version of the package is available on the web, put its value
2201 in the infofile (SPEC_VERSION_FORCED) 2217 in the infofile (SPEC_VERSION_FORCED)
2202 * pck-update - infofile.create(): 2218 * pck-update - infofile.create():
2203 Honour SPEC_VERSION_FORCED when calling rpmvars.init() 2219 Honour SPEC_VERSION_FORCED when calling rpmvars.init()
2204 * libspec.lib - rpmvars.init(): 2220 * libspec.lib - rpmvars.init():
2205 rpmvars.init(): new option '--pckver' to force the version number that 2221 rpmvars.init(): new option '--pckver' to force the version number that
2206 will be stored in the variable 'rpmvar_value[1]' instead of using the 2222 will be stored in the variable 'rpmvar_value[1]' instead of using the
2207 value provided by the specfile itself 2223 value provided by the specfile itself
2208 2224
2209 + update 2225 + update
2210 * libapse.lib: 2226 * libapse.lib:
2211 Removed "Copyright (C) Davide Madrisan" and "Copyright (C) Silvan Calarco" 2227 Removed "Copyright (C) Davide Madrisan" and "Copyright (C) Silvan Calarco"
2212 2228
2213 -------------------------------------------------------------------------------- 2229 --------------------------------------------------------------------------------
2214 2230
2215 Changes in version 1.4.3 2231 Changes in version 1.4.3
2216 Thu Nov 20 2008 Davide Madrisan <davide.madrisan(a)gmail.com> 2232 Thu Nov 20 2008 Davide Madrisan <davide.madrisan(a)gmail.com>
2217 2233
2218 * librepository.lib: 2234 * librepository.lib:
2219 - Use a general regular expression in 'repository.get_pckname_from_HTML()' 2235 - Use a general regular expression in 'repository.get_pckname_from_HTML()'
2220 (this should fix all the issues recently spotted by Silvan Calarco) 2236 (this should fix all the issues recently spotted by Silvan Calarco)
2221 2237
2222 * spec-create: 2238 * spec-create:
2223 - Add support for 'https' protocol when downloading source files 2239 - Add support for 'https' protocol when downloading source files
2224 2240
2225 * po/it/spec-create.po: 2241 * po/it/spec-create.po:
2226 - Updated 2242 - Updated
2227 2243
2228 -------------------------------------------------------------------------------- 2244 --------------------------------------------------------------------------------
2229 2245
2230 Changes in version 1.4.2 2246 Changes in version 1.4.2
2231 Fri Nov 14 2008 Davide Madrisan <davide.madrisan(a)gmail.com> 2247 Fri Nov 14 2008 Davide Madrisan <davide.madrisan(a)gmail.com>
2232 2248
2233 * pck-update: 2249 * pck-update:
2234 - The function 'repository.resolveURL()' is now called 'specfile.resolveURL()' 2250 - The function 'repository.resolveURL()' is now called 'specfile.resolveURL()'
2235 - 'repository.get_SRPMS_name()', 'repository.get_RPMS_name()', and 2251 - 'repository.get_SRPMS_name()', 'repository.get_RPMS_name()', and
2236 'repository.is_reachable()' has been moved to the new library librepository 2252 'repository.is_reachable()' has been moved to the new library librepository
2237 - The function 'specfile.resolveURL()' has been moved to 'librepository' and 2253 - The function 'specfile.resolveURL()' has been moved to 'librepository' and
2238 renamed to 'repository.resolveURL()' 2254 renamed to 'repository.resolveURL()'
2239 - Fixed the 'ftp_alias' support (thanks to Silvan Calarco for the bug report) 2255 - Fixed the 'ftp_alias' support (thanks to Silvan Calarco for the bug report)
2240 2256
2241 * libspec.lib: 2257 * libspec.lib:
2242 - Do accept also the "<pck> <= <version>" syntax when parsing the list of the 2258 - Do accept also the "<pck> <= <version>" syntax when parsing the list of the
2243 build requirements (thanks to Silvan Calarco for reporting this issue) 2259 build requirements (thanks to Silvan Calarco for reporting this issue)
2244 2260
2245 * librepository.lib: 2261 * librepository.lib:
2246 - New library 2262 - New library
2247 - New command line options '--proxy' and '--proxy-user' for the library 2263 - New command line options '--proxy' and '--proxy-user' for the library
2248 function 'repository.get_SRPMS_name()' 2264 function 'repository.get_SRPMS_name()'
2249 - Function 'repository.get_SRPMS_name()': option '-u' renamed to '-r' 2265 - Function 'repository.get_SRPMS_name()': option '-u' renamed to '-r'
2250 - New command line options '--proxy', '--proxy-user', and 'target_cpu' for the 2266 - New command line options '--proxy', '--proxy-user', and 'target_cpu' for the
2251 library function 'repository.get_RPMS_name()' 2267 library function 'repository.get_RPMS_name()'
2252 2268
2253 * Makefile: 2269 * Makefile:
2254 - Minor fixes 2270 - Minor fixes
2255 - Makefile logic reworked (added 'Makefile.env', 'po/it/Makefile', and 2271 - Makefile logic reworked (added 'Makefile.env', 'po/it/Makefile', and
2256 '/man/it/Makefile') to also work with the 'dash' (Debian Almquist SHell) 2272 '/man/it/Makefile') to also work with the 'dash' (Debian Almquist SHell)
2257 shell used as /bin/sh replacement by Ubuntu since the 6.10 release 2273 shell used as /bin/sh replacement by Ubuntu since the 6.10 release
2258 - Updated target 'uninstall' 2274 - Updated target 'uninstall'
2259 - Use "/usr/local" as default prefix instead of "/usr" 2275 - Use "/usr/local" as default prefix instead of "/usr"
2260 2276
2261 * autospec.spec 2277 * autospec.spec
2262 - If '%_localedir' is undefined in the rpm macros do use the path defined by 2278 - If '%_localedir' is undefined in the rpm macros do use the path defined by
2263 the Filesystem Hierarchy Standard (FHS) document 2279 the Filesystem Hierarchy Standard (FHS) document
2264 2280
2265 -------------------------------------------------------------------------------- 2281 --------------------------------------------------------------------------------
2266 2282
2267 Changes in version 1.4.1 2283 Changes in version 1.4.1
2268 Wed Oct 29 2008 Davide Madrisan <davide.madrisan(a)gmail.com> 2284 Wed Oct 29 2008 Davide Madrisan <davide.madrisan(a)gmail.com>
2269 2285
2270 * autospec.spec: 2286 * autospec.spec:
2271 - Added italian tranlations to subpackages descriptions 2287 - Added italian tranlations to subpackages descriptions
2272 - New subpackage 'tests' 2288 - New subpackage 'tests'
2273 2289
2274 * plugins/pck-extract: 2290 * plugins/pck-extract:
2275 - Load libmsgmng.lib 2291 - Load libmsgmng.lib
2276 - Use the builtin bash operator '=~' instead of the a call to the external 2292 - Use the builtin bash operator '=~' instead of the a call to the external
2277 tool 'grep' when possibile 2293 tool 'grep' when possibile
2278 - Check for bash version 3 or better 2294 - Check for bash version 3 or better
2279 2295
2280 * plugins/config-getvar: 2296 * plugins/config-getvar:
2281 - Use the builtin bash operator '=~' instead of the a call to the external 2297 - Use the builtin bash operator '=~' instead of the a call to the external
2282 tool 'grep' when possibile 2298 tool 'grep' when possibile
2283 - Check for bash version 3 or better 2299 - Check for bash version 3 or better
2284 2300
2285 * plugins/spec-create: 2301 * plugins/spec-create:
2286 - Use the builtin bash operator '=~' instead of the a call to the external 2302 - Use the builtin bash operator '=~' instead of the a call to the external
2287 tool 'grep' when possibile 2303 tool 'grep' when possibile
2288 - Check for bash version 3 or better 2304 - Check for bash version 3 or better
2289 2305
2290 * plugins/pck-update: 2306 * plugins/pck-update:
2291 - Use the builtin bash operator '=~' instead of the a call to the external 2307 - Use the builtin bash operator '=~' instead of the a call to the external
2292 tool 'grep' when possibile 2308 tool 'grep' when possibile
2293 - Check for bash version 3 or better 2309 - Check for bash version 3 or better
2294 2310
2295 * Makefile: 2311 * Makefile:
2296 - Install the plugins in '$(bindir)' instead of '$(datadir)/autospec/plugins' 2312 - Install the plugins in '$(bindir)' instead of '$(datadir)/autospec/plugins'
2297 - New target 'check' for checking libraries and scripts for syntax errors 2313 - New target 'check' for checking libraries and scripts for syntax errors
2298 - Add targets and instructions to build and install the autospec tests 2314 - Add targets and instructions to build and install the autospec tests
2299 2315
2300 * lib/libapse: 2316 * lib/libapse:
2301 - Use when possible the construct 'for i in ${!Array[@]}; ...' to expand the 2317 - Use when possible the construct 'for i in ${!Array[@]}; ...' to expand the
2302 values saved in a vector 2318 values saved in a vector
2303 2319
2304 * autospec.conf: 2320 * autospec.conf:
2305 - New variable 'testdir' 2321 - New variable 'testdir'
2306 - New variables 2322 - New variables
2307 - 'rpm_install_noinstall_mask' 2323 - 'rpm_install_noinstall_mask'
2308 - 'rpm_install_l10n_pck_mask' 2324 - 'rpm_install_l10n_pck_mask'
2309 - 'rpm_install_l10n_pck_allow_lang_mask' 2325 - 'rpm_install_l10n_pck_allow_lang_mask'
2310 used to control which localization and development packages will be 2326 used to control which localization and development packages will be
2311 installed by the plugin 'pck-update' (feature asked by Silvan Calarco) 2327 installed by the plugin 'pck-update' (feature asked by Silvan Calarco)
2312 2328
2313 Ex1. rpm_install_noinstall_mask='' 2329 Ex1. rpm_install_noinstall_mask=''
2314 rpm_install_l10n_pck_mask='-i18n-|-help-' 2330 rpm_install_l10n_pck_mask='-i18n-|-help-'
2315 rpm_install_l10n_pck_allow_lang_mask='.*' 2331 rpm_install_l10n_pck_allow_lang_mask='.*'
2316 In this example all the packages will be installed (default configuration) 2332 In this example all the packages will be installed (default configuration)
2317 2333
2318 Ex2. rpm_install_noinstall_mask='-apidocs-' 2334 Ex2. rpm_install_noinstall_mask='-apidocs-'
2319 rpm_install_l10n_pck_mask='-i18n-|-help-' 2335 rpm_install_l10n_pck_mask='-i18n-|-help-'
2320 rpm_install_l10n_pck_allow_lang_mask='it' 2336 rpm_install_l10n_pck_allow_lang_mask='it'
2321 In this example the apidocs packages will never installed and only the 2337 In this example the apidocs packages will never installed and only the
2322 localization packages for the italian language will be installed 2338 localization packages for the italian language will be installed
2323 2339
2324 * tests: 2340 * tests:
2325 - Add 'test01_pkgquality' and 'test02_pkgsecurity' 2341 - Add 'test01_pkgquality' and 'test02_pkgsecurity'
2326 - Other tests can now be easily added in '$testdir' directory (see above) 2342 - Other tests can now be easily added in '$testdir' directory (see above)
2327 2343
2328 * i18n: 2344 * i18n:
2329 - New po files for core tests 2345 - New po files for core tests
2330 2346
2331 -------------------------------------------------------------------------------- 2347 --------------------------------------------------------------------------------
2332 2348
2333 Changes in version 1.4.0 2349 Changes in version 1.4.0
2334 Mon Oct 13 2008 Davide Madrisan <davide.madrisan(a)gmail.com> 2350 Mon Oct 13 2008 Davide Madrisan <davide.madrisan(a)gmail.com>
2335 2351
2336 * autospec: 2352 * autospec:
2337 - Added the missing entry for the '--update' option in the help message 2353 - Added the missing entry for the '--update' option in the help message
2338 - Added the missing entry for the '--eval' option in the help message 2354 - Added the missing entry for the '--eval' option in the help message
2339 - The '--eval' option now works again 2355 - The '--eval' option now works again
2340 2356
2341 * pck-update: 2357 * pck-update:
2342 - Make a backup copy of the old specfiles when executing action 1 instead of 2358 - Make a backup copy of the old specfiles when executing action 1 instead of
2343 action 4. This seems more useful for developers and for the automatic 2359 action 4. This seems more useful for developers and for the automatic
2344 upgrading tool used in openmamba. Feature asked by Silvan Calarco 2360 upgrading tool used in openmamba. Feature asked by Silvan Calarco
2345 - Do not try to backup a specfile if it does not exists (!) 2361 - Do not try to backup a specfile if it does not exists (!)
2346 2362
2347 * autospec.spec: 2363 * autospec.spec:
2348 - Updated 2364 - Updated
2349 2365
2350 * i18n: 2366 * i18n:
2351 - The po file is now splitted into nine separate files 2367 - The po file is now splitted into nine separate files
2352 - po/autospec_fe-it.po frontend 2368 - po/autospec_fe-it.po frontend
2353 - po/config-getvar-it.po plugin config-getvar 2369 - po/config-getvar-it.po plugin config-getvar
2354 - po/libapse-it.po library libapse.lib 2370 - po/libapse-it.po library libapse.lib
2355 - po/libcfg-it.po library libcfg.lib 2371 - po/libcfg-it.po library libcfg.lib
2356 - po/libmsgmng-it.po library libmsgmng.lib 2372 - po/libmsgmng-it.po library libmsgmng.lib
2357 - po/libspec-it.po library libspec.lib 2373 - po/libspec-it.po library libspec.lib
2358 - po/pck-extract-it.po plugin pck-extract 2374 - po/pck-extract-it.po plugin pck-extract
2359 - po/pck-update-it.po plugin pck-update 2375 - po/pck-update-it.po plugin pck-update
2360 - po/spec-create-it.po plugin spec-create 2376 - po/spec-create-it.po plugin spec-create
2361 2377
2362 * Makefile: 2378 * Makefile:
2363 - updated 2379 - updated
2364 2380
2365 * autobuild: 2381 * autobuild:
2366 - This tool has been removed because it hasn't been developed and maintained 2382 - This tool has been removed because it hasn't been developed and maintained
2367 for a long time and it has been now superceeded by `autodist', written by 2383 for a long time and it has been now superceeded by `autodist', written by
2368 Silvan Calarco for the openmamba distribution 2384 Silvan Calarco for the openmamba distribution
2369 2385
2370 * libapse: 2386 * libapse:
2371 - Merged patch "autospec-trver.patch" by Silvan Calarco 2387 - Merged patch "autospec-trver.patch" by Silvan Calarco
2372 - Merged patch "autospec-install.patch" by Silvan Calarco 2388 - Merged patch "autospec-install.patch" by Silvan Calarco
2373 2389
2374 * autospec.conf: 2390 * autospec.conf:
2375 - Removed the variable 'plugin_autobuild' 2391 - Removed the variable 'plugin_autobuild'
2376 2392
2377 * libcfg.lib: 2393 * libcfg.lib:
2378 - Do not verify if 'plugin_autobuild' is set 2394 - Do not verify if 'plugin_autobuild' is set
2379 2395
2380 -------------------------------------------------------------------------------- 2396 --------------------------------------------------------------------------------
2381 2397
2382 Changes in version 1.3.2 2398 Changes in version 1.3.2
2383 Fri Oct 03 2008 Davide Madrisan <davide.madrisan(a)gmail.com> 2399 Fri Oct 03 2008 Davide Madrisan <davide.madrisan(a)gmail.com>
2384 2400
2385 * autospec.conf 2401 * autospec.conf
2386 - New vector variable 'ftp_alias[]' 2402 - New vector variable 'ftp_alias[]'
2387 2403
2388 * pck-update: 2404 * pck-update:
2389 - Merged "autospec-1.2.2-localedir.patch" by Silvan Calarco: this patch 2405 - Merged "autospec-1.2.2-localedir.patch" by Silvan Calarco: this patch
2390 improves the detection of locales files performed by autospec 2406 improves the detection of locales files performed by autospec
2391 - Support a package name matching the regex "<pck_name>-svn<date>-<...>.rpm" 2407 - Support a package name matching the regex "<pck_name>-svn<date>-<...>.rpm"
2392 - Implemented aliases for ftp repositories (using the new vector variable 2408 - Implemented aliases for ftp repositories (using the new vector variable
2393 'ftp_alias' in the autospec configuration file). Affects both the options 2409 'ftp_alias' in the autospec configuration file). Affects both the options
2394 '--server-download' and '--server-upload'. Feature asked by Silvan Calarco 2410 '--server-download' and '--server-upload'. Feature asked by Silvan Calarco
2395 2411
2396 ftp_alias[0]="devel" 2412 ftp_alias[0]="devel"
2397 ftp_alias[1]="contrib" 2413 ftp_alias[1]="contrib"
2398 2414
2399 ftpurl_ro_rpms[0]="http://<...>/devel/RPMS.@arch@" 2415 ftpurl_ro_rpms[0]="http://<...>/devel/RPMS.@arch@"
2400 ftpurl_ro_rpms[1]="http://<...>/devel-contrib/RPMS.@arch@" 2416 ftpurl_ro_rpms[1]="http://<...>/devel-contrib/RPMS.@arch@"
2401 ftpurl_ro_srpms[0]="http://<...>/devel/SRPMS.base" 2417 ftpurl_ro_srpms[0]="http://<...>/devel/SRPMS.base"
2402 ftpurl_ro_srpms[1]="http://<...>/devel-contrib/SRPMS.base" 2418 ftpurl_ro_srpms[1]="http://<...>/devel-contrib/SRPMS.base"
2403 ftp_rw_server[0]="<...>" 2419 ftp_rw_server[0]="<...>"
2404 ... 2420 ...
2405 2421
2406 With a similar configuration you can select a repository the old way: 2422 With a similar configuration you can select a repository the old way:
2407 autospec -u -a0 --server=1 2423 autospec -u -a0 --server=1
2408 or using the configured alias: 2424 or using the configured alias:
2409 autospec -u -a0 --server=contrib 2425 autospec -u -a0 --server=contrib
2410 2426
2411 -------------------------------------------------------------------------------- 2427 --------------------------------------------------------------------------------
2412 2428
2413 Changes in version 1.3.1 2429 Changes in version 1.3.1
2414 Tue Sep 30 2008 Davide Madrisan <davide.madrisan(a)gmail.com> 2430 Tue Sep 30 2008 Davide Madrisan <davide.madrisan(a)gmail.com>
2415 2431
2416 * autospec: 2432 * autospec:
2417 - More code cleanups 2433 - More code cleanups
2418 - Fixed a typo error in the help message 2434 - Fixed a typo error in the help message
2419 - -V|--version option: Only print the version number in quiet mode 2435 - -V|--version option: Only print the version number in quiet mode
2420 2436
2421 * spec-create: 2437 * spec-create:
2422 - Display the help message when the following command-line arguments are used: 2438 - Display the help message when the following command-line arguments are used:
2423 "-s --help", "-s -h", "--help -s", and "-h -s" 2439 "-s --help", "-s -h", "--help -s", and "-h -s"
2424 2440
2425 * libapse.lib: 2441 * libapse.lib:
2426 - Exit with return value "3" if a new version of the given package cannot be 2442 - Exit with return value "3" if a new version of the given package cannot be
2427 found (thanks to Silvan Calarco:silvan.calarco(a)mambasoft.it for the patch) 2443 found (thanks to Silvan Calarco:silvan.calarco(a)mambasoft.it for the patch)
2428 - Merged "autospec-1.2.2-sourceforge_fix_group_id.patch" by Silvan Calarco 2444 - Merged "autospec-1.2.2-sourceforge_fix_group_id.patch" by Silvan Calarco
2429 2445
2430 * pck-update: 2446 * pck-update:
2431 - New option "--force-update" (thanks to Silvan Calarco for the patch) 2447 - New option "--force-update" (thanks to Silvan Calarco for the patch)
2432 - Fixed a regression in the '--changelog' option (thank to Silvan again for 2448 - Fixed a regression in the '--changelog' option (thank to Silvan again for
2433 spotting this) 2449 spotting this)
2434 - Fixed openmamba bug #83 (http://bugs.openmamba.org/view.php?id=83) open by 2450 - Fixed openmamba bug #83 (http://bugs.openmamba.org/view.php?id=83) open by
2435 skiver: remote patches are not automatically downloaded 2451 skiver: remote patches are not automatically downloaded
2436 2452
2437 * Makefile: 2453 * Makefile:
2438 - Create the source tarball in the `history' folder 2454 - Create the source tarball in the `history' folder
2439 2455
2440 * i18n: 2456 * i18n:
2441 - Minor fixes 2457 - Minor fixes
2442 - Updated italian catalog 2458 - Updated italian catalog
2443 2459
2444 * documentation: 2460 * documentation:
2445 - Updated the italian man page and the document `autospec-it-HOWTO' 2461 - Updated the italian man page and the document `autospec-it-HOWTO'
2446 2462
2447 -------------------------------------------------------------------------------- 2463 --------------------------------------------------------------------------------
2448 2464
2449 Changes in version 1.3.0 2465 Changes in version 1.3.0
2450 Mon Sep 01 2008 Davide Madrisan <davide.madrisan(a)gmail.com> 2466 Mon Sep 01 2008 Davide Madrisan <davide.madrisan(a)gmail.com>
2451 2467
2452 * libspec.lib: 2468 * libspec.lib:
2453 - sourcefile.download(): display "skipped" also for remote files already 2469 - sourcefile.download(): display "skipped" also for remote files already
2454 found in the local disk (that is previously downloaded) 2470 found in the local disk (that is previously downloaded)
2455 2471
2456 * Makefile: 2472 * Makefile:
2457 - plugins are now installed with execution rights 2473 - plugins are now installed with execution rights
2458 2474
2459 * autospec: 2475 * autospec:
2460 - autospec now acts as a real front-end. The plugins are not loaded but just 2476 - autospec now acts as a real front-end. The plugins are not loaded but just
2461 executed with the correct options 2477 executed with the correct options
2462 - removed compatibility assignments for long-time obsoleted variables 2478 - removed compatibility assignments for long-time obsoleted variables
2463 - do not check for rpm: it's only used in 'pck-update' where the same check is 2479 - do not check for rpm: it's only used in 'pck-update' where the same check is
2464 already performed 2480 already performed
2465 - functions 'autospec.check_4user_config' and 'autospec.security_checks' moved 2481 - functions 'autospec.check_4user_config' and 'autospec.security_checks' moved
2466 to 'libcfg.lib' and renamed to 'config.check4user' and 'config.security' 2482 to 'libcfg.lib' and renamed to 'config.check4user' and 'config.security'
2467 2483
2468 * pck-extract: 2484 * pck-extract:
2469 - modified to work as a standalone script 2485 - modified to work as a standalone script
2470 2486
2471 * autospec.conf: 2487 * autospec.conf:
2472 - definitions for 'srpms_dir', 'rpms_dir', 'spec_dir', 'source_dir', and 2488 - definitions for 'srpms_dir', 'rpms_dir', 'spec_dir', 'source_dir', and
2473 'tmppath_dir' moved from 'autospec' to the main configuration file 2489 'tmppath_dir' moved from 'autospec' to the main configuration file
2474 2490
2475 * libcfg.lib: 2491 * libcfg.lib:
2476 - new library for loading the configuration file(s) 2492 - new library for loading the configuration file(s)
2477 2493
2478 * spec-create: 2494 * spec-create:
2479 - modified to work as a standalone script 2495 - modified to work as a standalone script
2480 2496
2481 * autobuild plugin: 2497 * autobuild plugin:
2482 - modified to work as a standalone script 2498 - modified to work as a standalone script
2483 2499
2484 * config-getvar: 2500 * config-getvar:
2485 - modified to work as a standalone script 2501 - modified to work as a standalone script
2486 2502
2487 * i18n: 2503 * i18n:
2488 - updated italian catalog 2504 - updated italian catalog
2489 2505
2490 -------------------------------------------------------------------------------- 2506 --------------------------------------------------------------------------------
2491 2507
2492 Changes in version 1.2.2 2508 Changes in version 1.2.2
2493 Fri Aug 15 2008 Davide Madrisan <davide.madrisan(a)gmail.com> 2509 Fri Aug 15 2008 Davide Madrisan <davide.madrisan(a)gmail.com>
2494 2510
2495 * pck-update 2511 * pck-update
2496 - action 5: install all the missing build requirements in a single (usually 2512 - action 5: install all the missing build requirements in a single (usually
2497 "apt-get") command to speed up the installation process 2513 "apt-get") command to speed up the installation process
2498 2514
2499 -------------------------------------------------------------------------------- 2515 --------------------------------------------------------------------------------
2500 2516
2501 Changes in version 1.2.1 2517 Changes in version 1.2.1
2502 Fri Jun 13 2008 Davide Madrisan <davide.madrisan(a)gmail.com> 2518 Fri Jun 13 2008 Davide Madrisan <davide.madrisan(a)gmail.com>
2503 2519
2504 * pck-extract 2520 * pck-extract
2505 - preserve modification times in the files extracted from an archive 2521 - preserve modification times in the files extracted from an archive
2506 2522
2507 * Makefile 2523 * Makefile
2508 - fixed variables substitution in the `.in' files ('pck_lib' instead of 2524 - fixed variables substitution in the `.in' files ('pck_lib' instead of
2509 'pck_libs'): this bug only affected the man page for autospec 2525 'pck_libs'): this bug only affected the man page for autospec
2510 2526
2511 * libspec.lib 2527 * libspec.lib
2512 - support specfiles with licenses containing one or more spaces 2528 - support specfiles with licenses containing one or more spaces
2513 (i.e. "Apache License 2.0") 2529 (i.e. "Apache License 2.0")
2514 (thanks to silvan for reporting this issue) 2530 (thanks to silvan for reporting this issue)
2515 2531
2516 * pck-update 2532 * pck-update
2517 - infofile.create: support licenses (`SPEC_LICENSE') with spaces 2533 - infofile.create: support licenses (`SPEC_LICENSE') with spaces
2518 2534
2519 -------------------------------------------------------------------------------- 2535 --------------------------------------------------------------------------------
2520 2536
2521 Changes in version 1.2.0 2537 Changes in version 1.2.0
2522 Sun May 11 2008 Davide Madrisan <davide.madrisan(a)gmail.com> 2538 Sun May 11 2008 Davide Madrisan <davide.madrisan(a)gmail.com>
2523 2539
2524 * Makefile 2540 * Makefile
2525 - plugins moved to @datadir@/autospec/plugins 2541 - plugins moved to @datadir@/autospec/plugins
2526 - add support for autospec templates 2542 - add support for autospec templates
2527 2543
2528 * autospec.conf 2544 * autospec.conf
2529 - new variable 'templatedir' 2545 - new variable 'templatedir'
2530 2546
2531 * spec-create 2547 * spec-create
2532 - new specfile tipologies: librarytool, kde3, kde4 2548 - new specfile tipologies: librarytool, kde3, kde4
2533 - update description for 'specfile.create()' 2549 - update description for 'specfile.create()'
2534 - use libspec.lib 2550 - use libspec.lib
2535 2551
2536 * templates 2552 * templates
2537 - created the following templates: 2553 - created the following templates:
2538 templates/gnome 2554 templates/gnome
2539 templates/kde3 2555 templates/kde3
2540 templates/kde4 2556 templates/kde4
2541 templates/library 2557 templates/library
2542 templates/librarytool 2558 templates/librarytool
2543 templates/perl 2559 templates/perl
2544 templates/python 2560 templates/python
2545 templates/standard 2561 templates/standard
2546 2562
2547 * tools 2563 * tools
2548 - updated email adresses 2564 - updated email adresses
2549 2565
2550 * pck-update 2566 * pck-update
2551 - action 10: fix typo (proxy user is set by 'proxy_user', not 'proxyuser') 2567 - action 10: fix typo (proxy user is set by 'proxy_user', not 'proxyuser')
2552 2568
2553 * libspec.lib 2569 * libspec.lib
2554 - new functions 'getnamefromtarball()' and 'getversionfromtarbal()' 2570 - new functions 'getnamefromtarball()' and 'getversionfromtarbal()'
2555 2571
2556 * i18n 2572 * i18n
2557 - updated italian catalog 2573 - updated italian catalog
2558 2574
2559 -------------------------------------------------------------------------------- 2575 --------------------------------------------------------------------------------
2560 2576
2561 Changes in version 1.1.9 2577 Changes in version 1.1.9
2562 Wed Jan 30 2008 Davide Madrisan <davide.madrisan(a)gmail.com> 2578 Wed Jan 30 2008 Davide Madrisan <davide.madrisan(a)gmail.com>
2563 2579
2564 * autospec.conf 2580 * autospec.conf
2565 curl_options: always use the `-R' option (curl will attempt to figure out the 2581 curl_options: always use the `-R' option (curl will attempt to figure out the
2566 timestamp of the remote file, and if that is available make the local file 2582 timestamp of the remote file, and if that is available make the local file
2567 get that same timestamp) 2583 get that same timestamp)
2568 2584
2569 * pck-update 2585 * pck-update
2570 action 6: committed patches written by silvan.calarco(a)mambasoft.it 2586 action 6: committed patches written by silvan.calarco(a)mambasoft.it
2571 - autospec-1.1.8-buildreq_ldconfig_warning.patch 2587 - autospec-1.1.8-buildreq_ldconfig_warning.patch
2572 - autospec-1.1.8-buildreq_ignore_file_requirements.patch 2588 - autospec-1.1.8-buildreq_ignore_file_requirements.patch
2573 - autospec-1.1.8-buildreq_executable.patch 2589 - autospec-1.1.8-buildreq_executable.patch
2574 2590
2575 * autospec 2591 * autospec
2576 - updated copyleft message 2592 - updated copyleft message
2577 2593
2578 * documentation 2594 * documentation
2579 - italian man page: updated copyleft message 2595 - italian man page: updated copyleft message
2580 2596
2581 -------------------------------------------------------------------------------- 2597 --------------------------------------------------------------------------------
2582 2598
2583 Changes in version 1.1.8 2599 Changes in version 1.1.8
2584 Wed Jan 30 2008 Davide Madrisan <davide.madrisan(a)gmail.com> 2600 Wed Jan 30 2008 Davide Madrisan <davide.madrisan(a)gmail.com>
2585 2601
2586 * autospec.spec 2602 * autospec.spec
2587 removed a duplicate entry in the changelog 2603 removed a duplicate entry in the changelog
2588 2604
2589 * pck-update 2605 * pck-update
2590 - action 11: fixed an issue related to the recent rpm version upgrade 2606 - action 11: fixed an issue related to the recent rpm version upgrade
2591 - action 11: added a debugging message to print the command executed while 2607 - action 11: added a debugging message to print the command executed while
2592 installing the rpm packages 2608 installing the rpm packages
2593 2609
2594 -------------------------------------------------------------------------------- 2610 --------------------------------------------------------------------------------
2595 2611
2596 Changes in version 1.1.7 2612 Changes in version 1.1.7
2597 Sat Dec 29 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2613 Sat Dec 29 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2598 2614
2599 * autospec.conf 2615 * autospec.conf
2600 new variables `rpm_macro_cmake' and `rpm_macro_makeinstall_cmake'; 2616 new variables `rpm_macro_cmake' and `rpm_macro_makeinstall_cmake';
2601 current settings: 2617 current settings:
2602 - rpm_macro_cmake="%cmake -d build" 2618 - rpm_macro_cmake="%cmake -d build"
2603 - rpm_macro_makeinstall_cmake="%makeinstall -C build" 2619 - rpm_macro_makeinstall_cmake="%makeinstall -C build"
2604 to enable by default out-of-source builds if the cmake packaging system has 2620 to enable by default out-of-source builds if the cmake packaging system has
2605 been detected; 2621 been detected;
2606 use: 2622 use:
2607 - rpm_macro_cmake="%cmake" 2623 - rpm_macro_cmake="%cmake"
2608 - rpm_macro_makeinstall_cmake="%makeinstall" 2624 - rpm_macro_makeinstall_cmake="%makeinstall"
2609 for in-source builds 2625 for in-source builds
2610 2626
2611 * spec-create 2627 * spec-create
2612 support the cmake building technology 2628 support the cmake building technology
2613 2629
2614 -------------------------------------------------------------------------------- 2630 --------------------------------------------------------------------------------
2615 2631
2616 Changes in version 1.1.6 2632 Changes in version 1.1.6
2617 Sat Dec 22 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2633 Sat Dec 22 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2618 2634
2619 * libspec.lib 2635 * libspec.lib
2620 (feature asked by Silvan Calarco: support the `dreadful' mantis.spec syntax) 2636 (feature asked by Silvan Calarco: support the `dreadful' mantis.spec syntax)
2621 - rpmvars.init: use a better regexp to catch `Name' and `Version' variables 2637 - rpmvars.init: use a better regexp to catch `Name' and `Version' variables
2622 - boolexpr.solve: print a warning message when a specfile with unsupported 2638 - boolexpr.solve: print a warning message when a specfile with unsupported
2623 syntax is detected while performing variables expansion 2639 syntax is detected while performing variables expansion
2624 - rpmvars.init: should now support expansion of variables in the quite 2640 - rpmvars.init: should now support expansion of variables in the quite
2625 generic form "string0%{?varname:%varname-string1-}string2" 2641 generic form "string0%{?varname:%varname-string1-}string2"
2626 - specfile.getvars: use a better regexp to catch `Name' and `Version' 2642 - specfile.getvars: use a better regexp to catch `Name' and `Version'
2627 - rpmvars.solve: support variables matching the generic form 2643 - rpmvars.solve: support variables matching the generic form
2628 "string0%{?varname:%varname-string1-}string2" 2644 "string0%{?varname:%varname-string1-}string2"
2629 2645
2630 -------------------------------------------------------------------------------- 2646 --------------------------------------------------------------------------------
2631 2647
2632 Changes in version 1.1.5 2648 Changes in version 1.1.5
2633 Fri Dec 14 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2649 Fri Dec 14 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2634 2650
2635 * libapse.lib 2651 * libapse.lib
2636 - fixed a bug introduced by the 1.1.4 update (thanks to Stefano Cotta Ramusino 2652 - fixed a bug introduced by the 1.1.4 update (thanks to Stefano Cotta Ramusino
2637 (aka whitone) for the patch) 2653 (aka whitone) for the patch)
2638 2654
2639 * autospec.conf 2655 * autospec.conf
2640 - arrays moved from libapse.lib to the configuration file (patch by whitone) 2656 - arrays moved from libapse.lib to the configuration file (patch by whitone)
2641 2657
2642 * spec-create 2658 * spec-create
2643 - specfile.write_setup: minor fix for package that requires "%setup -c" 2659 - specfile.write_setup: minor fix for package that requires "%setup -c"
2644 (thanks to Silvan Calarco for reporting this bug) 2660 (thanks to Silvan Calarco for reporting this bug)
2645 2661
2646 -------------------------------------------------------------------------------- 2662 --------------------------------------------------------------------------------
2647 2663
2648 Changes in version 1.1.4 2664 Changes in version 1.1.4
2649 Mon Dec 10 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2665 Mon Dec 10 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2650 2666
2651 * libapse.lib 2667 * libapse.lib
2652 - merged patch provided by Stefano Cotta Ramusino (main author of libapse) 2668 - merged patch provided by Stefano Cotta Ramusino (main author of libapse)
2653 (removed from the original patch all the api changes, for compatibility) 2669 (removed from the original patch all the api changes, for compatibility)
2654 2670
2655 * libspec.lib 2671 * libspec.lib
2656 - specfile.getvars: modified help message 2672 - specfile.getvars: modified help message
2657 2673
2658 * autospec.conf 2674 * autospec.conf
2659 - fixed some typos in the comment lines 2675 - fixed some typos in the comment lines
2660 2676
2661 * i18n 2677 * i18n
2662 - updated italian catalog (libapse: translated all strings) 2678 - updated italian catalog (libapse: translated all strings)
2663 2679
2664 -------------------------------------------------------------------------------- 2680 --------------------------------------------------------------------------------
2665 2681
2666 Changes in version 1.1.3 2682 Changes in version 1.1.3
2667 Sun Dec 02 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2683 Sun Dec 02 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2668 2684
2669 * autospec.conf 2685 * autospec.conf
2670 - added "Graphical Desktop/Applications/Security" to `rpm_allowed_groups' 2686 - added "Graphical Desktop/Applications/Security" to `rpm_allowed_groups'
2671 2687
2672 * pck-update 2688 * pck-update
2673 - action 4: do not strip out all the make commands but the last one in 2689 - action 4: do not strip out all the make commands but the last one in
2674 specfiles containing multiple occurrences of `make' in their %build 2690 specfiles containing multiple occurrences of `make' in their %build
2675 sections, when autoformatting is enabled 2691 sections, when autoformatting is enabled
2676 - action 6: do not try to be too clever, if the specfile is newer than the 2692 - action 6: do not try to be too clever, if the specfile is newer than the
2677 rpm and/or srpm packages just print a warning message 2693 rpm and/or srpm packages just print a warning message
2678 - action 2: exit from autospec unless libapse is able to found a package 2694 - action 2: exit from autospec unless libapse is able to found a package
2679 update with a release number greater than the current installed one 2695 update with a release number greater than the current installed one
2680 2696
2681 * libapse.lib 2697 * libapse.lib
2682 - apse.scrapeversion: return the following exit codes: 2698 - apse.scrapeversion: return the following exit codes:
2683 0 : package is already the latest version 2699 0 : package is already the latest version
2684 1 : a package with newer version is already installed 2700 1 : a package with newer version is already installed
2685 2 : a new version is available 2701 2 : a new version is available
2686 2702
2687 * i18n 2703 * i18n
2688 - updated italian catalog (libapse: translated all strings) 2704 - updated italian catalog (libapse: translated all strings)
2689 2705
2690 -------------------------------------------------------------------------------- 2706 --------------------------------------------------------------------------------
2691 2707
2692 Changes in version 1.1.2 2708 Changes in version 1.1.2
2693 Wed Nov 28 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2709 Wed Nov 28 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2694 2710
2695 * libspec.lib 2711 * libspec.lib
2696 - specfile.getvars: variable `var' declared as local (this function can 2712 - specfile.getvars: variable `var' declared as local (this function can
2697 be executed recursively so a global definition leads to bad side effects) 2713 be executed recursively so a global definition leads to bad side effects)
2698 - specfile.getvars: fixed the regexpr used to set `SPEC_SOURCE0_PCKNAME' when 2714 - specfile.getvars: fixed the regexpr used to set `SPEC_SOURCE0_PCKNAME' when
2699 the tarball name match the `<pck_name>_<pck_ver>' scheme 2715 the tarball name match the `<pck_name>_<pck_ver>' scheme
2700 2716
2701 * config-getvar 2717 * config-getvar
2702 - support variables in the form 2718 - support variables in the form
2703 varname=\" 2719 varname=\"
2704 ... 2720 ...
2705 ..." 2721 ..."
2706 - print a bug message when a variable structure does not match any known 2722 - print a bug message when a variable structure does not match any known
2707 pattern 2723 pattern
2708 2724
2709 * autospec.conf 2725 * autospec.conf
2710 - updated `format_extra_rules' to automatically format old perl specfiles 2726 - updated `format_extra_rules' to automatically format old perl specfiles
2711 with the last coded scheme 2727 with the last coded scheme
2712 - `format_description_width' by default set to `0' (unlimited length for 2728 - `format_description_width' by default set to `0' (unlimited length for
2713 description lines) 2729 description lines)
2714 2730
2715 * autospec.spec 2731 * autospec.spec
2716 - updated package description in english 2732 - updated package description in english
2717 2733
2718 * documentation 2734 * documentation
2719 - italian man page: minor changes 2735 - italian man page: minor changes
2720 2736
2721 -------------------------------------------------------------------------------- 2737 --------------------------------------------------------------------------------
2722 2738
2723 Changes in version 1.1.1 2739 Changes in version 1.1.1
2724 Mon Nov 26 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2740 Mon Nov 26 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2725 2741
2726 * pck-update 2742 * pck-update
2727 - action 6: merged changes made by silvan.calarco(a)mambasoft.it 2743 - action 6: merged changes made by silvan.calarco(a)mambasoft.it
2728 - action 11: just print a warning message (instead of an error) when too many 2744 - action 11: just print a warning message (instead of an error) when too many
2729 srpm candidates are found in the repositories if `--force' is used 2745 srpm candidates are found in the repositories if `--force' is used
2730 2746
2731 * autospec.spec 2747 * autospec.spec
2732 - add requirement for ftp 2748 - add requirement for ftp
2733 (thanks again to silvan.calarco(a)mambasoft.it for reporting the problem) 2749 (thanks again to silvan.calarco(a)mambasoft.it for reporting the problem)
2734 2750
2735 -------------------------------------------------------------------------------- 2751 --------------------------------------------------------------------------------
2736 2752
2737 Changes in version 1.1.0 2753 Changes in version 1.1.0
2738 Tue Nov 20 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2754 Tue Nov 20 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2739 2755
2740 * pck-update 2756 * pck-update
2741 - action 6: merged the `find_buildrequirements' script written by 2757 - action 6: merged the `find_buildrequirements' script written by
2742 silvan.calarco(a)mambasoft.it 2758 silvan.calarco(a)mambasoft.it
2743 - if the specfile has been modified, force rebuild of rpm and srpm packages 2759 - if the specfile has been modified, force rebuild of rpm and srpm packages
2744 2760
2745 * spec-create 2761 * spec-create
2746 - fixed a regression bug: do not always insert the line 2762 - fixed a regression bug: do not always insert the line
2747 PreReq: /sbin/install-info 2763 PreReq: /sbin/install-info
2748 while creating a specfile preamble 2764 while creating a specfile preamble
2749 (thanks to silvan.calarco(a)mambasoft.it for reporting the problem) 2765 (thanks to silvan.calarco(a)mambasoft.it for reporting the problem)
2750 2766
2751 * autospec 2767 * autospec
2752 - document the new action 6 feature in `autospec.usage()' 2768 - document the new action 6 feature in `autospec.usage()'
2753 2769
2754 * i18n 2770 * i18n
2755 - updated italian catalog 2771 - updated italian catalog
2756 2772
2757 * documentation 2773 * documentation
2758 - italian man page, AUTHORS, and autospec-it-HOWTO updated 2774 - italian man page, AUTHORS, and autospec-it-HOWTO updated
2759 2775
2760 -------------------------------------------------------------------------------- 2776 --------------------------------------------------------------------------------
2761 2777
2762 Changes in version 1.0.2 2778 Changes in version 1.0.2
2763 Tue Nov 13 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2779 Tue Nov 13 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2764 2780
2765 * pck-update 2781 * pck-update
2766 - add debug code when removing remote files using curl 2782 - add debug code when removing remote files using curl
2767 - test 12 (action 8) is now correctly numbered as test 12 instead of test 11 2783 - test 12 (action 8) is now correctly numbered as test 12 instead of test 11
2768 - new test: check if a package that do not contains binaries is tagged `noarch' 2784 - new test: check if a package that do not contains binaries is tagged `noarch'
2769 - if the rpm packages are rebuilt force the repackaging of the srpm package too 2785 - if the rpm packages are rebuilt force the repackaging of the srpm package too
2770 (thanks to silvan.calarco(a)mambasoft.it for reporting the problem) 2786 (thanks to silvan.calarco(a)mambasoft.it for reporting the problem)
2771 2787
2772 * spec-create 2788 * spec-create
2773 - better support for perl modules using the more recent `Module::Build' 2789 - better support for perl modules using the more recent `Module::Build'
2774 building, testing, and installing system 2790 building, testing, and installing system
2775 - do not insert an extra space character when formatting the preamble of a 2791 - do not insert an extra space character when formatting the preamble of a
2776 newly created specfile 2792 newly created specfile
2777 - new default `spec_source' for perl packages: 2793 - new default `spec_source' for perl packages:
2778 http://www.cpan.org/modules/by-module/.../$pck_tarball_4spec" 2794 http://www.cpan.org/modules/by-module/.../$pck_tarball_4spec"
2779 - try to automagically complete the package source of perl module 2795 - try to automagically complete the package source of perl module
2780 2796
2781 * configuration file 2797 * configuration file
2782 - new variable `perl_License_default' unset by default 2798 - new variable `perl_License_default' unset by default
2783 2799
2784 * documentation 2800 * documentation
2785 - italian man page: updated and improved 2801 - italian man page: updated and improved
2786 - BUGS: updated 2802 - BUGS: updated
2787 2803
2788 -------------------------------------------------------------------------------- 2804 --------------------------------------------------------------------------------
2789 2805
2790 Changes in version 1.0.1 2806 Changes in version 1.0.1
2791 Fri Oct 26 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2807 Fri Oct 26 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2792 2808
2793 * autospec.spec 2809 * autospec.spec
2794 - do not truncate lines in the package description 2810 - do not truncate lines in the package description
2795 - do not use the %makeinstall macro for compatibility with other distros 2811 - do not use the %makeinstall macro for compatibility with other distros
2796 2812
2797 * pck-update 2813 * pck-update
2798 - repository.get_RPMS_name(): use a better regexpr for parsing the list of 2814 - repository.get_RPMS_name(): use a better regexpr for parsing the list of
2799 files found in a repository 2815 files found in a repository
2800 2816
2801 * configuration file 2817 * configuration file
2802 - update `allowed_libdirs': fixed entry for kde3 libs; support kde4 2818 - update `allowed_libdirs': fixed entry for kde3 libs; support kde4
2803 2819
2804 * documentation 2820 * documentation
2805 - updated autospec-it-HOWTO (formerly known as `rpm4QiLinux-it-HOWTO') 2821 - updated autospec-it-HOWTO (formerly known as `rpm4QiLinux-it-HOWTO')
2806 2822
2807 -------------------------------------------------------------------------------- 2823 --------------------------------------------------------------------------------
2808 2824
2809 2825
2810 Changes in version 1.0 2826 Changes in version 1.0
2811 Wed Sep 26 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2827 Wed Sep 26 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2812 2828
2813 * autospec 2829 * autospec
2814 - allow execution of the `pck-extract' and `spec-create' plugins by root 2830 - allow execution of the `pck-extract' and `spec-create' plugins by root
2815 - do not require a valid `/root/.autospec' file when running `pck-extract' 2831 - do not require a valid `/root/.autospec' file when running `pck-extract'
2816 and `spec-create' plugins by root 2832 and `spec-create' plugins by root
2817 2833
2818 * pck-update 2834 * pck-update
2819 - repository.is_reachable(): remove protocol prefix (http:// ftp://) before 2835 - repository.is_reachable(): remove protocol prefix (http:// ftp://) before
2820 checking server dns reachability (thanks to silvan.calarco(a)mambasoft.it 2836 checking server dns reachability (thanks to silvan.calarco(a)mambasoft.it
2821 for providing the patch) 2837 for providing the patch)
2822 - fixed warning message about deprecated options `-u -a6' 2838 - fixed warning message about deprecated options `-u -a6'
2823 2839
2824 * spec-create 2840 * spec-create
2825 - do not reject *.tbz2 file archives 2841 - do not reject *.tbz2 file archives
2826 (thanks again to silvan.calarco(a)mambasoft.it for reporting the problem) 2842 (thanks again to silvan.calarco(a)mambasoft.it for reporting the problem)
2827 2843
2828 * i18n 2844 * i18n
2829 - updated english and italian catalogs 2845 - updated english and italian catalogs
2830 2846
2831 -------------------------------------------------------------------------------- 2847 --------------------------------------------------------------------------------
2832 2848
2833 Changes in version 0.9.99 2849 Changes in version 0.9.99
2834 Tue Sep 04 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2850 Tue Sep 04 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2835 2851
2836 * pck-update 2852 * pck-update
2837 - if `arch_list[]' is unset do not report it's a program bug, just say that 2853 - if `arch_list[]' is unset do not report it's a program bug, just say that
2838 the variable is unset - probably because of a buggy user configuration 2854 the variable is unset - probably because of a buggy user configuration
2839 file (reported by Stefano Cotta Ramusino <stefano.cotta(a)openmamba.org>) 2855 file (reported by Stefano Cotta Ramusino <stefano.cotta(a)openmamba.org>)
2840 - updated copyright informations 2856 - updated copyright informations
2841 - update 2: moved almost all the code to `libapse.lib:apse.find4updates()' 2857 - update 2: moved almost all the code to `libapse.lib:apse.find4updates()'
2842 - fixed some issues related to the new openmamba web infrastructure 2858 - fixed some issues related to the new openmamba web infrastructure
2843 - update 10: do not display any html output when uploading packages with curl 2859 - update 10: do not display any html output when uploading packages with curl
2844 2860
2845 * libspec.lib 2861 * libspec.lib
2846 - `SPEC_SOURCE0_NAME' renamed to `SPEC_SOURCE0_PCKNAME' 2862 - `SPEC_SOURCE0_NAME' renamed to `SPEC_SOURCE0_PCKNAME'
2847 2863
2848 * libapse.lib 2864 * libapse.lib
2849 - new function `apse.scrapeversion()' 2865 - new function `apse.scrapeversion()'
2850 - apse.scrapeversion: all internal variables are now declared local 2866 - apse.scrapeversion: all internal variables are now declared local
2851 - apse.scrapeversion: detect network problems when calling curl 2867 - apse.scrapeversion: detect network problems when calling curl
2852 - apse.scrapeversion: code reworked to make it more robust in case of errors 2868 - apse.scrapeversion: code reworked to make it more robust in case of errors
2853 - apse.scrapeversion: set `APSE_LAST_VERSION' with the last available version 2869 - apse.scrapeversion: set `APSE_LAST_VERSION' with the last available version
2854 found on the web 2870 found on the web
2855 - apse.scrapeversion: do not modify the global variable `pck_newver' to avoid 2871 - apse.scrapeversion: do not modify the global variable `pck_newver' to avoid
2856 side effects 2872 side effects
2857 - apse.scrapeversion: code cleanup 2873 - apse.scrapeversion: code cleanup
2858 2874
2859 * configuration file 2875 * configuration file
2860 - add some documentation for `--limit-rate' in `curl_opts_netlink' 2876 - add some documentation for `--limit-rate' in `curl_opts_netlink'
2861 - modified the default settings for `ftp_rw_server', `ftp_rw_rpms_dir', and 2877 - modified the default settings for `ftp_rw_server', `ftp_rw_rpms_dir', and
2862 `ftp_rw_srpms_dir' to reflect the new openmamba web infrastructure 2878 `ftp_rw_srpms_dir' to reflect the new openmamba web infrastructure
2863 2879
2864 * rpm4QiLinux-it-HOWTO 2880 * rpm4QiLinux-it-HOWTO
2865 - updated email address 2881 - updated email address
2866 2882
2867 * i18n 2883 * i18n
2868 - updated english and italian catalogs 2884 - updated english and italian catalogs
2869 - minor fixes 2885 - minor fixes
2870 2886
2871 -------------------------------------------------------------------------------- 2887 --------------------------------------------------------------------------------
2872 2888
2873 Changes in version 0.9.98 2889 Changes in version 0.9.98
2874 Wed Jun 06 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2890 Wed Jun 06 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2875 2891
2876 * pck-update 2892 * pck-update
2877 - do not display usernames and passwords in the debug messages unless 2893 - do not display usernames and passwords in the debug messages unless
2878 `debug_print_private_user_infos' is set (hardcoded) to `1' 2894 `debug_print_private_user_infos' is set (hardcoded) to `1'
2879 - merged another patch provided by whitone(a)gmail.com which fix some issues 2895 - merged another patch provided by whitone(a)gmail.com which fix some issues
2880 in the engine used to look for package updates on the web 2896 in the engine used to look for package updates on the web
2881 - `repository.get_SRPMS_name()', `repository.get_RPMS_name()': enable url 2897 - `repository.get_SRPMS_name()', `repository.get_RPMS_name()': enable url
2882 redirection in all the calls to curl 2898 redirection in all the calls to curl
2883 (thanks to silvan.calarco(a)mambasoft.it for reporting the problem) 2899 (thanks to silvan.calarco(a)mambasoft.it for reporting the problem)
2884 - `repository.get_SRPMS_name()', `repository.get_RPMS_name()': use a better 2900 - `repository.get_SRPMS_name()', `repository.get_RPMS_name()': use a better
2885 regexpr for parsing the list of files found in a repository 2901 regexpr for parsing the list of files found in a repository
2886 - the backup of old packages should now work again 2902 - the backup of old packages should now work again
2887 (this issue was reported by silvan.calarco(a)mambasoft.it) 2903 (this issue was reported by silvan.calarco(a)mambasoft.it)
2888 2904
2889 * spec-create 2905 * spec-create
2890 - write './Build install destdir=\"%{buildroot}\"' instead of 'DESTDIR=..' 2906 - write './Build install destdir=\"%{buildroot}\"' instead of 'DESTDIR=..'
2891 (problem reported by silvan.calarco(a)mambasoft.it) 2907 (problem reported by silvan.calarco(a)mambasoft.it)
2892 2908
2893 * libspec.lib 2909 * libspec.lib
2894 - specfile.getvars: partial support for `%ifnarch' 2910 - specfile.getvars: partial support for `%ifnarch'
2895 - specfile.getvars(): new query `SPEC_SOURCE0_NAME' available 2911 - specfile.getvars(): new query `SPEC_SOURCE0_NAME' available
2896 - sourcefile.download(): added the necessary options to support a proxy 2912 - sourcefile.download(): added the necessary options to support a proxy
2897 server (`--proxy', `proxy-user') 2913 server (`--proxy', `proxy-user')
2898 2914
2899 * libapse.lib 2915 * libapse.lib
2900 new library "Autospec Package Search Engine (APSE)" with `cmpversion' 2916 new library "Autospec Package Search Engine (APSE)" with `cmpversion'
2901 function written by Stefano Cotta Ramusino <stefano.cotta(a)openmamba.org> 2917 function written by Stefano Cotta Ramusino <stefano.cotta(a)openmamba.org>
2902 2918
2903 * configuration file 2919 * configuration file
2904 - updated list of osi-approved licenses (patch by whitone(a)gmail.com) 2920 - updated list of osi-approved licenses (patch by whitone(a)gmail.com)
2905 - new variable `curl_opts_netlink' used to set connection timeout and number 2921 - new variable `curl_opts_netlink' used to set connection timeout and number
2906 of retries for curl when downloading files 2922 of retries for curl when downloading files
2907 2923
2908 * i18n 2924 * i18n
2909 - updated english and italian catalogs 2925 - updated english and italian catalogs
2910 2926
2911 -------------------------------------------------------------------------------- 2927 --------------------------------------------------------------------------------
2912 2928
2913 Changes in version 0.9.97 2929 Changes in version 0.9.97
2914 Sat May 05 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2930 Sat May 05 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2915 2931
2916 * autospec 2932 * autospec
2917 - removed default setting for `format_unix_tools' 2933 - removed default setting for `format_unix_tools'
2918 - removed default setting for the unused variable `format_extrarules' 2934 - removed default setting for the unused variable `format_extrarules'
2919 - removed default setting for the obsolete variable `description_width' 2935 - removed default setting for the obsolete variable `description_width'
2920 2936
2921 * pck-update 2937 * pck-update
2922 - repository.get_SRPMS_name(): new options '--urllist' 2938 - repository.get_SRPMS_name(): new options '--urllist'
2923 - repository.get_SRPMS_name(): the options '--server' is now called '--urlnum' 2939 - repository.get_SRPMS_name(): the options '--server' is now called '--urlnum'
2924 - repository.is_reachable(): fixed wrong check for nonvoid arg#1 2940 - repository.is_reachable(): fixed wrong check for nonvoid arg#1
2925 - when uploading packages do not report that a repository with no read-write 2941 - when uploading packages do not report that a repository with no read-write
2926 access is unreacheable, just tell it is unreachable.. 2942 access is unreacheable, just tell it is unreachable..
2927 - repository.get_RPMS_name(): new option '--archlist' 2943 - repository.get_RPMS_name(): new option '--archlist'
2928 2944
2929 * spec-create 2945 * spec-create
2930 - initialize the variable `perl_Makefile_generator' if unset 2946 - initialize the variable `perl_Makefile_generator' if unset
2931 2947
2932 * libspec.lib 2948 * libspec.lib
2933 - honour command line LANG setting 2949 - honour command line LANG setting
2934 - updated copyright info 2950 - updated copyright info
2935 2951
2936 * configuration file 2952 * configuration file
2937 - `arch_list' and `arch_noarch_upload' are now vectors because the branches 2953 - `arch_list' and `arch_noarch_upload' are now vectors because the branches
2938 defined in the configuration file could support different architectures 2954 defined in the configuration file could support different architectures
2939 2955
2940 -------------------------------------------------------------------------------- 2956 --------------------------------------------------------------------------------
2941 2957
2942 Changes in version 0.9.96 2958 Changes in version 0.9.96
2943 Tue Apr 24 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2959 Tue Apr 24 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2944 2960
2945 * configuration file 2961 * configuration file
2946 - new default values for `ftpurl_ro_rpms[]', `ftpurl_ro_srpms[]', and 2962 - new default values for `ftpurl_ro_rpms[]', `ftpurl_ro_srpms[]', and
2947 `ftp_rw_*[]' to match the tree of the openmamba repository 2963 `ftp_rw_*[]' to match the tree of the openmamba repository
2948 - removed `System/Configuration/QiLinux' from the list of the allowed package 2964 - removed `System/Configuration/QiLinux' from the list of the allowed package
2949 groups (`rpm_allowed_groups[]') 2965 groups (`rpm_allowed_groups[]')
2950 - updated the list of the approved licenses (thanks to whitone(a)gmail.com 2966 - updated the list of the approved licenses (thanks to whitone(a)gmail.com
2951 for providing the patch) 2967 for providing the patch)
2952 2968
2953 * pck-update 2969 * pck-update
2954 - modified `changelog_new' string (trailing string "by autospec" removed) 2970 - modified `changelog_new' string (trailing string "by autospec" removed)
2955 - `sourceforge.net' is now also scanned while finding for available packages 2971 - `sourceforge.net' is now also scanned while finding for available packages
2956 over the web (patch provided by whitone(a)gmail.com) 2972 over the web (patch provided by whitone(a)gmail.com)
2957 - fixed paths used when uploading files to the openmamba repositories (thanks 2973 - fixed paths used when uploading files to the openmamba repositories (thanks
2958 again to whitone(a)gmail.com for reporting the problem and sending a patch) 2974 again to whitone(a)gmail.com for reporting the problem and sending a patch)
2959 2975
2960 -------------------------------------------------------------------------------- 2976 --------------------------------------------------------------------------------
2961 2977
2962 Changes in version 0.9.95 2978 Changes in version 0.9.95
2963 Tue Mar 27 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 2979 Tue Mar 27 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2964 2980
2965 * Makefile 2981 * Makefile
2966 - updated copyright info 2982 - updated copyright info
2967 2983
2968 * configuration file 2984 * configuration file
2969 - new default value for DISTRO: "openmamba" 2985 - new default value for DISTRO: "openmamba"
2970 - new default value for VENDOR: "openmamba" 2986 - new default value for VENDOR: "openmamba"
2971 - new default value for DISTRO_rpm: "mamba" 2987 - new default value for DISTRO_rpm: "mamba"
2972 2988
2973 - spec-create 2989 - spec-create
2974 - updated copyright info 2990 - updated copyright info
2975 2991
2976 * pck-update 2992 * pck-update
2977 - function `specfile.newrelease': code and regexpr's modified to support the 2993 - function `specfile.newrelease': code and regexpr's modified to support the
2978 upgrade of packages when switching between two different linux distributions 2994 upgrade of packages when switching between two different linux distributions
2979 (that is a package upgrade where the source and destination specfiles will 2995 (that is a package upgrade where the source and destination specfiles will
2980 have different 'DISTRO_rpm' entries) 2996 have different 'DISTRO_rpm' entries)
2981 2997
2982 * documentation 2998 * documentation
2983 - rpm4QiLinux-it-HOWTO: UTF8 fixes; synchronized with previous release 2999 - rpm4QiLinux-it-HOWTO: UTF8 fixes; synchronized with previous release
2984 3000
2985 -------------------------------------------------------------------------------- 3001 --------------------------------------------------------------------------------
2986 3002
2987 Changes in version 0.9.94 3003 Changes in version 0.9.94
2988 Thu Mar 01 2007 Davide Madrisan <davide.madrisan(a)gmail.com> 3004 Thu Mar 01 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
2989 3005
2990 * pck-update 3006 * pck-update
2991 - check for desktop files installed in `/usr/share/applnk/' (that is the 3007 - check for desktop files installed in `/usr/share/applnk/' (that is the
2992 non-standard location used by kde in the old times) 3008 non-standard location used by kde in the old times)
2993 - remove (again) the trailing `.spec' string from the package name if any 3009 - remove (again) the trailing `.spec' string from the package name if any
2994 - fixed the regular expression used when updating the `Release' and `Version' 3010 - fixed the regular expression used when updating the `Release' and `Version'
2995 entries (this fixes a bug reported by silvan.calarco(a)mambasoft.it) 3011 entries (this fixes a bug reported by silvan.calarco(a)mambasoft.it)
2996 - the elements of `SPEC_BUILDREQUIRES' in the info file need to be quoted 3012 - the elements of `SPEC_BUILDREQUIRES' in the info file need to be quoted
2997 (now the package `perl-MIME-tools' which contains a build requirement for 3013 (now the package `perl-MIME-tools' which contains a build requirement for
2998 `perl(MIME::Base64)' can be updated whitout errors; this issue was reported 3014 `perl(MIME::Base64)' can be updated whitout errors; this issue was reported
2999 by silvan.calarco(a)mambasoft.it) 3015 by silvan.calarco(a)mambasoft.it)
3000 3016
3001 * autospec 3017 * autospec
3002 - updated copyleft message 3018 - updated copyleft message
3003 3019
3004 * i18n 3020 * i18n
3005 - updated english and italian catalogs 3021 - updated english and italian catalogs
3006 3022
3007 -------------------------------------------------------------------------------- 3023 --------------------------------------------------------------------------------
3008 3024
3009 Changes in version 0.9.93 3025 Changes in version 0.9.93
3010 Fri Feb 09 2007 Davide Madrisan <davide.madrisan(a)qilinux.it> 3026 Fri Feb 09 2007 Davide Madrisan <davide.madrisan(a)qilinux.it>
3011 3027
3012 * libspec 3028 * libspec
3013 - sourcefile.download(): added '--force' option to force file download, even 3029 - sourcefile.download(): added '--force' option to force file download, even
3014 if a local file with the same name has been found 3030 if a local file with the same name has been found
3015 - sourcefile.download(): do not download remote files if forcing is unset 3031 - sourcefile.download(): do not download remote files if forcing is unset
3016 (thanks to silvan.calarco(a)mambasoft.it for reporting this issue) 3032 (thanks to silvan.calarco(a)mambasoft.it for reporting this issue)
3017 3033
3018 * pck-update 3034 * pck-update
3019 - update code used to append multiline changelog entries in the specfiles; 3035 - update code used to append multiline changelog entries in the specfiles;
3020 was affected by a strange bug apparently caused by a bash version upgrade 3036 was affected by a strange bug apparently caused by a bash version upgrade
3021 (thanks again to silvan.calarco(a)mambasoft.it for reporting the problem) 3037 (thanks again to silvan.calarco(a)mambasoft.it for reporting the problem)
3022 3038
3023 * configuration file 3039 * configuration file
3024 - do not set `python_module_name_structure' by default 3040 - do not set `python_module_name_structure' by default
3025 3041
3026 -------------------------------------------------------------------------------- 3042 --------------------------------------------------------------------------------
3027 3043
3028 Changes in version 0.9.92 3044 Changes in version 0.9.92
3029 Thu Gen 09 2007 Davide Madrisan <davide.madrisan(a)qilinux.it> 3045 Thu Gen 09 2007 Davide Madrisan <davide.madrisan(a)qilinux.it>
3030 3046
3031 * configuration file 3047 * configuration file
3032 - added the `/usr/lib/qt4/lib' path to the variable `allowed_libdirs' 3048 - added the `/usr/lib/qt4/lib' path to the variable `allowed_libdirs'
3033 - default settings for 3049 - default settings for
3034 . summary_defvalue 3050 . summary_defvalue
3035 . group_defvalue 3051 . group_defvalue
3036 . url_defvalue 3052 . url_defvalue
3037 . license_defvalue 3053 . license_defvalue
3038 . description_defval, description_devel_defval 3054 . description_defval, description_devel_defval
3039 . changelog_[samever,rebuild]_defvalue, changelog_userdef 3055 . changelog_[samever,rebuild]_defvalue, changelog_userdef
3040 moved from the autospec script to the configuration file (code cleanup) 3056 moved from the autospec script to the configuration file (code cleanup)
3041 - new entry in rpm_allowed_groups[]: 'System/Hardware' 3057 - new entry in rpm_allowed_groups[]: 'System/Hardware'
3042 3058
3043 * config-getvar 3059 * config-getvar
3044 - new plugin created from code by the autospec script (code cleanup). 3060 - new plugin created from code by the autospec script (code cleanup).
3045 This plugin implements the `--eval' option provided by autospec 3061 This plugin implements the `--eval' option provided by autospec
3046 3062
3047 * autospec 3063 * autospec
3048 - do really check for plugins availability 3064 - do really check for plugins availability
3049 - be paranoid when loading plugins using bash variables 3065 - be paranoid when loading plugins using bash variables
3050 - updated copyright info 3066 - updated copyright info
3051 3067
3052 * pck-extract 3068 * pck-extract
3053 - added support for `nosrc' packages 3069 - added support for `nosrc' packages
3054 - updated copyright info 3070 - updated copyright info
3055 3071
3056 * pck-update 3072 * pck-update
3057 - do not always say that the installation of the given packages is forced, 3073 - do not always say that the installation of the given packages is forced,
3058 just print the message in the case 3074 just print the message in the case
3059 - updated copyright info 3075 - updated copyright info
3060 - action `0': http sites are now correctly handled 3076 - action `0': http sites are now correctly handled
3061 3077
3062 * i18n 3078 * i18n
3063 - updated english and italian catalogs 3079 - updated english and italian catalogs
3064 3080
3065 -------------------------------------------------------------------------------- 3081 --------------------------------------------------------------------------------
3066 3082
3067 Changes in version 0.9.91 3083 Changes in version 0.9.91
3068 Thu Gen 09 2007 Davide Madrisan <davide.madrisan(a)qilinux.it> 3084 Thu Gen 09 2007 Davide Madrisan <davide.madrisan(a)qilinux.it>
3069 3085
3070 * configuration file 3086 * configuration file
3071 - added the architectures "arm" and "x86_64" to the default configuration 3087 - added the architectures "arm" and "x86_64" to the default configuration
3072 (asked by silvan.calarco(a)mambasoft.it) 3088 (asked by silvan.calarco(a)mambasoft.it)
3073 3089
3074 * libspec 3090 * libspec
3075 - fixed expansion of define directives that refer to other define directives 3091 - fixed expansion of define directives that refer to other define directives
3076 ex. %define gnomever %(echo `rpm -q --queryformat '%{VERSION}' libglib`) 3092 ex. %define gnomever %(echo `rpm -q --queryformat '%{VERSION}' libglib`)
3077 %define gnomemajver %(echo %gnomever | cut -d. -f 1-2) 3093 %define gnomemajver %(echo %gnomever | cut -d. -f 1-2)
3078 - updated copyright info 3094 - updated copyright info
3079 3095
3080 * pck-update 3096 * pck-update
3081 - do not check for uninstalled build requirements and source files if nor 3097 - do not check for uninstalled build requirements and source files if nor
3082 the srpm not the rpm packages need to be built 3098 the srpm not the rpm packages need to be built
3083 - updated copyright info 3099 - updated copyright info
3084 3100
3085 -------------------------------------------------------------------------------- 3101 --------------------------------------------------------------------------------
3086 3102
3087 Changes in version 0.9.90 3103 Changes in version 0.9.90
3088 Thu Dec 21 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3104 Thu Dec 21 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3089 3105
3090 * pck-update 3106 * pck-update
3091 - use the curl tool instead of an ftp command when uploading rpm/srpm files 3107 - use the curl tool instead of an ftp command when uploading rpm/srpm files
3092 - added a timeout to curl when uploading files 3108 - added a timeout to curl when uploading files
3093 - fixed some issues for connections trough a proxy server when uploading 3109 - fixed some issues for connections trough a proxy server when uploading
3094 packages and installing the build requirements 3110 packages and installing the build requirements
3095 3111
3096 * documentation 3112 * documentation
3097 - rpm4QiLinux-it-HOWTO: updated 3113 - rpm4QiLinux-it-HOWTO: updated
3098 3114
3099 -------------------------------------------------------------------------------- 3115 --------------------------------------------------------------------------------
3100 3116
3101 Changes in version 0.9.15 3117 Changes in version 0.9.15
3102 Wed Dec 12 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3118 Wed Dec 12 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3103 3119
3104 * autospec.conf 3120 * autospec.conf
3105 - new options `proxy' and `proxy_user' for connections trough a proxy server 3121 - new options `proxy' and `proxy_user' for connections trough a proxy server
3106 3122
3107 * libspec 3123 * libspec
3108 - fixed copyright printed by `specfile.getvars()' 3124 - fixed copyright printed by `specfile.getvars()'
3109 - added proxy support 3125 - added proxy support
3110 3126
3111 * autospec 3127 * autospec
3112 - added proxy support 3128 - added proxy support
3113 3129
3114 * pck-extract 3130 * pck-extract
3115 - added proxy support 3131 - added proxy support
3116 3132
3117 * pck-update 3133 * pck-update
3118 - added proxy support 3134 - added proxy support
3119 - integrated and reworked the Autospec Package Search Engine (APSE) code 3135 - integrated and reworked the Autospec Package Search Engine (APSE) code
3120 developed by Stefano Cotta aka whitone (stefano.cotta(a)qilinux.it); 3136 developed by Stefano Cotta aka whitone (stefano.cotta(a)qilinux.it);
3121 now autospec can automatically search for updates looking at 3137 now autospec can automatically search for updates looking at
3122 . http://fileforum.betanews.com/ 3138 . http://fileforum.betanews.com/
3123 . http://linux.softpedia.com/ 3139 . http://linux.softpedia.com/
3124 . http://www.gnomefiles.org/ 3140 . http://www.gnomefiles.org/
3125 . http://freshmeat.net/ 3141 . http://freshmeat.net/
3126 ! 3142 !
3127 - added proxy support and debug infos to APSE 3143 - added proxy support and debug infos to APSE
3128 3144
3129 * spec-create 3145 * spec-create
3130 - added proxy support 3146 - added proxy support
3131 3147
3132 * i18n 3148 * i18n
3133 - updated english and italian catalogs 3149 - updated english and italian catalogs
3134 3150
3135 -------------------------------------------------------------------------------- 3151 --------------------------------------------------------------------------------
3136 3152
3137 Changes in version 0.9.14 3153 Changes in version 0.9.14
3138 Mon Nov 29 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3154 Mon Nov 29 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3139 3155
3140 * pck-update plugin 3156 * pck-update plugin
3141 - display a warning message if `LD_LIBRARY_PATH' is defined when building a 3157 - display a warning message if `LD_LIBRARY_PATH' is defined when building a
3142 package (security/functionality check) 3158 package (security/functionality check)
3143 - the test that checks for the presence of the install/uninstall code for 3159 - the test that checks for the presence of the install/uninstall code for
3144 info pages has been improved, at least for LSB compliant systems 3160 info pages has been improved, at least for LSB compliant systems
3145 (thanks to "whitone" (stefano.cotta(a)qilinux.it) for providing a patch) 3161 (thanks to "whitone" (stefano.cotta(a)qilinux.it) for providing a patch)
3146 3162
3147 * spec-create plugin 3163 * spec-create plugin
3148 - do not require the uncompress utility because it is now obsolete and some 3164 - do not require the uncompress utility because it is now obsolete and some
3149 distros do not provides it; just display an error message if a .Z file is 3165 distros do not provides it; just display an error message if a .Z file is
3150 found and the uncomress utility is not installed 3166 found and the uncomress utility is not installed
3151 3167
3152 * autospec 3168 * autospec
3153 - some portability fixes 3169 - some portability fixes
3154 - do not perform the checks related to the `packager_group' group variable 3170 - do not perform the checks related to the `packager_group' group variable
3155 when is unset 3171 when is unset
3156 - new option `--ignore-test': it's now possibile to tell autospec to skip a 3172 - new option `--ignore-test': it's now possibile to tell autospec to skip a
3157 given list of tests (i.e. --ignore-test=5,6) 3173 given list of tests (i.e. --ignore-test=5,6)
3158 3174
3159 * autospec.spec 3175 * autospec.spec
3160 - ncompress tool removed from the list of static requirements 3176 - ncompress tool removed from the list of static requirements
3161 - /bin/mktemp is now required instead of /usr/bin/mktemp for portability 3177 - /bin/mktemp is now required instead of /usr/bin/mktemp for portability
3162 3178
3163 * i18n 3179 * i18n
3164 - updated english and italian catalogs 3180 - updated english and italian catalogs
3165 3181
3166 * documentation 3182 * documentation
3167 - rpm4QiLinux-it-HOWTO: updated 3183 - rpm4QiLinux-it-HOWTO: updated
3168 - italian manpage: in sync with the autospec help 3184 - italian manpage: in sync with the autospec help
3169 3185
3170 -------------------------------------------------------------------------------- 3186 --------------------------------------------------------------------------------
3171 3187
3172 Changes in version 0.9.13 3188 Changes in version 0.9.13
3173 Mon Nov 06 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3189 Mon Nov 06 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3174 3190
3175 * autospec.conf 3191 * autospec.conf
3176 - new entry 'System/Clustering' for 'rpm_allowed_groups[]' 3192 - new entry 'System/Clustering' for 'rpm_allowed_groups[]'
3177 - new option '-T/--target' available in the 'autobuild' plugin 3193 - new option '-T/--target' available in the 'autobuild' plugin
3178 3194
3179 * pck-update plugin 3195 * pck-update plugin
3180 - minor typo fixes in some error messages 3196 - minor typo fixes in some error messages
3181 - when listing the available versions of a given package found in the 3197 - when listing the available versions of a given package found in the
3182 repositories (--action=0), the server number is now also displayed 3198 repositories (--action=0), the server number is now also displayed
3183 3199
3184 * libspec.lib 3200 * libspec.lib
3185 - expand all the rpm variables found in the build requirements, not only 3201 - expand all the rpm variables found in the build requirements, not only
3186 the variables at the very begin of the name 3202 the variables at the very begin of the name
3187 (thanks to silvan.calarco(a)mambasoft.it for reporting this issue) 3203 (thanks to silvan.calarco(a)mambasoft.it for reporting this issue)
3188 3204
3189 * autobuild plugin 3205 * autobuild plugin
3190 - several bug fixes 3206 - several bug fixes
3191 - better error messages printed when parsing problems are detected 3207 - better error messages printed when parsing problems are detected
3192 3208
3193 * configuration file 3209 * configuration file
3194 - new configuration variable 'python_install_lib_path' with default value 3210 - new configuration variable 'python_install_lib_path' with default value
3195 '%{python_sitearch}' 3211 '%{python_sitearch}'
3196 3212
3197 * i18n 3213 * i18n
3198 - updated english and italian strings 3214 - updated english and italian strings
3199 3215
3200 * documentation 3216 * documentation
3201 - rpm4QiLinux-it-HOWTO: updated 3217 - rpm4QiLinux-it-HOWTO: updated
3202 - italian manpage: documented the new option '--target' for autobuild 3218 - italian manpage: documented the new option '--target' for autobuild
3203 3219
3204 -------------------------------------------------------------------------------- 3220 --------------------------------------------------------------------------------
3205 3221
3206 Changes in version 0.9.12 3222 Changes in version 0.9.12
3207 Mon Jun 19 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3223 Mon Jun 19 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3208 3224
3209 * autospec.conf 3225 * autospec.conf
3210 - added `-L' to `curl_options' to allow redirects 3226 - added `-L' to `curl_options' to allow redirects
3211 (thanks to stefano (stefano.cotta(a)qilinux.it) for reporting the problem 3227 (thanks to stefano (stefano.cotta(a)qilinux.it) for reporting the problem
3212 and giving me the fix) 3228 and giving me the fix)
3213 3229
3214 * spec-create plugin 3230 * spec-create plugin
3215 - use "%{buildroot}" instead of %{buildroot} everywere 3231 - use "%{buildroot}" instead of %{buildroot} everywere
3216 3232
3217 * pck-update plugin 3233 * pck-update plugin
3218 - action 1: if `force_install' is set the srpm file is downloaded and 3234 - action 1: if `force_install' is set the srpm file is downloaded and
3219 installed even if a local srpm has been detected 3235 installed even if a local srpm has been detected
3220 3236
3221 * autospec 3237 * autospec
3222 - do not overwrite the `packager_email' variable is already set 3238 - do not overwrite the `packager_email' variable is already set
3223 3239
3224 * libspec.lib 3240 * libspec.lib
3225 - boolexpr.solve() now supports conditional expressions with only one 3241 - boolexpr.solve() now supports conditional expressions with only one
3226 operand, like '%if "%{?stage1}"' (thanks to silvan 3242 operand, like '%if "%{?stage1}"' (thanks to silvan
3227 (silvan.calarco(a)mambasoft.it) for reporting the problem) 3243 (silvan.calarco(a)mambasoft.it) for reporting the problem)
3228 3244
3229 * tools/mbrowse.spec: updated 3245 * tools/mbrowse.spec: updated
3230 3246
3231 * configuration file 3247 * configuration file
3232 - fixed rpm_approved_licenses (some space characters were not escaped) 3248 - fixed rpm_approved_licenses (some space characters were not escaped)
3233 3249
3234 -------------------------------------------------------------------------------- 3250 --------------------------------------------------------------------------------
3235 3251
3236 Changes in version 0.9.11 3252 Changes in version 0.9.11
3237 Sun Jun 11 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3253 Sun Jun 11 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3238 3254
3239 * autospec (frontend) 3255 * autospec (frontend)
3240 - new options `--force-build' and `--force-install'; the previous ambiguous 3256 - new options `--force-build' and `--force-install'; the previous ambiguous
3241 option `--force' is now a shortcut to enable both these options 3257 option `--force' is now a shortcut to enable both these options
3242 - help message updated to document these new options 3258 - help message updated to document these new options
3243 - display a better help message if the user configuration file for autospec 3259 - display a better help message if the user configuration file for autospec
3244 is not found; also try to catch the user email address looking at the kde 3260 is not found; also try to catch the user email address looking at the kde
3245 configuration file `emaildefaults' 3261 configuration file `emaildefaults'
3246 - fixed the check for configuration errors concerning `ftp_rw_server[]' 3262 - fixed the check for configuration errors concerning `ftp_rw_server[]'
3247 - new options `--server-download' (to select a server from where to 3263 - new options `--server-download' (to select a server from where to
3248 download srpm packages) and `--server-upload' (to select a server where to 3264 download srpm packages) and `--server-upload' (to select a server where to
3249 upload packages; the previous ambiguous option `--server' can now be used 3265 upload packages; the previous ambiguous option `--server' can now be used
3250 to select a server to be used for both download and upload of packages 3266 to select a server to be used for both download and upload of packages
3251 3267
3252 * pck-update plugin 3268 * pck-update plugin
3253 - modified to support `--force-build' and `--force-install' 3269 - modified to support `--force-build' and `--force-install'
3254 - if one or more lines in a specfile must be ignored by autospec, a command 3270 - if one or more lines in a specfile must be ignored by autospec, a command
3255 block 'AUTOSPEC-OFF' - 'AUTOSPEC-ON' can now be used; an example follows: 3271 block 'AUTOSPEC-OFF' - 'AUTOSPEC-ON' can now be used; an example follows:
3256 3272
3257 ## *AUTOSPEC-OFF* 3273 ## *AUTOSPEC-OFF*
3258 Obsoletes: %{name}-tools 3274 Obsoletes: %{name}-tools
3259 ## *AUTOSPEC-ON* 3275 ## *AUTOSPEC-ON*
3260 3276
3261 - stop with an error message if the command line version and/or release 3277 - stop with an error message if the command line version and/or release
3262 entered by user differ from the ones set in the specfile when building 3278 entered by user differ from the ones set in the specfile when building
3263 rpm/srpm packages 3279 rpm/srpm packages
3264 - if a source file cannot be found in the source directory before the build 3280 - if a source file cannot be found in the source directory before the build
3265 of the rpm/srpm packages, autospec now try to download it 3281 of the rpm/srpm packages, autospec now try to download it
3266 (suggested by <stefano.cotta(a)qilinux.it>) 3282 (suggested by <stefano.cotta(a)qilinux.it>)
3267 - yet another fix to permit the use of multiple actions on the same command 3283 - yet another fix to permit the use of multiple actions on the same command
3268 line while upgrading a package to a different package version 3284 line while upgrading a package to a different package version
3269 - fixed a bug in the autoformatting feature occurring when formatting the 3285 - fixed a bug in the autoformatting feature occurring when formatting the
3270 requirements coded as follows 3286 requirements coded as follows
3271 3287
3272 Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} 3288 Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
3273 3289
3274 in a `%package' section related to a subpackage only 3290 in a `%package' section related to a subpackage only
3275 3291
3276 * autobuild plugin 3292 * autobuild plugin
3277 - modified to support `--force-build' and `--force-install' 3293 - modified to support `--force-build' and `--force-install'
3278 - added support for `update = rebuild' and `update = false' 3294 - added support for `update = rebuild' and `update = false'
3279 - added support for `download_server' and `upload_server' 3295 - added support for `download_server' and `upload_server'
3280 3296
3281 * libspec 3297 * libspec
3282 - new function `sourcefile.download()' usefull to download source files 3298 - new function `sourcefile.download()' usefull to download source files
3283 3299
3284 * Makefile 3300 * Makefile
3285 - fixed the error message coded in the target `dist-rpm' 3301 - fixed the error message coded in the target `dist-rpm'
3286 3302
3287 * autospec.conf 3303 * autospec.conf
3288 - new entry "Applications/Scientific" in rpm_allowed_groups 3304 - new entry "Applications/Scientific" in rpm_allowed_groups
3289 3305
3290 * new documentation file `test/autobuild_example.rules' 3306 * new documentation file `test/autobuild_example.rules'
3291 3307
3292 * documentation 3308 * documentation
3293 - rpm4QiLinux-it-HOWTO: updated 3309 - rpm4QiLinux-it-HOWTO: updated
3294 - italian manpage: updated 3310 - italian manpage: updated
3295 3311
3296 -------------------------------------------------------------------------------- 3312 --------------------------------------------------------------------------------
3297 3313
3298 Changes in version 0.9.10 3314 Changes in version 0.9.10
3299 Sun May 21 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3315 Sun May 21 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3300 3316
3301 * autospec (frontend) 3317 * autospec (frontend)
3302 - honour ftp users and passwords set in the configuration file 3318 - honour ftp users and passwords set in the configuration file
3303 3319
3304 * pck-update plugin 3320 * pck-update plugin
3305 - the logging file name has a new format: 3321 - the logging file name has a new format:
3306 <year><month><day>_<hours><minutes><seconds>-<package name>.log 3322 <year><month><day>_<hours><minutes><seconds>-<package name>.log
3307 here an example: 20060521_112318-mbrowse.log 3323 here an example: 20060521_112318-mbrowse.log
3308 - do not send curl stderr messages to /dev/null because this way the progress 3324 - do not send curl stderr messages to /dev/null because this way the progress
3309 bar will never be diplayed (thanks to stefano (stefano.cotta(a)qilinux.it) 3325 bar will never be diplayed (thanks to stefano (stefano.cotta(a)qilinux.it)
3310 for reporting the issue) 3326 for reporting the issue)
3311 - create info files at every step adding the missing variables if any 3327 - create info files at every step adding the missing variables if any
3312 3328
3313 * pck-extract plugin 3329 * pck-extract plugin
3314 - do not send curl stderr messages to /dev/null (see above) 3330 - do not send curl stderr messages to /dev/null (see above)
3315 3331
3316 * libmsgmng.lib 3332 * libmsgmng.lib
3317 - new function 'notify.disable_colors' 3333 - new function 'notify.disable_colors'
3318 3334
3319 * configuration file 3335 * configuration file
3320 - garbage stuff used for tests while developing last release removed 3336 - garbage stuff used for tests while developing last release removed
3321 3337
3322 * autobuild plugin 3338 * autobuild plugin
3323 - a new plugin for batch processing via rules files: this plugin can parse 3339 - a new plugin for batch processing via rules files: this plugin can parse
3324 text files written with a specific syntax and execute shell commands, 3340 text files written with a specific syntax and execute shell commands,
3325 build, upgrade, install, and upload rpm and srpm packages 3341 build, upgrade, install, and upload rpm and srpm packages
3326 (for an example of a rules file see the file `test/autobuild.rules') 3342 (for an example of a rules file see the file `test/autobuild.rules')
3327 3343
3328 * i18n 3344 * i18n
3329 - updated english and italian strings 3345 - updated english and italian strings
3330 3346
3331 * documentation 3347 * documentation
3332 - rpm4QiLinux-it-HOWTO: updated 3348 - rpm4QiLinux-it-HOWTO: updated
3333 - italian manpage: updated 3349 - italian manpage: updated
3334 3350
3335 -------------------------------------------------------------------------------- 3351 --------------------------------------------------------------------------------
3336 3352
3337 Changes in version 0.9.9 3353 Changes in version 0.9.9
3338 Tue May 16 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3354 Tue May 16 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3339 3355
3340 * pck-update plugin 3356 * pck-update plugin
3341 - fixed a bug in the feature that prevent the creation of rpm and srpm 3357 - fixed a bug in the feature that prevent the creation of rpm and srpm
3342 packages if already found on the local disk 3358 packages if already found on the local disk
3343 - fixed an obscure bug occurring when both --server and --define options were 3359 - fixed an obscure bug occurring when both --server and --define options were
3344 used and caused the server option to be set with the tenth token of the 3360 used and caused the server option to be set with the tenth token of the
3345 define list 3361 define list
3346 - package names can now have a trailing '.spec' in all the contexts 3362 - package names can now have a trailing '.spec' in all the contexts
3347 3363
3348 * autospec.spec 3364 * autospec.spec
3349 - do not inconditionanlly set the variable 'curl_options' (thanks to 3365 - do not inconditionanlly set the variable 'curl_options' (thanks to
3350 stefano (stefano.cotta(a)qilinux.it) for reporting the problem and the way 3366 stefano (stefano.cotta(a)qilinux.it) for reporting the problem and the way
3351 to fix it) 3367 to fix it)
3352 3368
3353 * tools/mbrowse.spec: minor updates 3369 * tools/mbrowse.spec: minor updates
3354 3370
3355 -------------------------------------------------------------------------------- 3371 --------------------------------------------------------------------------------
3356 3372
3357 3373
3358 Changes in version 0.9.8 3374 Changes in version 0.9.8
3359 Sun May 07 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3375 Sun May 07 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3360 3376
3361 * configuration file 3377 * configuration file
3362 - list of approved licenses ('rpm_approved_licenses') updated 3378 - list of approved licenses ('rpm_approved_licenses') updated
3363 - list of allowed packages groups ('rpm_allowed_groups') updated 3379 - list of allowed packages groups ('rpm_allowed_groups') updated
3364 3380
3365 * pck-update plugin 3381 * pck-update plugin
3366 - the rpm and srpm packages are not built if they are found on the local 3382 - the rpm and srpm packages are not built if they are found on the local
3367 disk; to force the rebuild the `--force' can be used 3383 disk; to force the rebuild the `--force' can be used
3368 (this feature has been asked by silvan.calarco(a)qilinux.it) 3384 (this feature has been asked by silvan.calarco(a)qilinux.it)
3369 3385
3370 * autospec.spec 3386 * autospec.spec
3371 - updated help message 3387 - updated help message
3372 3388
3373 * i18n 3389 * i18n
3374 - updated english and italian strings 3390 - updated english and italian strings
3375 3391
3376 * documentation 3392 * documentation
3377 - updated italian manpage 3393 - updated italian manpage
3378 3394
3379 * Makefile 3395 * Makefile
3380 - modified to automatically set the date of the italian manpage 3396 - modified to automatically set the date of the italian manpage
3381 3397
3382 -------------------------------------------------------------------------------- 3398 --------------------------------------------------------------------------------
3383 3399
3384 Changes in version 0.9.7 3400 Changes in version 0.9.7
3385 Sun Apr 16 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3401 Sun Apr 16 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3386 3402
3387 * configuration file 3403 * configuration file
3388 - new variable `rpm_install_force' used to to force the installation of rpm 3404 - new variable `rpm_install_force' used to to force the installation of rpm
3389 packages (default value: "sudo rpm -hUv --force --nodeps") 3405 packages (default value: "sudo rpm -hUv --force --nodeps")
3390 3406
3391 * pck-update plugin 3407 * pck-update plugin
3392 - action 10: fixed some typo and sintax errors 3408 - action 10: fixed some typo and sintax errors
3393 - action 11: force the installation of the rpm given packages if `--force' is 3409 - action 11: force the installation of the rpm given packages if `--force' is
3394 selected by user 3410 selected by user
3395 - remove any trailing ".spec" in the package names entered by user (just to 3411 - remove any trailing ".spec" in the package names entered by user (just to
3396 make autospec a bit less pedantic) 3412 make autospec a bit less pedantic)
3397 3413
3398 * i18n 3414 * i18n
3399 - updated english and italian strings 3415 - updated english and italian strings
3400 3416
3401 * documentation 3417 * documentation
3402 - italian manpage: updated 3418 - italian manpage: updated
3403 3419
3404 -------------------------------------------------------------------------------- 3420 --------------------------------------------------------------------------------
3405 3421
3406 Changes in version 0.9.6 3422 Changes in version 0.9.6
3407 Sun Mar 19 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3423 Sun Mar 19 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3408 3424
3409 * pck-extract plugin 3425 * pck-extract plugin
3410 - patches compressed with gzip (*.{diff|patch}.gzip) are automatically 3426 - patches compressed with gzip (*.{diff|patch}.gzip) are automatically
3411 decompressed 3427 decompressed
3412 3428
3413 * pck-update plugin 3429 * pck-update plugin
3414 - action 0: check for the given srpm package in all the configured 3430 - action 0: check for the given srpm package in all the configured
3415 repositories instead of stopping the search at the first occurrence found 3431 repositories instead of stopping the search at the first occurrence found
3416 (this is required now because a package can be located in different 3432 (this is required now because a package can be located in different
3417 repositories, even with a different version number) 3433 repositories, even with a different version number)
3418 - action 10: packages backup/cleanup is now performed correctly when the 3434 - action 10: packages backup/cleanup is now performed correctly when the
3419 `--server' option is specified by user 3435 `--server' option is specified by user
3420 3436
3421 * tools/mbrowse.spec: minor updates 3437 * tools/mbrowse.spec: minor updates
3422 3438
3423 -------------------------------------------------------------------------------- 3439 --------------------------------------------------------------------------------
3424 3440
3425 Changes in version 0.9.5 3441 Changes in version 0.9.5
3426 Sat Mar 05 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3442 Sat Mar 05 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3427 3443
3428 * pck-update plugin 3444 * pck-update plugin
3429 - check for the structure of the 'Source[0]' entry only if a '%setup' 3445 - check for the structure of the 'Source[0]' entry only if a '%setup'
3430 block has been found (problem notified by silvan.calarco(a)qilinux.it) 3446 block has been found (problem notified by silvan.calarco(a)qilinux.it)
3431 3447
3432 * libspec.lib library 3448 * libspec.lib library
3433 - specfile.getvars: 'SPEC_SOURCE' is not a mandatory variable 3449 - specfile.getvars: 'SPEC_SOURCE' is not a mandatory variable
3434 3450
3435 -------------------------------------------------------------------------------- 3451 --------------------------------------------------------------------------------
3436 3452
3437 Changes in version 0.9.4 3453 Changes in version 0.9.4
3438 Fri Feb 03 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3454 Fri Feb 03 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3439 3455
3440 * spec-create 3456 * spec-create
3441 - fixed creation of specfiles for source tarballs without a unique root 3457 - fixed creation of specfiles for source tarballs without a unique root
3442 directory (thanks to Alessandro (alessandro.ramazzina(a)qilinux.it) for 3458 directory (thanks to Alessandro (alessandro.ramazzina(a)qilinux.it) for
3443 reporting the problem) 3459 reporting the problem)
3444 3460
3445 * pck-extract plugin 3461 * pck-extract plugin
3446 - bzip2-compressed patches (*.diff.bz2) are now automatically decompressed 3462 - bzip2-compressed patches (*.diff.bz2) are now automatically decompressed
3447 3463
3448 * configuration file 3464 * configuration file
3449 - rpm_approved_licenses: new entry "non-OSI" for non OSI licenses 3465 - rpm_approved_licenses: new entry "non-OSI" for non OSI licenses
3450 3466
3451 -------------------------------------------------------------------------------- 3467 --------------------------------------------------------------------------------
3452 3468
3453 Changes in version 0.9.3 3469 Changes in version 0.9.3
3454 Sat Jan 13 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3470 Sat Jan 13 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3455 3471
3456 * pck-update plugin 3472 * pck-update plugin
3457 - function `specfile.newrelease` fixed 3473 - function `specfile.newrelease` fixed
3458 3474
3459 * spec-create plugin 3475 * spec-create plugin
3460 - add the commands needed to remove the files `perllocal.pod' and `.packlist' 3476 - add the commands needed to remove the files `perllocal.pod' and `.packlist'
3461 when a specfile for a perl module is generated; remove empty directories in 3477 when a specfile for a perl module is generated; remove empty directories in
3462 %%perl_sitelib 3478 %%perl_sitelib
3463 - modified requirement for devel packages 3479 - modified requirement for devel packages
3464 Requires: %{name} = %{?epoch:%epoch:}%{version} 3480 Requires: %{name} = %{?epoch:%epoch:}%{version}
3465 to be fully compliant with rpm 4.4.x 3481 to be fully compliant with rpm 4.4.x
3466 - perl specfiles: license entry modified to be OSI standard compliant 3482 - perl specfiles: license entry modified to be OSI standard compliant
3467 - do not insert a space character after `%setup -q' 3483 - do not insert a space character after `%setup -q'
3468 - use `%find_lang' instead of `%{find_lang}' 3484 - use `%find_lang' instead of `%{find_lang}'
3469 - do use the values provided by the configuration variables 3485 - do use the values provided by the configuration variables
3470 `$rpm_macro_uninstallinfo' and `$rpm_macro_installinfo', insted of the 3486 `$rpm_macro_uninstallinfo' and `$rpm_macro_installinfo', insted of the
3471 hardcoded values `%install_info' and `%uninstall_info' 3487 hardcoded values `%install_info' and `%uninstall_info'
3472 3488
3473 * configuration file 3489 * configuration file
3474 - new value for `rpm_macro_pyver' 3490 - new value for `rpm_macro_pyver'
3475 rpm_macro_pyver="%python_version" 3491 rpm_macro_pyver="%python_version"
3476 provided by rpm 4.4.x. (the previous value was: `pyver') 3492 provided by rpm 4.4.x. (the previous value was: `pyver')
3477 3493
3478 * autospec.spec 3494 * autospec.spec
3479 - requires: rpm >= 4.4.4 3495 - requires: rpm >= 4.4.4
3480 3496
3481 -------------------------------------------------------------------------------- 3497 --------------------------------------------------------------------------------
3482 3498
3483 Changes in version 0.9.2 3499 Changes in version 0.9.2
3484 Sun Jan 01 2006 Davide Madrisan <davide.madrisan(a)qilinux.it> 3500 Sun Jan 01 2006 Davide Madrisan <davide.madrisan(a)qilinux.it>
3485 3501
3486 * configuration file 3502 * configuration file
3487 - updated `rpm_allowed_groups' 3503 - updated `rpm_allowed_groups'
3488 3504
3489 * pck-extract plugin 3505 * pck-extract plugin
3490 - the bzip2-compressed patches (*.patch.bz2) are now automatically 3506 - the bzip2-compressed patches (*.patch.bz2) are now automatically
3491 decompressed 3507 decompressed
3492 - srpm packages can now be remote files (will be dowloaded) 3508 - srpm packages can now be remote files (will be dowloaded)
3493 3509
3494 * pck-update plugin 3510 * pck-update plugin
3495 - added a trap command to remove temporary info files 3511 - added a trap command to remove temporary info files
3496 - the function `specfile.newrelease()' has been generalized to work with 3512 - the function `specfile.newrelease()' has been generalized to work with
3497 release numbers in the format `[0-9]*.[0-9]*' 3513 release numbers in the format `[0-9]*.[0-9]*'
3498 3514
3499 * i18n 3515 * i18n
3500 - updated english and italian strings 3516 - updated english and italian strings
3501 3517
3502 * documentation 3518 * documentation
3503 - italian manpage: indentation fix, some small changes 3519 - italian manpage: indentation fix, some small changes
3504 3520
3505 -------------------------------------------------------------------------------- 3521 --------------------------------------------------------------------------------
3506 3522
3507 Changes in version 0.9.1 3523 Changes in version 0.9.1
3508 Sun Dec 18 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3524 Sun Dec 18 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3509 3525
3510 * libspec.lib 3526 * libspec.lib
3511 - made `rpmvars.init()' a public function; it's currently called by the 3527 - made `rpmvars.init()' a public function; it's currently called by the
3512 function `infofile.create()' instead of `rpmvars.solve()' to workaround a 3528 function `infofile.create()' instead of `rpmvars.solve()' to workaround a
3513 crazy bug occurring while running autospec under bash 3.1 3529 crazy bug occurring while running autospec under bash 3.1
3514 3530
3515 * pck-update plugin 3531 * pck-update plugin
3516 - the function `repository.get_SRPMS_name()' has a new option `--server' to 3532 - the function `repository.get_SRPMS_name()' has a new option `--server' to
3517 set a single repository where to look for available packages; 3533 set a single repository where to look for available packages;
3518 this feature will permit autospec to manage a given set of ftp repositories 3534 this feature will permit autospec to manage a given set of ftp repositories
3519 where SRPMS packages could be duplicated (even with different version 3535 where SRPMS packages could be duplicated (even with different version
3520 and/or release numbers) 3536 and/or release numbers)
3521 3537
3522 * spec-create 3538 * spec-create
3523 - when creating a specfile preamble do substitute all the occurrences of the 3539 - when creating a specfile preamble do substitute all the occurrences of the
3524 package version with the string `%{version}` in the value automatically 3540 package version with the string `%{version}` in the value automatically
3525 assigned to `Source:' 3541 assigned to `Source:'
3526 3542
3527 * autospec (frontend) 3543 * autospec (frontend)
3528 - do exist with an error message if the configuration file `~/.autospec' is 3544 - do exist with an error message if the configuration file `~/.autospec' is
3529 not found or not readable by the user running autospec 3545 not found or not readable by the user running autospec
3530 3546
3531 * documentation 3547 * documentation
3532 - rpm4QiLinux-it-HOWTO: an example of a working personal configuration file 3548 - rpm4QiLinux-it-HOWTO: an example of a working personal configuration file
3533 for QiLinux contributors has been added 3549 for QiLinux contributors has been added
3534 3550
3535 * configuration file 3551 * configuration file
3536 - added a short help message at the top of the file 3552 - added a short help message at the top of the file
3537 3553
3538 * Makefile 3554 * Makefile
3539 - make dist-rpm rule: do not copy the tarball created by `make dist' to the 3555 - make dist-rpm rule: do not copy the tarball created by `make dist' to the
3540 source directory for rpm, do move it 3556 source directory for rpm, do move it
3541 3557
3542 -------------------------------------------------------------------------------- 3558 --------------------------------------------------------------------------------
3543 3559
3544 Changes in version 0.9.0 3560 Changes in version 0.9.0
3545 Sat Dec 10 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3561 Sat Dec 10 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3546 3562
3547 * configuration file 3563 * configuration file
3548 - the variables listed below are now vectors 3564 - the variables listed below are now vectors
3549 - ftp_rw_server 3565 - ftp_rw_server
3550 - ftp_rw_user 3566 - ftp_rw_user
3551 - ftp_rw_passwd 3567 - ftp_rw_passwd
3552 - ftp_rw_port 3568 - ftp_rw_port
3553 - ftp_rw_passive_mode 3569 - ftp_rw_passive_mode
3554 to support multiple repositories (both servers and directories) while 3570 to support multiple repositories (both servers and directories) while
3555 uploading packages 3571 uploading packages
3556 - for the same reason the variable `ftpdir_rw_old' is now a vector 3572 - for the same reason the variable `ftpdir_rw_old' is now a vector
3557 - `ftpdir_rw_rpms' renamed to `ftp_rw_rpms_dir' 3573 - `ftpdir_rw_rpms' renamed to `ftp_rw_rpms_dir'
3558 - `ftpdir_rw_srpms' renamed to `ftp_rw_srpms_dir' 3574 - `ftpdir_rw_srpms' renamed to `ftp_rw_srpms_dir'
3559 - new numeric variable `ftp_rw_server_num_default', pointing to the server 3575 - new numeric variable `ftp_rw_server_num_default', pointing to the server
3560 where new born packages will be uploaded 3576 where new born packages will be uploaded
3561 - fixed default values for `ftp_rw_srpms_dir' and `ftp_rw_rpms_dir' 3577 - fixed default values for `ftp_rw_srpms_dir' and `ftp_rw_rpms_dir'
3562 (thanks to Alessandro Secco (alessandro.secco(a)tiscali.it) for notifying 3578 (thanks to Alessandro Secco (alessandro.secco(a)tiscali.it) for notifying
3563 me of the problem) 3579 me of the problem)
3564 3580
3565 -------------------------------------------------------------------------------- 3581 --------------------------------------------------------------------------------
3566 3582
3567 * pck-update plugin 3583 * pck-update plugin
3568 - action 10: do use the `delete' command instead of `rm' 3584 - action 10: do use the `delete' command instead of `rm'
3569 (thanks to Alessandro Secco for identifying the problem and fixing it) 3585 (thanks to Alessandro Secco for identifying the problem and fixing it)
3570 - small fix required by bash 3.1 3586 - small fix required by bash 3.1
3571 3587
3572 * autospec 3588 * autospec
3573 - yet another (small) fix for the `--eval' command 3589 - yet another (small) fix for the `--eval' command
3574 - added the `--server' option which tells autospec what repository must be 3590 - added the `--server' option which tells autospec what repository must be
3575 selected when uploading packages 3591 selected when uploading packages
3576 (i.e. --server=n, where n is a positive interger, means that `n' is the 3592 (i.e. --server=n, where n is a positive interger, means that `n' is the
3577 (zero-based) index of the ftp server set via the configuration variable 3593 (zero-based) index of the ftp server set via the configuration variable
3578 `ftp_rw_server', that is `ftp_rw_server[n]') 3594 `ftp_rw_server', that is `ftp_rw_server[n]')
3579 3595
3580 * Makefile 3596 * Makefile
3581 - exit with error if the NEWS file has not been updated 3597 - exit with error if the NEWS file has not been updated
3582 - fixed target `uninstall' (was out of synk) 3598 - fixed target `uninstall' (was out of synk)
3583 - most of targets reworked 3599 - most of targets reworked
3584 3600
3585 * i18n 3601 * i18n
3586 - english and italian translation updated 3602 - english and italian translation updated
3587 3603
3588 * documentation 3604 * documentation
3589 - rpm4QiLinux-it-HOWTO: updated 3605 - rpm4QiLinux-it-HOWTO: updated
3590 - italian manpage: updated 3606 - italian manpage: updated
3591 3607
3592 -------------------------------------------------------------------------------- 3608 --------------------------------------------------------------------------------
3593 3609
3594 Changes in version 0.8.9 3610 Changes in version 0.8.9
3595 Sat Dec 03 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3611 Sat Dec 03 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3596 3612
3597 * autospec 3613 * autospec
3598 - implementation of `--eval' command rewritten to work when invoked for 3614 - implementation of `--eval' command rewritten to work when invoked for
3599 multiline vectors (for instance: autospec --eval=rpm_approved_licenses) 3615 multiline vectors (for instance: autospec --eval=rpm_approved_licenses)
3600 3616
3601 * configuration file 3617 * configuration file
3602 - rpm_allowed_groups: fixed some typos 3618 - rpm_allowed_groups: fixed some typos
3603 - rpm_allowed_groups: updated 3619 - rpm_allowed_groups: updated
3604 - new variable `rpm_approved_licenses', a list of OSI approved licenses 3620 - new variable `rpm_approved_licenses', a list of OSI approved licenses
3605 written by "whitone" (whitone(a)gmail.com) 3621 written by "whitone" (whitone(a)gmail.com)
3606 3622
3607 * pck-update plugin 3623 * pck-update plugin
3608 - added a test (#9) to check if all the licenses listed in the `License' 3624 - added a test (#9) to check if all the licenses listed in the `License'
3609 specfile entry are approved licenses according the configuration variable 3625 specfile entry are approved licenses according the configuration variable
3610 `rpm_allowed_groups' 3626 `rpm_allowed_groups'
3611 note: based on a patch written by "whitone" 3627 note: based on a patch written by "whitone"
3612 - added two messages for test 8 and 9 to give some help to users 3628 - added two messages for test 8 and 9 to give some help to users
3613 3629
3614 * libspec.lib 3630 * libspec.lib
3615 - specfile.getvars: SPEC_LICENSE' is now a vector 3631 - specfile.getvars: SPEC_LICENSE' is now a vector
3616 The patch was done by "whitone" 3632 The patch was done by "whitone"
3617 3633
3618 -------------------------------------------------------------------------------- 3634 --------------------------------------------------------------------------------
3619 3635
3620 Changes in version 0.8.8 3636 Changes in version 0.8.8
3621 Sat Nov 26 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3637 Sat Nov 26 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3622 3638
3623 * pck-update plugin 3639 * pck-update plugin
3624 - building (-a5) now supports both the options `--norpm' and `--nosrpm' 3640 - building (-a5) now supports both the options `--norpm' and `--nosrpm'
3625 - modified (again) regexpr to catch uninstalled info pages 3641 - modified (again) regexpr to catch uninstalled info pages
3626 - user defined values set via the `--define' command are now passed to rpm 3642 - user defined values set via the `--define' command are now passed to rpm
3627 when building a specfile; a feature required by Silvan Calarco 3643 when building a specfile; a feature required by Silvan Calarco
3628 (silvan.calarco(a)qilinux.it) 3644 (silvan.calarco(a)qilinux.it)
3629 - new format for `ftpdir_pckbak' (date and time is appended): 3645 - new format for `ftpdir_pckbak' (date and time is appended):
3630 $ftpdir_rw_old/${SPEC_NAME}_$(date +%y%m%d.%H%M%S) 3646 $ftpdir_rw_old/${SPEC_NAME}_$(date +%y%m%d.%H%M%S)
3631 3647
3632 * rpm4QiLinux-it-HOWTO 3648 * rpm4QiLinux-it-HOWTO
3633 - updated, typo fixed 3649 - updated, typo fixed
3634 3650
3635 * Makefile 3651 * Makefile
3636 - fixed make target 3652 - fixed make target
3637 - partially rewritten to make it usable in a standard way ('make' to 'build' 3653 - partially rewritten to make it usable in a standard way ('make' to 'build'
3638 files, 'make install' to install files, ...) 3654 files, 'make install' to install files, ...)
3639 3655
3640 * autoupdate-kde, autoupdate-perl_modules, and extract-spec tools 3656 * autoupdate-kde, autoupdate-perl_modules, and extract-spec tools
3641 - do not overwrite LANG environment variable at startup 3657 - do not overwrite LANG environment variable at startup
3642 - added requirement for bash version 2 or better 3658 - added requirement for bash version 2 or better
3643 3659
3644 -------------------------------------------------------------------------------- 3660 --------------------------------------------------------------------------------
3645 3661
3646 Changes in version 0.8.7 3662 Changes in version 0.8.7
3647 Thu Nov 24 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3663 Thu Nov 24 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3648 3664
3649 * pck-update plugin 3665 * pck-update plugin
3650 - checking code for correct groups updated to handle groups with spaces 3666 - checking code for correct groups updated to handle groups with spaces
3651 3667
3652 * spec-create plugin 3668 * spec-create plugin
3653 - option `-s' has been enhanced: if its argument is a URL, the package is 3669 - option `-s' has been enhanced: if its argument is a URL, the package is
3654 dowloaded and the URL used to set the `Source' entry in the specfile; 3670 dowloaded and the URL used to set the `Source' entry in the specfile;
3655 feature required by Silvan Calarco (silvan.calarco(a)qilinux.it) 3671 feature required by Silvan Calarco (silvan.calarco(a)qilinux.it)
3656 3672
3657 * autospec (frontend) 3673 * autospec (frontend)
3658 - updated help message 3674 - updated help message
3659 3675
3660 * manpages 3676 * manpages
3661 - updated 3677 - updated
3662 3678
3663 -------------------------------------------------------------------------------- 3679 --------------------------------------------------------------------------------
3664 3680
3665 Changes in version 0.8.6 3681 Changes in version 0.8.6
3666 Sat Nov 19 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3682 Sat Nov 19 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3667 3683
3668 * spec-create plugin 3684 * spec-create plugin
3669 - typo fixes 3685 - typo fixes
3670 3686
3671 * libspec.lib 3687 * libspec.lib
3672 - specfile.getvars: `SPEC_GROUP' is now a vector 3688 - specfile.getvars: `SPEC_GROUP' is now a vector
3673 - specfile.getvars: better debug code and messages when vectors are parsed 3689 - specfile.getvars: better debug code and messages when vectors are parsed
3674 3690
3675 * pck-update plugin 3691 * pck-update plugin
3676 - code using SPEC_GROUP updated 3692 - code using SPEC_GROUP updated
3677 - specfile.checksintax: (test#7) regexpr modified to avoid false positive 3693 - specfile.checksintax: (test#7) regexpr modified to avoid false positive
3678 results when testing for info pages not correctly installed or uninstalled 3694 results when testing for info pages not correctly installed or uninstalled
3679 3695
3680 * i18n 3696 * i18n
3681 - updated and converted to UTF-8 charset 3697 - updated and converted to UTF-8 charset
3682 3698
3683 * rpm4QiLinux-it-HOWTO 3699 * rpm4QiLinux-it-HOWTO
3684 - synchronized with current release 3700 - synchronized with current release
3685 3701
3686 * manpages 3702 * manpages
3687 - added the manpage man1/it/autospec.1 3703 - added the manpage man1/it/autospec.1
3688 3704
3689 -------------------------------------------------------------------------------- 3705 --------------------------------------------------------------------------------
3690 3706
3691 Changes in version 0.8.5 3707 Changes in version 0.8.5
3692 Tue Nov 15 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3708 Tue Nov 15 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3693 3709
3694 * configuration file 3710 * configuration file
3695 - variable `rpm_allowed_groups' updated 3711 - variable `rpm_allowed_groups' updated
3696 - new value for `library_group_perl' : "System/Libraries/Perl" 3712 - new value for `library_group_perl' : "System/Libraries/Perl"
3697 - new value for `python_modules_group' : "System/Libraries/Python" 3713 - new value for `python_modules_group' : "System/Libraries/Python"
3698 - new variable `rpm_specfile_mode' (default value is "644") 3714 - new variable `rpm_specfile_mode' (default value is "644")
3699 3715
3700 * pck-update plugin 3716 * pck-update plugin
3701 - set the permissions of the specfiles according to `rpm_specfile_mode' 3717 - set the permissions of the specfiles according to `rpm_specfile_mode'
3702 - requires the chmod tool 3718 - requires the chmod tool
3703 3719
3704 * spec-create plugin 3720 * spec-create plugin
3705 - specfile are now created with the permissions set in `rpm_specfile_mode' 3721 - specfile are now created with the permissions set in `rpm_specfile_mode'
3706 - requires the chmod tool 3722 - requires the chmod tool
3707 3723
3708 * libspec.lib 3724 * libspec.lib
3709 - boolexpr.solve(): expand rpm variables at the end of the expansion chain 3725 - boolexpr.solve(): expand rpm variables at the end of the expansion chain
3710 - specfile.getvars(): new query `SPEC_LICENSE' available 3726 - specfile.getvars(): new query `SPEC_LICENSE' available
3711 This was a patch from "whitone" (whitone(a)gmail.com) 3727 This was a patch from "whitone" (whitone(a)gmail.com)
3712 3728
3713 * pck-extract plugin 3729 * pck-extract plugin
3714 - do not use a pipe command when extracting files from a srpm archive 3730 - do not use a pipe command when extracting files from a srpm archive
3715 (revert the change made in release 0.7.3) to fix some (apparently input 3731 (revert the change made in release 0.7.3) to fix some (apparently input
3716 (cpio archive) dependant) failures 3732 (cpio archive) dependant) failures
3717 3733
3718 -------------------------------------------------------------------------------- 3734 --------------------------------------------------------------------------------
3719 3735
3720 Changes in version 0.8.4 3736 Changes in version 0.8.4
3721 Thu Nov 10 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3737 Thu Nov 10 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3722 3738
3723 * autospec.spec 3739 * autospec.spec
3724 - requires: host 3740 - requires: host
3725 * pck-update plugin 3741 * pck-update plugin
3726 - requires: host, cpio, and rpm2cpio 3742 - requires: host, cpio, and rpm2cpio
3727 - also support "Url" in the specfile preamble (only "URL" was supported) 3743 - also support "Url" in the specfile preamble (only "URL" was supported)
3728 - exit with error if the files cannot be extracted from the rpm/cpio archives 3744 - exit with error if the files cannot be extracted from the rpm/cpio archives
3729 before performing quality and security tests 3745 before performing quality and security tests
3730 - specfile.checksintax(): added a check to see if the `Group' entry specified 3746 - specfile.checksintax(): added a check to see if the `Group' entry specified
3731 in the spefile is a known one, according to the configuration variable 3747 in the spefile is a known one, according to the configuration variable
3732 `rpm_allowed_groups' 3748 `rpm_allowed_groups'
3733 * configuration file 3749 * configuration file
3734 - new variable `rpm_allowed_groups' 3750 - new variable `rpm_allowed_groups'
3735 * spec-create plugin 3751 * spec-create plugin
3736 - typo fix 3752 - typo fix
3737 * libspec.lib 3753 * libspec.lib
3738 - specfile.getvars(): new query SPEC_GROUP' available 3754 - specfile.getvars(): new query SPEC_GROUP' available
3739 3755
3740 -------------------------------------------------------------------------------- 3756 --------------------------------------------------------------------------------
3741 3757
3742 Changes in version 0.8.3 ("whitone") 3758 Changes in version 0.8.3 ("whitone")
3743 Sat Nov 05 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3759 Sat Nov 05 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3744 3760
3745 * autospec 3761 * autospec
3746 - checks for needed tools customized and moved at the top of each plugin body 3762 - checks for needed tools customized and moved at the top of each plugin body
3747 to permit users to view help instructions, check configuration files and 3763 to permit users to view help instructions, check configuration files and
3748 execute some plugins even if not all the system tools required by autospec 3764 execute some plugins even if not all the system tools required by autospec
3749 are available 3765 are available
3750 - load /etc/sysconfig/i18n only if the environment variable LANG is undefined 3766 - load /etc/sysconfig/i18n only if the environment variable LANG is undefined
3751 * autospec.spec 3767 * autospec.spec
3752 - requires: cpio 3768 - requires: cpio
3753 - do not require sudo; use it only if installed on the current system and 3769 - do not require sudo; use it only if installed on the current system and
3754 configured in the autospec configuration file 3770 configured in the autospec configuration file
3755 (see: `rpm_download_and_install' and `rpm_install') 3771 (see: `rpm_download_and_install' and `rpm_install')
3756 * pck-update plugin 3772 * pck-update plugin
3757 - specfile tests (action 2) merged at the end of action 4 (specfile update) 3773 - specfile tests (action 2) merged at the end of action 4 (specfile update)
3758 - perform more strict sintax checks before updating specfiles 3774 - perform more strict sintax checks before updating specfiles
3759 3775
3760 -------------------------------------------------------------------------------- 3776 --------------------------------------------------------------------------------
3761 3777
3762 Changes in version 0.8.2 3778 Changes in version 0.8.2
3763 Sun Oct 30 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3779 Sun Oct 30 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3764 3780
3765 * libspec.lib 3781 * libspec.lib
3766 - rpmvars.solve(): double-level rpm variables are now correctly expanded 3782 - rpmvars.solve(): double-level rpm variables are now correctly expanded
3767 example: 3783 example:
3768 %define kernel_ver 2.6.13 3784 %define kernel_ver 2.6.13
3769 Version: %{kernel_ver} 3785 Version: %{kernel_ver}
3770 - specfile.getvars() 3786 - specfile.getvars()
3771 - new query `SPEC_URL' available 3787 - new query `SPEC_URL' available
3772 - nested conditional blocks (%if ... %else ... %endif) for SPEC_TARGET 3788 - nested conditional blocks (%if ... %else ... %endif) for SPEC_TARGET
3773 are now supported; warning message removed 3789 are now supported; warning message removed
3774 - rpmvars.init(): nested conditional blocks now supported; warning removed 3790 - rpmvars.init(): nested conditional blocks now supported; warning removed
3775 * autospec 3791 * autospec
3776 - the `--eval' command can now be executed in quiet mode (`-q' option) 3792 - the `--eval' command can now be executed in quiet mode (`-q' option)
3777 - option `--norpm' now available for action 5 (packages building action) 3793 - option `--norpm' now available for action 5 (packages building action)
3778 * spec-create plugin 3794 * spec-create plugin
3779 - minor fixes 3795 - minor fixes
3780 * pck-update plugin 3796 * pck-update plugin
3781 - only remove the build directory if the `--clear' command is selected 3797 - only remove the build directory if the `--clear' command is selected
3782 (thanks to <alessandro DOT ramazzina AT qilinux DOT it>, for the bugreport) 3798 (thanks to <alessandro DOT ramazzina AT qilinux DOT it>, for the bugreport)
3783 - recreate the info file when the specfile has been modified by the action 4 3799 - recreate the info file when the specfile has been modified by the action 4
3784 (this fixes a long standing bug when autospec was used to execute action 4 3800 (this fixes a long standing bug when autospec was used to execute action 4
3785 followed by other actions) 3801 followed by other actions)
3786 * configuration file 3802 * configuration file
3787 - new value for `format_buildroot_value modified' : 3803 - new value for `format_buildroot_value modified' :
3788 %{_tmppath}/%{name}-%{version}-root-%(id -u -n) 3804 %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
3789 3805
3790 -------------------------------------------------------------------------------- 3806 --------------------------------------------------------------------------------
3791 3807
3792 Changes in version 0.8.1 3808 Changes in version 0.8.1
3793 Sun Oct 16 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3809 Sun Oct 16 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3794 3810
3795 * libspec.lib 3811 * libspec.lib
3796 - display a warning if an expression like "%{!?<VAR>:<DEFVALUE>" is found 3812 - display a warning if an expression like "%{!?<VAR>:<DEFVALUE>" is found
3797 - specfile.getvars(): new query `SPEC_BUILDREQUIRES' now available 3813 - specfile.getvars(): new query `SPEC_BUILDREQUIRES' now available
3798 - rpmvars.solve() now expands the rpm variables 3814 - rpmvars.solve() now expands the rpm variables
3799 - specfile.getvars(): display a warning if `%ifarch' is found (it's not 3815 - specfile.getvars(): display a warning if `%ifarch' is found (it's not
3800 implemented yet and may lead to problems with conditional blocks) 3816 implemented yet and may lead to problems with conditional blocks)
3801 - specfile.getvars(): do not exit with error if `SPEC_BUILDREQUIRES' is a 3817 - specfile.getvars(): do not exit with error if `SPEC_BUILDREQUIRES' is a
3802 null string (thanks to "whitone" (whitone(a)gmail.com) for reporting the 3818 null string (thanks to "whitone" (whitone(a)gmail.com) for reporting the
3803 problem) 3819 problem)
3804 * configuration file 3820 * configuration file
3805 - new configuration variable `rpm_install' (default value: "sudo rpm -hUv") 3821 - new configuration variable `rpm_install' (default value: "sudo rpm -hUv")
3806 * pck-update plugin 3822 * pck-update plugin
3807 - new option `11' usefull to install the rpm files created by a given package 3823 - new option `11' usefull to install the rpm files created by a given package
3808 * rpm4QiLinux-it-HOWTO 3824 * rpm4QiLinux-it-HOWTO
3809 - synchronized with current release 3825 - synchronized with current release
3810 * Makefile 3826 * Makefile
3811 - install autospec tools with execution permissions 3827 - install autospec tools with execution permissions
3812 3828
3813 -------------------------------------------------------------------------------- 3829 --------------------------------------------------------------------------------
3814 3830
3815 Changes in version 0.8.0 3831 Changes in version 0.8.0
3816 Sun Oct 9 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3832 Sun Oct 9 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3817 3833
3818 * pck-update plugin 3834 * pck-update plugin
3819 - installation of build requirements moved to action 5 (build section) 3835 - installation of build requirements moved to action 5 (build section)
3820 - fixed cross-compiling regressions issues 3836 - fixed cross-compiling regressions issues
3821 - new option `--changelog' to set a user defined changelog entry 3837 - new option `--changelog' to set a user defined changelog entry
3822 (multiline entries are allowed, using eol ('\n') characters) 3838 (multiline entries are allowed, using eol ('\n') characters)
3823 * Makefile 3839 * Makefile
3824 - several changes to install libraries and compile .in files in each target 3840 - several changes to install libraries and compile .in files in each target
3825 * libraries 3841 * libraries
3826 - new shared libraries `libspec.lib' and `libmsgmng.lib', usefull to access 3842 - new shared libraries `libspec.lib' and `libmsgmng.lib', usefull to access
3827 autospec's features by external scripts 3843 autospec's features by external scripts
3828 3844
3829 -------------------------------------------------------------------------------- 3845 --------------------------------------------------------------------------------
3830 3846
3831 Changes in version 0.7.3 3847 Changes in version 0.7.3
3832 Sun Oct 02 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3848 Sun Oct 02 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3833 3849
3834 * pck-update plugin 3850 * pck-update plugin
3835 - operator `!' supported in boolean expression (function `resolve_boolexpr') 3851 - operator `!' supported in boolean expression (function `resolve_boolexpr')
3836 - check if the architecture set by the `--arch' command is a legal one 3852 - check if the architecture set by the `--arch' command is a legal one
3837 looking at the configuration variable `arch_list[]' 3853 looking at the configuration variable `arch_list[]'
3838 - ignore the architecture set by user via command line if `BuildArch' is found 3854 - ignore the architecture set by user via command line if `BuildArch' is found
3839 in the specfile preamble (a warning message is printed anyway) 3855 in the specfile preamble (a warning message is printed anyway)
3840 * pck-extract plugin 3856 * pck-extract plugin
3841 - do not convert rpm packages to temporary cpio archives using the disk, 3857 - do not convert rpm packages to temporary cpio archives using the disk,
3842 just make use of a pipe command 3858 just make use of a pipe command
3843 - display extracted files with the `--destdir' path 3859 - display extracted files with the `--destdir' path
3844 - check for required external unix tools 3860 - check for required external unix tools
3845 - code cleanups 3861 - code cleanups
3846 * spec-create plugin 3862 * spec-create plugin
3847 - check for required external unix tools 3863 - check for required external unix tools
3848 - use `sed 1q' instead of `head' to minimize the number of external tools 3864 - use `sed 1q' instead of `head' to minimize the number of external tools
3849 required 3865 required
3850 - perl modules: use 3866 - perl modules: use
3851 perl Makefile.PL INSTALLDIRS=vendor 3867 perl Makefile.PL INSTALLDIRS=vendor
3852 in the `%build' section instead of `perl Makefile.PL' 3868 in the `%build' section instead of `perl Makefile.PL'
3853 * autospec 3869 * autospec
3854 - exit with an appropriate return value, not always `0' 3870 - exit with an appropriate return value, not always `0'
3855 - do use the bash built-in command `type -p' instead of `which' 3871 - do use the bash built-in command `type -p' instead of `which'
3856 3872
3857 -------------------------------------------------------------------------------- 3873 --------------------------------------------------------------------------------
3858 3874
3859 Changes in version 0.7.2 3875 Changes in version 0.7.2
3860 Fri Sep 30 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3876 Fri Sep 30 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3861 3877
3862 * pck-update plugin 3878 * pck-update plugin
3863 - action 2 : new test to check if the macro %find_lang is used when 3879 - action 2 : new test to check if the macro %find_lang is used when
3864 localization files are detected 3880 localization files are detected
3865 - action 4 : take care of packages that provide the specfile-harcoded build 3881 - action 4 : take care of packages that provide the specfile-harcoded build
3866 requirements (i.e. `zlib-devel' is provided by `libz-devel') 3882 requirements (i.e. `zlib-devel' is provided by `libz-devel')
3867 - action 4 : automatically install all the declared build requirements if 3883 - action 4 : automatically install all the declared build requirements if
3868 `rpm_download_and_install' is set (see configuration file) 3884 `rpm_download_and_install' is set (see configuration file)
3869 - resolve_rpmvars(): make blank the undefined rpm variables beginning by `?' 3885 - resolve_rpmvars(): make blank the undefined rpm variables beginning by `?'
3870 - action 8, test 11 : run `id -un', `id -gn' just once 3886 - action 8, test 11 : run `id -un', `id -gn' just once
3871 * configuration file 3887 * configuration file
3872 - new configuration variables `rpm_download_and_install' 3888 - new configuration variables `rpm_download_and_install'
3873 (default value: "sudo apt-get -y install") 3889 (default value: "sudo apt-get -y install")
3874 * rpm4QiLinux-it-HOWTO 3890 * rpm4QiLinux-it-HOWTO
3875 - synchronized with current release 3891 - synchronized with current release
3876 - added a note about sudo usage/configuration 3892 - added a note about sudo usage/configuration
3877 3893
3878 -------------------------------------------------------------------------------- 3894 --------------------------------------------------------------------------------
3879 3895
3880 Changes in version 0.7.1 3896 Changes in version 0.7.1
3881 Wed Sep 28 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3897 Wed Sep 28 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3882 3898
3883 * pck-update plugin 3899 * pck-update plugin
3884 - `specfile.getvars()': new option `--verbatim' 3900 - `specfile.getvars()': new option `--verbatim'
3885 - action 2 : new test to check if the install/uninstall code is present 3901 - action 2 : new test to check if the install/uninstall code is present
3886 * spec-create plugin 3902 * spec-create plugin
3887 - use `rpm_macro_installinfo_binary' if defined in the configuration file 3903 - use `rpm_macro_installinfo_binary' if defined in the configuration file
3888 * configuration file 3904 * configuration file
3889 - new configuration variables `rpm_macro_installinfo_binary' 3905 - new configuration variables `rpm_macro_installinfo_binary'
3890 (default value: "%{__install_info}") 3906 (default value: "%{__install_info}")
3891 3907
3892 -------------------------------------------------------------------------------- 3908 --------------------------------------------------------------------------------
3893 3909
3894 Changes in version 0.7.0 3910 Changes in version 0.7.0
3895 Sat Sep 24 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3911 Sat Sep 24 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3896 3912
3897 * pck-update plugin 3913 * pck-update plugin
3898 - the function `resolve_rpmvars' now expands rpm variables like `%_target_cpu' 3914 - the function `resolve_rpmvars' now expands rpm variables like `%_target_cpu'
3899 - added support for conditional definitions like: 3915 - added support for conditional definitions like:
3900 %if "%{?cross_target_cpu}" != "" 3916 %if "%{?cross_target_cpu}" != ""
3901 %define target_platform %{cross_target_cpu}-qilinux-linux-gnu 3917 %define target_platform %{cross_target_cpu}-qilinux-linux-gnu
3902 %define target_cpu %{cross_target_cpu} 3918 %define target_cpu %{cross_target_cpu}
3903 %else 3919 %else
3904 %define target_platform %{_target_platform} 3920 %define target_platform %{_target_platform}
3905 %define target_cpu %{_target_cpu} 3921 %define target_cpu %{_target_cpu}
3906 %endif 3922 %endif
3907 where `cross_target_cpu' may be set via a `--define' command 3923 where `cross_target_cpu' may be set via a `--define' command
3908 - allow void strings in user definitions (--define) 3924 - allow void strings in user definitions (--define)
3909 ( i.e. : --define cross_target_cpu="" ) 3925 ( i.e. : --define cross_target_cpu="" )
3910 - more debug verbosity while performing rpm variables expansion 3926 - more debug verbosity while performing rpm variables expansion
3911 - new function `resolve_boolexpr' to calculate boolean expressions like: 3927 - new function `resolve_boolexpr' to calculate boolean expressions like:
3912 %if "%{?cross_target_cpu}" != "" 3928 %if "%{?cross_target_cpu}" != ""
3913 %if %{use_gcc_33} 3929 %if %{use_gcc_33}
3914 - rpm variables with prefix `?' are now supported 3930 - rpm variables with prefix `?' are now supported
3915 - autoformatting now also support `Serial', `NoSource', `NoPatch', `Prefix', 3931 - autoformatting now also support `Serial', `NoSource', `NoPatch', `Prefix',
3916 `ExclusiveArch', `ExclusiveOs', `ExcludeArch', `ExcludeOs, `BuildArch' 3932 `ExclusiveArch', `ExclusiveOs', `ExcludeArch', `ExcludeOs, `BuildArch'
3917 - backup/cleanup of old packages now also take care of the `Obsoletes' tags 3933 - backup/cleanup of old packages now also take care of the `Obsoletes' tags
3918 - code cleanups in function `specfile.update()' 3934 - code cleanups in function `specfile.update()'
3919 - action 8: new check for files with wrong user and/or group ownership 3935 - action 8: new check for files with wrong user and/or group ownership
3920 - action 10: noarch packages are now copied in all the repository branches 3936 - action 10: noarch packages are now copied in all the repository branches
3921 set in the new configuration variable `arch_noarch_upload[]' 3937 set in the new configuration variable `arch_noarch_upload[]'
3922 - new internal function `repository.obsoletes_pcks()' 3938 - new internal function `repository.obsoletes_pcks()'
3923 - action 10: code cleanups 3939 - action 10: code cleanups
3924 - action 8: test performance dramatically improved 3940 - action 8: test performance dramatically improved
3925 - action 10: new options `--nosrpm', `--norpm' 3941 - action 10: new options `--nosrpm', `--norpm'
3926 - print a warning message is the ftp upload has been disabled in the source 3942 - print a warning message is the ftp upload has been disabled in the source
3927 code via the boolean variable `do_ftp_upload' 3943 code via the boolean variable `do_ftp_upload'
3928 - create the logging directory (`logging_dir') if not found 3944 - create the logging directory (`logging_dir') if not found
3929 - the command `-S|--specfile' accepts now a specfile name with optional path 3945 - the command `-S|--specfile' accepts now a specfile name with optional path
3930 - action 2 now checks for sintax errors/non-standard stuff in the specfile 3946 - action 2 now checks for sintax errors/non-standard stuff in the specfile
3931 (was part of action 4) 3947 (was part of action 4)
3932 - several bugfixes 3948 - several bugfixes
3933 * spec-create plugin 3949 * spec-create plugin
3934 - when creating the specfile for a python package do use 3950 - when creating the specfile for a python package do use
3935 `python setup.py install --install-lib=%{_libdir}/site-python' 3951 `python setup.py install --install-lib=%{_libdir}/site-python'
3936 instead of 3952 instead of
3937 `python setup.py install --install-lib=%{_libdir}/python' 3953 `python setup.py install --install-lib=%{_libdir}/python'
3938 and 3954 and
3939 `CFLAGS=\"%{optflags}\" python setup.py build' 3955 `CFLAGS=\"%{optflags}\" python setup.py build'
3940 instead of 3956 instead of
3941 `python setup.py build' 3957 `python setup.py build'
3942 if C files have to be compiled during the build process 3958 if C files have to be compiled during the build process
3943 * autospec 3959 * autospec
3944 - `autospec --eval=<var>' now correctly display the values of variables 3960 - `autospec --eval=<var>' now correctly display the values of variables
3945 like `ftpdir_rw_rpms' (a vector) and `ftpdir_rw_rpms[0]' 3961 like `ftpdir_rw_rpms' (a vector) and `ftpdir_rw_rpms[0]'
3946 * configuration file 3962 * configuration file
3947 - new configuration variables: 3963 - new configuration variables:
3948 `arch_list' (list of all supported architectures) 3964 `arch_list' (list of all supported architectures)
3949 `arch_noarch_upload' (where noarch packages will be uploaded) 3965 `arch_noarch_upload' (where noarch packages will be uploaded)
3950 - `ftpdir_rw_rpms' and `ftpdir_rw_srpms' are now vectors and MUST have their 3966 - `ftpdir_rw_rpms' and `ftpdir_rw_srpms' are now vectors and MUST have their
3951 entries ordered as in `ftpurl_ro_rpms' and `ftpurl_ro_srpms' 3967 entries ordered as in `ftpurl_ro_rpms' and `ftpurl_ro_srpms'
3952 - `format_extra_rules' updated 3968 - `format_extra_rules' updated
3953 - new default value for `logging_dir' 3969 - new default value for `logging_dir'
3954 * extract-specs 3970 * extract-specs
3955 - a new script usefull to extract specfiles from srpms archives (does not 3971 - a new script usefull to extract specfiles from srpms archives (does not
3956 create temporary files) 3972 create temporary files)
3957 * Makefile 3973 * Makefile
3958 - added `install-tools' label 3974 - added `install-tools' label
3959 * i18n 3975 * i18n
3960 - added missing strings, several updates 3976 - added missing strings, several updates
3961 * rpm4QiLinux-it-HOWTO 3977 * rpm4QiLinux-it-HOWTO
3962 - synchronized with current release 3978 - synchronized with current release
3963 3979
3964 -------------------------------------------------------------------------------- 3980 --------------------------------------------------------------------------------
3965 3981
3966 Changes in version 0.6.4 3982 Changes in version 0.6.4
3967 Wed Aug 31 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3983 Wed Aug 31 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3968 3984
3969 * pck-update plugin 3985 * pck-update plugin
3970 - updated regexp in action 10 to support composite release numbers 3986 - updated regexp in action 10 to support composite release numbers
3971 (like `1.4qilnx') 3987 (like `1.4qilnx')
3972 - fixed a regression bug in function `resolve_rpmvars' 3988 - fixed a regression bug in function `resolve_rpmvars'
3973 3989
3974 -------------------------------------------------------------------------------- 3990 --------------------------------------------------------------------------------
3975 3991
3976 Changes in version 0.6.3 3992 Changes in version 0.6.3
3977 Wed Aug 03 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 3993 Wed Aug 03 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3978 3994
3979 * pck-update 3995 * pck-update
3980 - new option `--rebuild/-R' 3996 - new option `--rebuild/-R'
3981 - new action `0': checks for available version(s) of a given package in the 3997 - new action `0': checks for available version(s) of a given package in the
3982 repositories set in the configuration file(s) 3998 repositories set in the configuration file(s)
3983 - new option `--arch'/`-A' usefull to force a value for the architecture 3999 - new option `--arch'/`-A' usefull to force a value for the architecture
3984 instead of using the autodetection feature (needed when cross compiling) 4000 instead of using the autodetection feature (needed when cross compiling)
3985 - action `2' partially implemented 4001 - action `2' partially implemented
3986 * rpm4QiLinux-it-HOWTO 4002 * rpm4QiLinux-it-HOWTO
3987 - sync with current release 4003 - sync with current release
3988 4004
3989 -------------------------------------------------------------------------------- 4005 --------------------------------------------------------------------------------
3990 4006
3991 Changes in version 0.6.2 4007 Changes in version 0.6.2
3992 Fri Jul 29 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 4008 Fri Jul 29 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
3993 4009
3994 * spec-create 4010 * spec-create
3995 - correctly write configure scripts found in folders different from the 4011 - correctly write configure scripts found in folders different from the
3996 package root directory 4012 package root directory
3997 - do not write 4013 - do not write
3998 `%install_info *' 4014 `%install_info *'
3999 and 4015 and
4000 `%uninstall_info *' 4016 `%uninstall_info *'
4001 if the info page name(s) cannot be automatically detected 4017 if the info page name(s) cannot be automatically detected
4002 - use `$rpm_macro_makeinstall_perl' if set in the configuration file 4018 - use `$rpm_macro_makeinstall_perl' if set in the configuration file
4003 * pck-update 4019 * pck-update
4004 - release numbers in the form n1.n2[.n3] are now supported 4020 - release numbers in the form n1.n2[.n3] are now supported
4005 - modified specfile parsing in `resolve_rpmvars()' to support rpm definitions 4021 - modified specfile parsing in `resolve_rpmvars()' to support rpm definitions
4006 like %define label str1,str2,str3 4022 like %define label str1,str2,str3
4007 - fix in the autoformatting feature for `%build' blocks 4023 - fix in the autoformatting feature for `%build' blocks
4008 - use "%make test" instead of "make test" if "%make" is defined 4024 - use "%make test" instead of "make test" if "%make" is defined
4009 * configuration file 4025 * configuration file
4010 - new variable `rpm_macro_makeinstall_perl' (def. value: "%makeinstall_perl") 4026 - new variable `rpm_macro_makeinstall_perl' (def. value: "%makeinstall_perl")
4011 4027
4012 -------------------------------------------------------------------------------- 4028 --------------------------------------------------------------------------------
4013 4029
4014 Changes in version 0.6.1 4030 Changes in version 0.6.1
4015 Sat Maj 28 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 4031 Sat Maj 28 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
4016 4032
4017 * pck-update 4033 * pck-update
4018 - named piped files hang autospec: skip them while running checks for known 4034 - named piped files hang autospec: skip them while running checks for known
4019 vulnerabilities 4035 vulnerabilities
4020 - check if the ftp server is reachable before trying to upload the new 4036 - check if the ftp server is reachable before trying to upload the new
4021 packages or move the old ones to the backup folder, to avoid annoying and 4037 packages or move the old ones to the backup folder, to avoid annoying and
4022 repetitive error messages printed by the ftp tool 4038 repetitive error messages printed by the ftp tool
4023 - quality package checks: do not warn for executables found in 4039 - quality package checks: do not warn for executables found in
4024 `/etc/rc.d/init.d/' 4040 `/etc/rc.d/init.d/'
4025 - major changes in the autoformatting algorithm to avoid stripping of 4041 - major changes in the autoformatting algorithm to avoid stripping of
4026 conditional directives 4042 conditional directives
4027 - allow leading spaces in the preamble entries 4043 - allow leading spaces in the preamble entries
4028 - autoformatting feature: reordering of preamble lines is only performed if 4044 - autoformatting feature: reordering of preamble lines is only performed if
4029 no conditional directives ('%if' commands) has been found 4045 no conditional directives ('%if' commands) has been found
4030 - autoformatting feature: comment lines are now not stripped out but appended 4046 - autoformatting feature: comment lines are now not stripped out but appended
4031 at the end of the preamble (sorry, autospec is not cleaver enought to do 4047 at the end of the preamble (sorry, autospec is not cleaver enought to do
4032 something better for now) 4048 something better for now)
4033 - package version entered by user at command line is cosidered now when 4049 - package version entered by user at command line is cosidered now when
4034 expanding rpm '%define' commands, to fix this bug: 4050 expanding rpm '%define' commands, to fix this bug:
4035 4051
4036 %define majversion %(echo %version | cut -d. -f 1-2) 4052 %define majversion %(echo %version | cut -d. -f 1-2)
4037 Name: libgtkhtml 4053 Name: libgtkhtml
4038 Version: 2.4.1 4054 Version: 2.4.1
4039 Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{majversion}/%{name}-%{version}.tar.bz2 4055 Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{majversion}/%{name}-%{version}.tar.bz2
4040 ... 4056 ...
4041 4057
4042 $ autospec -u libgtkhtml 2.6.3 -a3 4058 $ autospec -u libgtkhtml 2.6.3 -a3
4043 ... 4059 ...
4044 1] http://ftp.gnome.org/pub/GNOME/sources/libgtkhtml/2.4/libgtkhtml-2.6.3.tar.bz2 4060 1] http://ftp.gnome.org/pub/GNOME/sources/libgtkhtml/2.4/libgtkhtml-2.6.3.tar.bz2
4045 ERROR: should be 2.6 --> ^^^ 4061 ERROR: should be 2.6 --> ^^^
4046 - minor fixes 4062 - minor fixes
4047 * configuration file 4063 * configuration file
4048 - removed variables 4064 - removed variables
4049 - ftp_ro_server 4065 - ftp_ro_server
4050 - ftp_ro_port 4066 - ftp_ro_port
4051 - ftpurl_ro (was: ftp://ftp.qilinux.it:21/pub/QiLinux/devel) 4067 - ftpurl_ro (was: ftp://ftp.qilinux.it:21/pub/QiLinux/devel)
4052 - modified the meaning/name of 4068 - modified the meaning/name of
4053 - ftpurl_ro_rpms 4069 - ftpurl_ro_rpms
4054 from : ${ftpurl_ro[0]}/RPMS 4070 from : ${ftpurl_ro[0]}/RPMS
4055 to : ftp://ftp.qilinux.it:21/pub/QiLinux/devel/RPMS 4071 to : ftp://ftp.qilinux.it:21/pub/QiLinux/devel/RPMS
4056 - ftpurl_ro_srpms 4072 - ftpurl_ro_srpms
4057 from : ${ftpurl_ro[0]}/SRPMS 4073 from : ${ftpurl_ro[0]}/SRPMS
4058 to : ftp://ftp.qilinux.it:21/pub/QiLinux/devel/SRPMS 4074 to : ftp://ftp.qilinux.it:21/pub/QiLinux/devel/SRPMS
4059 - new variable: `rpm_macro_pyver' : python version 4075 - new variable: `rpm_macro_pyver' : python version
4060 - new variable `format_autoformat' 4076 - new variable `format_autoformat'
4061 - the boolean variable `format_extra_rules' is now a list of sed command 4077 - the boolean variable `format_extra_rules' is now a list of sed command
4062 distro specific. For QiLinux, now the rules are: 4078 distro specific. For QiLinux, now the rules are:
4063 format_extra_rules="\ 4079 format_extra_rules="\
4064 s,\(%{_mandir}/.*man[0-9]/.*\.\)[0-8]$man_compress_ext.*,\1\*, 4080 s,\(%{_mandir}/.*man[0-9]/.*\.\)[0-8]$man_compress_ext.*,\1\*,
4065 s,\(/usr/share/man/.*man[0-9]/.*\.\)[0-8]$man_compress_ext.*,\1\*, 4081 s,\(/usr/share/man/.*man[0-9]/.*\.\)[0-8]$man_compress_ext.*,\1\*,
4066 s,\(%{_infodir}/.*\.\)info$man_compress_ext.*,\1\*, 4082 s,\(%{_infodir}/.*\.\)info$man_compress_ext.*,\1\*,
4067 s,\(/usr/share/info/.*\.\)info$man_compress_ext.*,\1\*, 4083 s,\(/usr/share/info/.*\.\)info$man_compress_ext.*,\1\*,
4068 s,\&\& rm -rf %{buildroot},\&\& rm -rf \"%{buildroot}\", 4084 s,\&\& rm -rf %{buildroot},\&\& rm -rf \"%{buildroot}\",
4069 s,test x\"%{buildroot}\" != x/,[ \"%{buildroot}\" != / ], 4085 s,test x\"%{buildroot}\" != x/,[ \"%{buildroot}\" != / ],
4070 s,make[ \t]*%[{]*[?]*_smp_mflags[}]*,$rpm_macro_make, 4086 s,make[ \t]*%[{]*[?]*_smp_mflags[}]*,$rpm_macro_make,
4071 s,^[ \t]*\([%]*make\)[ \t]*pure_install[ \t]*$,\1 pure_install DESTDIR=%{buildroot}," 4087 s,^[ \t]*\([%]*make\)[ \t]*pure_install[ \t]*$,\1 pure_install DESTDIR=%{buildroot},"
4072 - new variable: `curl_options': options used by curl while dowloading source files. 4088 - new variable: `curl_options': options used by curl while dowloading source files.
4073 The default value is: "-O -f --connect-timeout 15 --retry 2 --progress-bar" 4089 The default value is: "-O -f --connect-timeout 15 --retry 2 --progress-bar"
4074 * spec-create 4090 * spec-create
4075 - when a specfile for a python package is created, the requirement for python 4091 - when a specfile for a python package is created, the requirement for python
4076 is added 4092 is added
4077 - specfile for perl updated 4093 - specfile for perl updated
4078 make pure_install --> make pure_install DESTDIR=%{buildroot} 4094 make pure_install --> make pure_install DESTDIR=%{buildroot}
4079 * rpm4QiLinux-it-HOWTO 4095 * rpm4QiLinux-it-HOWTO
4080 - in sync with current release 4096 - in sync with current release
4081 * i18n 4097 * i18n
4082 - fixed a typo error 4098 - fixed a typo error
4083 4099
4084 -------------------------------------------------------------------------------- 4100 --------------------------------------------------------------------------------
4085 4101
4086 Changes in version 0.6.0 4102 Changes in version 0.6.0
4087 Mon Apr 25 2005 Davide Madrisan <davide.madrisan(a)qilinux.it> 4103 Mon Apr 25 2005 Davide Madrisan <davide.madrisan(a)qilinux.it>
4088 4104
4089 * configuration file 4105 * configuration file
4090 - new default configuration for `ftpurl_ro' and `ftpurl_ro_[s]rpms' vectors: 4106 - new default configuration for `ftpurl_ro' and `ftpurl_ro_[s]rpms' vectors:
4091 when downloading files, first search in the devel tree and the files are 4107 when downloading files, first search in the devel tree and the files are
4092 not found try with devel-contrib 4108 not found try with devel-contrib
4093 - new variables: 4109 - new variables:
4094 - `ftp_ro_server' : server from where packages are downloaded 4110 - `ftp_ro_server' : server from where packages are downloaded
4095 - `ftp_rw_server' : server where packages are uploaded 4111 - `ftp_rw_server' : server where packages are uploaded
4096 - new variables: `ftp_ro_port' and `ftp_rw_port' 4112 - new variables: `ftp_ro_port' and `ftp_rw_port'
4097 `ftp_port' is an alias for `ftp_ro_port' and `ftp_rw_port' if the latter 4113 `ftp_port' is an alias for `ftp_ro_port' and `ftp_rw_port' if the latter
4098 variables are not set 4114 variables are not set
4099 - new variables: `ftp_rw_passive_mode' 4115 - new variables: `ftp_rw_passive_mode'
4100 `ftp_passive_mode' is an alias for `ftp_rw_passive_mode' if this variable 4116 `ftp_passive_mode' is an alias for `ftp_rw_passive_mode' if this variable
4101 is not set 4117 is not set
4102 - new variables: 4118 - new variables:
4103 format_preamble_tab 4119 format_preamble_tab
4104 format_description_width (was `description_width') 4120 format_description_width (was `description_width')
4105 format_unix_tools (was `use_rpm_vars_for_tools') 4121 format_unix_tools (was `use_rpm_vars_for_tools')
4106 format_buildroot_value (was `BuildRoot_stdvalue') 4122 format_buildroot_value (was `BuildRoot_stdvalue')
4107 format_buildroot (default value: "%{buildroot}") 4123 format_buildroot (default value: "%{buildroot}")
4108 format_builddir (default value: "%{_builddir}") 4124 format_builddir (default value: "%{_builddir}")
4109 format_extrarules 4125 format_extrarules
4110 path_ldconfig (was `ldconfig_path') 4126 path_ldconfig (was `ldconfig_path')
4111 path_installinfo (was `installinfo_path') 4127 path_installinfo (was `installinfo_path')
4112 * autospec 4128 * autospec
4113 - code updates to support the new configuration variables (see above) 4129 - code updates to support the new configuration variables (see above)
4114 - short option for `--debug' is now `-D' (was `-d') 4130 - short option for `--debug' is now `-D' (was `-d')
4115 - a few changes in the online help 4131 - a few changes in the online help
4116 * pck-update 4132 * pck-update
4117 - code updates to support the new configuration variables (see above) 4133 - code updates to support the new configuration variables (see above)
4118 - better help message when code to [un]install info pages is not detected 4134 - better help message when code to [un]install info pages is not detected
4119 - implemented support for conditional definition of rpm variables in the 4135 - implemented support for conditional definition of rpm variables in the
4120 specfile preamble 4136 specfile preamble
4121 %define use_gcc33 0 4137 %define use_gcc33 0
4122 %if %{use_gcc33} 4138 %if %{use_gcc33}
4123 %define BUILD_CC "ccache gcc33" 4139 %define BUILD_CC "ccache gcc33"
4124 %else 4140 %else
4125 %define BUILD_CC "ccache gcc" 4141 %define BUILD_CC "ccache gcc"
4126 %endif 4142 %endif
4127 - exit with error when a bad specfile is detected (mostly duplicate entries) 4143 - exit with error when a bad specfile is detected (mostly duplicate entries)
4128 - fixed a long standing bug occurring when invoking the autoformatting 4144 - fixed a long standing bug occurring when invoking the autoformatting
4129 feature over a specfile preamble with one or more blank lines 4145 feature over a specfile preamble with one or more blank lines
4130 - exit with error if a `%description' with no body is detected 4146 - exit with error if a `%description' with no body is detected
4131 - if `format_description_width' is `0', the description body is not formatted 4147 - if `format_description_width' is `0', the description body is not formatted
4132 (verbatim copy) 4148 (verbatim copy)
4133 - few other improvements and bugfixes in the autoformatting feature 4149 - few other improvements and bugfixes in the autoformatting feature
4134 - correctly parse URLs with space characters 4150 - correctly parse URLs with space characters
4135 - download of multiple source files (`Source[0-9]*') implemented 4151 - download of multiple source files (`Source[0-9]*') implemented
4136 - broken `--specfile' option fixed 4152 - broken `--specfile' option fixed
4137 - new `--define' option: usefull to set one or more rpm variables used in 4153 - new `--define' option: usefull to set one or more rpm variables used in
4138 the specfile, for instance the version number of extra source files 4154 the specfile, for instance the version number of extra source files
4139 [specfile] 4155 [specfile]
4140 %define addons_ver 1.2.3 4156 %define addons_ver 1.2.3
4141 Source0: http://www.we