-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
4830 lines (3794 loc) · 172 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Changes in version 1.16.7
--- --- -- 2016 Madrisan <davide.madrisan(a)gmail.com>
+ improvement
* templates/kde5 - Silvan Calarco
(Not very recent) updates to template.
* conf/04-rpmbuild-format-unpackaged-filelist.conf - Silvan Calarco
moving KDE4 icons to /usr/share/icons to share them with KF5.
* conf/03-apse.conf - Silvan Calarco
use a mirror for distrowatch or they will ban your IP.
* templates/python - Davide Madrisan
Add the rpm macros required for building both Python2 and Python3 packages
with a single specfile.
+ bugfix
* lib/libnetwork.lib - Silvan Calarco
Support for git repositories which don't have '.git' in their url.
-------------------------------------------------------------------------------
Changes in version 1.16.6
Thu May 07 2015 Madrisan <davide.madrisan(a)gmail.com>
+ improvement
* lib/libspec.lib - Davide Madrisan
Accept the rpm token %global which defines macros in global context.
* templates/ghc - Davide Madrisan
Improve the template and fix some indentation issues.
* conf/color-theme.web - Silvan Calarco
Make error text bolder to be more readable on red background
* templates/kde5, plugins/{spec-create,pck-update} - Davide Madrisan
Add a basic support for the KDE Framework 5 packages.
+ bugfix
* plugins/pck-update
Stricter checks on buildreqs with explicit arch.
-------------------------------------------------------------------------------
Changes in version 1.16.5 - "End-of-year" release
Tue Dec 30 2014 Madrisan <davide.madrisan(a)gmail.com>
+ improvement
* templates/ghc - Silvan Calarco
New template for ghc modules.
+ bugfix
* templates/python - Silvan Calarco
Remove unexisting option '--single-version-externally-managed'.
* pck-update - Davide Madrisan
Fix the way 'package.generate_name()' return the package path when the
option '-p' has not been specified.
Bug reported by Silvan Calarco.
+ improvement
* pck-update - Silvan Calarco
Specify target_cpu when installing build requirements for x86_64 multiarch
support.
+ bugfix
* lib/libnetwork.lib - Silvan Calarco
.git suffix is not optional when cloning from http/https urls.
* conf/04-rpmbuild-format-unpackaged-filelist.conf - Davide Madrisan
Split the translation rules for the unpackaged files into a common block
('format_unpackaged_file_list_common') and an architecture-specific file
per supported architecture (currently 'i586' and 'x86_64').
This solves the problem of some wrongly filenames reported by autospec
when running on the x86_64 architecture.
Issue pointed out by Silvan Calarco.
* conf/04-rpmbuild-format-unpackaged-filelist.conf - Davide Madrisan
The translation rules for Python 2.7 and Python 3 have been updated
to reflect the current support for Python in openmamba.
+ improvement
* spec-create - Davide Madrisan
Create a correct %build block in the specfile generated from tarballs
that do not provide any 'configure' script but only an 'autogen,sh' one.
Feature asked by Silvan Calarco.
* spec-create - Davide Madrisan
specfile.create(): always execute 'git.create_tarball()' with the option
'--pck-version'. This way a user-provided package version will be used
instead of the default one.
Feature asked by Silvan Calarco.
* lib/libnetwork.lib - Davide Madrisan
git.download(): document and honour the '--pck-version' when set.
+ bugfix
* pkg-update - Silvan Calarco
'--target' needs to be passed as last option to rpmbuild.
+ improvement
* pck-update - Silvan Calarco
Support for package.arch specfile build requirement.
When this form of requirement is detected it is converted to package@arch
as required by smart.
Also add comments and a FIXME about a problem with previous patch of this
+ bugfix
* tests/{test01_pkgquality,test02_pkgsecurity} - Davide Madrisan
Fix an obsolete and now unsupported syntax for 'find -perm'.
+ improvement
* lib/libnetwork.lib - Davide Madrisan
Do not use the external tool 'which'. Use the bash builtin command 'type'.
-------------------------------------------------------------------------------
Changes in version 1.16.4 - "Korbielow" release
Fri Nov 08 2013 Madrisan <davide.madrisan(a)gmail.com>
+ bugfix
* lib/libtest.lib - Davide Madrisan:
Replace 'notify --error' by 'notify.error'.
* tests/test01_pkgquality - Davide Madrisan:
Test for bad BuildArch tags: modify regexp to catch OCaml library files.
* tests/test01_pkgquality - Davide Madrisan:
Check for wrong file attributes in bin and lib directories:
Do ignore files with name matching '*.so.owner'. These are text files
used by OCaml.
+ update
* conf/02-specfile-rpm-groups.conf - Davide Madrisan:
Add specific rpm groups for OCaml libraries and development packages.
+ improvement
* templates/ocaml-libs, templates/Makefile - Davide Madrisan:
New autospec template for OCaml libraries.
* plugins/spec-create - Davide Madrisan:
Add support for the new template ocaml-libs.
* conf/02-specfile-rpm-macros-ocaml.conf - Davide Madrisan:
New configuration file for the OCaml (library) modules.
+ update
* po/it/pck-update.po - Davide Madrisan:
Update the italian translation strings.
* italian manpage - Davide Madrisan:
Document the new template ocaml-libs.
* test00_specsyntax - Davide Madrisan:
Remove the test about the provided infopages because it's a duplicate of
the test implemented in 'test01_pkgquality'.
+ improvement
* test01_pkgquality - Davide Madrisan:
Improve the test for not or badly installed infopages and make a better
help message.
+ bugfix
* pck-update - Silvan Calarco:
Don't clone from git repository at every build is source with current
version already exists.
* pck-update - Silvan Calarco:
Fix update of git urls starting with and https://
Source URLs from git don't just end with '.git', btw they can be detected
by searching for '.git/'.
* lib/libnetwork.lib - Silvan Calarco:
Fix necessary and tested with code.google.com
Additionally print full 'git clone ..' command line used in debug output.
+ improvement
* pck-update - Davide Madrisan:
New function 'package.generate_name()' required for removing duplicated
code and fix a long standing issue.
* pck-update, spec-create - Silvan Calarco:
New options '--packager-fullname' and '--packager-email'.
+ bugfix
* po/it/autospec.po - Davide Madrisan:
Add missing translation strings.
+ update
* autospec, pck-update - Davide Madrisan:
Update the copyleft messages.
* italian manpage - Davide Madrisan:
Update the italian manpage by documenting the new '--packager-fullname'
and '--packager-email' options.
+ bugfix
* pck_update - Silvan Calarco
More changes on 'rpmbuildopt' parameters ordering to workaround cross-arch
builds. This is still a workaround to allow cross-arch builds with long rpm
command lines because it seems that rpmbuild is ignoring extra passed
parameters when they exceed a certain number (5 or 6 as far as I remember).
* pck-update - Silvan Calarco
'buildreqs_to_install': keep conservative classic behaviour on archs
different from x86_64.
* pck-update - Silvan Calarco
Fix duplicated names in 'BuildRequires' in multiarch systems (x86_64).
* pck-update - Davide Madrisan
Always rebuild srpm when rpms are built unless --nosrpm is passed.
* pck-update - Davide Madrisan
Fix the way 'package.generate_name()' return the package path.
Bug reported by Silvan Calarco.
-------------------------------------------------------------------------------
Changes in version 1.16.3
Mon Mar 04 2013 Madrisan <davide.madrisan(a)gmail.com>
+ bugfix
* lib/libapse.lib - Silvan Calarco:
Fix and simplify update check at sourceforge.net.
* pck-update - Silvan Calarco:
Restore support for passing user parameters to rpm.
Bug introduced in version 1.16.2 while creating 'specfile.check_syntax()'.
* lib/libspec.lib - Davide Madrisan:
Fix initialization of SPEC_SOURCE0 and SPEC_SOURCE0_VERBATIM.
* lib/libspec.lib - Silvan Calarco:
Reworked sed expressions to get SPEC_SOURCE0_PCKNAME from SPEC_SOURCE0.
* lib/libspec.lib - Silvan Calarco:
Also support "=" relation when assigning SPEC_OBSOLETES.
* plugins/spec-create - Silvan Calarco:
Fix regexp to detect names starting with 'lib' (sample failing case: lilv)
* plugins/spec-create - Davide Madrisan:
Fix package version detection of source tarballs that have been created by
'git.create_tarball'.
+ improvement
* templates/web - Silvan Calarco:
New template for web application packages.
+ bugfix
* conf/02-specfile-formatting-rules.conf - Davide Madrisan:
Do not warn if a 'source0' file URL begins by 'git://'.
+ update
* pck-create, italian manpage - Davide Madrisan:
Update the help message and the italian manpage by documenting the new
target 'web'.
* po/it/pck-update.po - Davide Madrisan:
Update the italian translation strings.
-------------------------------------------------------------------------------
Changes in version 1.16.2 - Christmas Release
Tue Dec 18 2012 Madrisan <davide.madrisan(a)gmail.com>
+ update
* lib/libspec.lib - Davide Madrisan:
New function 'specfile.check_syntax()' based on the code previously
located in the module pck-update (function 'infofile.create()').
+ improvement
* lib/libspec.lib - Davide Madrisan:
'rpm -q --specfile --specedit <specfile>' does not always exit with an
error code when the specfiles have syntax errors.
Try to catch these problems too.
(This problem has been pointed out by Silvan Calarco).
* lib/libmsgmng.lib - Davide Madrisan:
Translate "ERROR", "WARNING", and "DEBUG".
* lib/libspec.lib - Davide Madrisan:
Better error reporting in case of syntax errors in the specfiles.
+ update
* po/it/autospec.po - Davide Madrisan:
Update the tranlation file.
-------------------------------------------------------------------------------
Changes in version 1.16.1
Sun Dec 02 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ improvement
* po/it/Makefile - Davide Madrisan:
Target 'locales': check 'autospec.po' for untranslated strings.
+ bugfix
* po/it/autospec.po - Davide Madrisan:
Add a missing translation.
+ update
* po/it/Makefile - Davide Madrisan:
Better output messages.
* Makefile.env - Davide Madrisan:
The variables PO_COPYRIGH_HOLDER and PO_BUGS_ADDRESS are no longer
required. Remove them.
* lib/libtranslate.lib - Davide Madrisan:
New library libtranslate.lib.
* lib/*, plugins/*, tests/* - Davide Madrisan:
Use libtranslate.lib instead of duplicate the code in every library,
plugin, and test module.
* config-getvar - Davide Madrisan:
Update the help message.
+ bugfix
* lib/* - Davide Madrisan:
Get rid of the clashing variables 'me'.
* lib/libapse.lib - Davide Madrisan:
Do not use the real paths of libspe.lib. Use @libdir@ instead.
+ update
* lib/*, tests/* - Davide Madrisan:
Add a debug message saying that the file is being loaded.
-------------------------------------------------------------------------------
Changes in version 1.16.0
Mon Nov 26 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ update
* Makefile - Davide Madrisan:
Target 'check': also check library files.
+ bugfix
* conf/03-apse.conf - Silvan Calarco:
Fix sed expression not to match trailing spaces in:
. http://directory.fsf.org
. http://launchpad.net
+ update
* Makefiles - Davide Madrisan:
New target 'pot-files'.
* Makefiles.env, Makefile's - Davide Madrisan:
Add some variables to Makefiles.env and use them in the make targets
'pot-files'.
+ bugfix
* pck-update - Davide Madrisan:
Do not ignore the option '--changelog' when the variable
'changelog_userdef' is defined in one of the configuration files.
+ improvement
* Makefiles.env, Makefile's, po files - Davide Madrisan:
Improved translation framework.
New makefile targets: 'pot-files', 'pot-merge', and 'locales-concatenate'.
* autospec, plugins/*, lib/*, tests/* - Davide Madrisan:
Set TEXTDOMAIN to "autospec-all" (point to the global translation file
instead of using the partial ones).
* plugins/* - Davide Madrisan:
Do not load a library previously loaded by another module.
+ bugfix
* plugins/* - Davide Madrisan:
Bug introduced in version 1.14.3.
Run 'notify.enable_colors' once the configuration files are loaded.
(Problem noticed by Silvan Calarco in 'pck-update').
+ improvement
* Translation framework - Davide Madrisan:
xgettext is buggy (doesn't bump all the strings that need to be
translated) so switch to 'bash --dump-po-strings'.
Remove all the partial .po files and dinamically create a global .pot
file which will be merged to autospec.po at every build.
+ update
* autospec - Davide Madrisan:
Remove the obsolete option '-r|--colorize'.
+ bugfix
* autospec, plugins/* - Davide Madrisan:
Rework the logic of the command-line options parser to let it work in
conjunction with the late load of the configuration files.
-------------------------------------------------------------------------------
Changes in version 1.14.3
Sun Nov 18 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ bugfix
* autospec - Davide Madrisan:
Fix parsing of multi-string arguments.
+ update
* autospec - Davide Madrisan:
Add some update debug messages.
+ improvement
* autospec, plugins/* - Davide Madrisan:
Add the option '-C|--config' for selecting a different user configuration
file or list of user configuration files.
+ bugfix
* pck-update - Davide Madrisan:
Fix a string translation by adding the missing '$' prefix.
+ improvement
* libcfg.lib, plugins/config-getvar - Davide Madrisan:
Option '-C|--config': accept a list of configuration files containing
wilcards.
+ bugfix
* lib/libapse.lib - Silvan Calarco:
Fix some version comparison errors by specifying numbers base.
-------------------------------------------------------------------------------
Changes in version 1.14.2
Mon Nov 12 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ bugfix
* plugins/* - Davide Madrisan:
Execute 'notify.disable_colors()' when 'colorize' is set to '0' (disabled)
to ignore color redefinitions made by user.
+ update
* autospec - Davide Madrisan:
Send the debug message showing autospec version as soon as possible.
+ improvement
* autospec, plugins/*, lib/lib*.lib - Davide Madrisan:
A color scheme can be selected now by using the new command-line option
'--colorize-theme'.
* lib/libmsgmng.lib, conf/Makefile - Davide Madrisan:
Move theme settings to configuration files (color-theme.*)
+ update
* autospec.spec - Davide Madrisan:
Remove the variable 'rpmbuild_group': it's no more needed. Personal data
is located in the files ~/.autospec and ~/.autospec.d/*.conf
* lib/libcfg.lib - Davide Madrisan:
config.security(): do not check for configuration files groups and
permissions. These files are now own by root and never contain sensible
data (that is passwords).
* plugins/* - Davide Madrisan:
The option '--colorize-theme' must set colorize to '1'.
* autospec - Davide Madrisan:
Deprecate the option '--colorize'.
* configuration - Davide Madrisan:
Add 'color-theme.none'. This theme can be used to disable color themes.
* autospec, autospec.conf, plugins/* - Davide Madrisan:
Replace the option '--colorize' by '--colors <color-theme>'.
+ improvement
* libmsgmng.lib - Davide Madrisan:
Allow users to write and select customized color schemes:
~/.autospec.d/color-theme.<color_scheme>"
+ update
* conf/Makefile - Davide Madrisan:
Simplify the makefile by removing the static list of files.
* italian manpage - Davide Madrisan:
Update italian manpage and document new extensions.
+ bugfix
* tests/* - Davide Madrisan:
Fix the color tags of the final message in each test module; they worked
for teminal colors but not for the web scheme.
(Bug discovered by Silvan Calarco)
-------------------------------------------------------------------------------
Changes in version 1.14.1 - _TO*Hacklab release
Fri Nov 09 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ improvement
* plugins/spec-create - Davide Madrisan:
New option '--changeglog'.
+ update
* po/it/spec-create - Davide Madrisan:
Updated.
+ bugfix
* plugins/config-getvar, lib/libcfg.lib - Davide Madrisan:
Fix the help message (incorrect list of default files).
+ update
* po/it/config-getvar - Davide Madrisan:
Updated.
+ bugfix
* plugins/pck-update - Silvan Calarco:
Restore build requirement detection for *.so requirements
+ improvement
* templates/standard - Davide Madrisan:
Add a devel subpackage.
+ update
* autospec - Davide Madrisan:
Postpone the load of libcfg.lib to allow users to set a different
configuration file (will be done in a following patch).
+ improvement
* lib/libmsgmng.lib - Davide Madrisan:
Do not set ESC, CRIT, NOTE, WARN, EXIT, and NORM when already defined by
the user. This will permit users to redefine the terminal colors or even
define very different color sequences, like the colors used in web pages.
(A feature asked by Silvan for openmamba webbuild).
+ improvement
* conf/autospec.conf - Davide Madrisan:
Better documentation for terminal (and web) color setup.
-------------------------------------------------------------------------------
Changes in version 1.14.0
Thu Nov 01 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ update
* autospec.spec - Davide Madrisan:
Update the URL tag.
* autospec.spec - Davide Madrisan:
Make the specfile more distro-agnostic.
* Makefile - Davide Madrisan:
Modify the 'dist' directive to allow 'make dist', 'make dist-rpm', and
'make dist-rpm-install' with a cloned git archive.
+ bugfix
* autospec.spec - Davide Madrisan:
Add a missing build requirement: make.
+ update
* tests/test01_pkgquality - Davide Madrisan:
Do not use the operator '|&'. Use instead '2>&1 |' which is compatible at
least with bash 3.2.
* lib/libnetwork.lib - Davide Madrisan:
Clone the entire git repository when the option '--preserve-dot-git' is
selected by user.
* lib/libnetwork.lib - Davide Madrisan:
Print an informational message before creating the source compressed
tarball. This may take a while.
+ bugfix
* po/it/spec-create.po - Davide Madrisan:
Add missing translations.
+ update
* Makefile - Davide Madrisan:
Make 'make dist' a bit more verbose.
+ bugfix
* plugins/pck-update.in - Davide Madrisan:
infofile.create(): quote all the elements of SPEC_SOURCE to avoid problems
when the URL contains the letter '&'.
(Problem pointed out by Silvan Calarco.)
* lib/libnetwork.lib - Davide Madrisan:
curl.download(): do use the curl options set by the function argument
'--options' (or '-o') instead of the global variable '$curl_options'.
+ update
* autospec.spec - Davide Madrisan:
Update some requirements of the autospec subpackages in order to always use
the real package names instead of their aliases ('Provides' tag).
* lib/libnetwork.lib - Davide Madrisan:
New helper function: 'git.download()'.
+ improvement
* pck-update - Davide Madrisan:
Action 3,5: support source files update from a git repository.
* lib/libnetwork.lib - Davide Madrisan:
git.download(), git.create_tarball(): new option '--pck-version'.
* pck-update - Davide Madrisan:
Action 3,5: set the package version when calling 'git.download()'.
* lib/libnetwork.lib - Davide Madrisan:
git.create_tarball(): add a warning message when the version passed to the
function is not the expected one (that is a string made by the current
date in the format YYYYMMDD followed by "git").
+ bugfix
* pck-update - Silvan Calarco:
Try to avoid reporting package requirements set with 'Requires:' as build
requirements. Unless not better identified requirements are in 'a(b)' form
don't report them as build requirements to avoid breaking stage1 builds and
causing unneeded circular dependencies.
(patch by Silvan Calarco)
+ improvement
* pck-update - Davide Madrisan:
Add a warning message when a requirement is ignored.
+ update
* po/it/pck-update.po - Davide Madrisan:
Updated.
-------------------------------------------------------------------------------
Changes in version 1.12.5
Wed Oct 03 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ bugfix
* autospec.spec - Davide Madrisan:
Add a build requirement for gettext.
+ improvement
* lib/libnetwork.lib - Davide Madrisan:
git.create_tarball(): run 'git clone --depth=1' to only clone the last
commit. We do not need to clone the whole git repository.
(Thanks to Silvan Calarco:silvan.calarco(a)mambasoft.it for spotting this.)
+ bugfix
* lib/libnetwork.lib - Davide Madrisan:
git.create_tarball(): fix typo.
+ update
* lib/libnetwork.lib - Davide Madrisan:
git.create_tarball(): add some debug messages.
+ improvement
* spec-create - Davide Madrisan:
specfile.create(): modify the 'Source' tag by including a parsable git url.
-------------------------------------------------------------------------------
Changes in version 1.12.4
Sat Sep 22 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ update
* lib/libapse.lib - Davide Madrisan:
Coding style fixes.
+ improvement
* test/test01_pkgquality - Davide Madrisan:
When a file is detected as problematic do add its mime type.
+ update
* lib/libnetwork.lib - Davide Madrisan:
Remove the extra newline added to workaroung a bug in curl.
It's fixed now.
+ improvement
* spec-create - Davide Madrisan:
Document the creation of a specfile starting from a git repository.
* spec-create, lib/libnetwork.lib - Madrisan:
Add aupport for git branches in spec-create by adding the new options
'--git-branch' and '--preserve-dot-git'.
+ update
* lib/libnetwork.lib - Madrisan:
Do not run the git command in quiet mode.
-------------------------------------------------------------------------------
Changes in version 1.12.3
Tue Jul 17 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ improvement
* pck-update - Davide Madrisan:
Action 4: allow a distribution-ID "upgrade" when updating the release
number.
Example: 1mamba --> 2mamba2
(when DISTRO_rpm="mamba2" is set in the configuration files).
Feature asked by Silvan Calarco.
+ bugfix
* pck-update, libnetwork.lib - Davide Madrisan:
A package name can contain one or more undescores so add it to the list of
allowed characters in 'repository.get_srpm_pckname_from_site()'.
(Problem pointed out by Silvan Calarco.)
+ update
* conf/03-apse.conf - Stefano Cotta Ramusino:
Add 'apse_enabled' array to enable/disable a specific APSE site.
Add new sites for APSE:
. http://directory.fsf.org
. http://launchpad.net
* lib/libapse.lib - Stefano Cotta Ramusino:
Update Copyright messages.
+ bugfix
* conf/03-apse.conf - Stefano Cotta Ramusino:
Fix scraping values in APSE arrays for following sites:
. http://fileforum.betanews.com
. http://linux.softpedia.com
. http://www.gnomefiles.org -> http://gnomefiles.org
. http://freshmeat.net -> http://freecode.com
* lib/libapse.lib - Stefano Cotta Ramusino:
apse.cmpversion(): some versioning methods use next letter of the alphabet
for new version so compare versions alphabetically if there're still
letters after comparison based on 'precedence' array.
* lib/libspec.lib - Stefano Cotta Ramusino:
rpmvars.solve(): passing rpmvars to "rpm --eval" to expand compound rpm
variables such as %{majorminor}.
+ improvement
* lib/libapse.lib - Stefano Cotta Ramusino:
Modify debug output to get it more readable.
* pck-update - Stefano Cotta Ramusino:
Action 3: generate correct download URL getting new version from action 2
or from command line parameter.
+ update
* lib/libapse.lib, lib/libspec.lib - Davide Madrisan:
Style fixes.
+ improvement
* lib/libapse.lib - Davide Madrisan:
Do not use 'dirname' and 'basename': bash provides primitives to do that.
+ update
* conf/02-specfile-formatting-rules.conf - Davide Madrisan:
'library_name_structure': new default value is now "".
The old value ("^lib") does no longer apply.
(Modification asked by Silvan Calarco.)
-------------------------------------------------------------------------------
Changes in version 1.12.2
Mon May 28 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ update
* italian manpage - Davide Madrisan:
Add a few more examples for 'autospec -u' and add a short comment before
each example.
+ update
* pck-update - Davide Madrisan:
Do not check for missing build requirements and source files when
pck-update is invoked with the option '--list-check'.
+ update
* templates/kde4
Add a requirement for kdelibs-devel in the -devel package preamble.
Add a build requirement for automoc4.
+ improvement
* pck-update - Davide Madrisan:
Action 6: new option '--update-autobuildreq' which replace a block
'AUTOBUILDREQ-BEGIN' ... 'AUTOBUILDREQ-END' by an updated one.
-------------------------------------------------------------------------------
Changes in version 1.12.1
Wed May 23 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ bugfix
* pck-update - Davide Madrisan:
Fix message to let work the italian translation.
+ update
* conf/02-specfile-formatting-rules.conf - Davide Madrisan:
Update 'source0_name_structure' to allow *.tar.xz archives.
* test/*, pck-update - Davide Madrisan:
Update/add the code to check for the required external tools.
* conf/06-security-system-library-paths.conf - Davide Madrisan:
allowed_libdirs: replace /opt/kde4/lib with /opt/kde/lib.
-------------------------------------------------------------------------------
Changes in version 1.12.0
Sun May 20 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ bugfix
* pck-update - Davide Madrisan:
Stop pck-update execution with an error code when 'specfile.newrelease()'
reports an error.
(Bug reported by Silvan Calarco.)
* autospec.conf - Davide Madrisan:
format_unpackaged_file_list: fix rpm variable expansion for /lib and
/lib64.
(As usual: bug reported by Silvan Calarco.)
+ update
* pck-update - Davide Madrisan:
Action 0: better notification message.
* po/it/pck-update.po - Davide Madrisan:
Updated.
* lib/libcfg.lib - Davide Madrisan:
Add /etc/autospec.d/*.conf to the list of configuration files.
* Makefile, Makefile.env, conf/* - Davide Madrisan:
Split autospec.conf into several configuration files.
+ improvement
* pck-update - Davide Madrisan:
Check specfiles for CR and CRLF line terminators.
They can mislead the specfile parser.
+ bugfix
* templates/{library,standard,standard-daemon} - Davide Madrisan:
Missing requirement: "Requires(preun): %{__install_info}"
+ improvement
* tests/test01_pkgquality - Davide Madrisan:
New test: check for libraries with undefined symbols after relocation.
+ bugfix
* spec-create - Davide Madrisan:
Select makefile as build_techology when a makefile (downcase letters) or a
GNUmalefile is found, not only a Makefile (with a capital letter).
(Bug reported by Silvan Calarco.)
+ update
* TODO - Davide Madrisan:
Remove out of date stuff out of date stuff.
+ update
* pck-update - Davide Madrisan:
Update help message.
+ improvement
* documentation - Davide Madrisan:
Remove the partially obsolete document `autospec-it-HOWTO'.
Update/improve the italian manpage by merging part of the italian HOWTO.
+ update
* autospec.spec - Davide Madrisan:
Add the requirement for bash.
* tests/test01_pkgquality, ests/test02_pkgsecurity - Davide Madrisan:
Rework output by adding the numbering of tests.
* pck-update - Davide Madrisan:
Do not reinitialize the tests counter before executing a new test battery.
+ improvement
* lib/libtest.lib - Davide Madrisan:
New library containing the test framwork code and functions.
* lib/Makefile - Davide Madrisan:
Updated by adding the library libtest.lib.
* pck-update - Davide Madrisan:
Move code for test to the new library libtest.lib.
* i18n - Davide Madrisan:
Updated. Add a .po file for libtest.lib.
+ update
* BUGS - Davide Madrisan:
The option '--ignore-test' works again. Remove the corresponding line.
+ update
* test/test00_specsyntax - Davide Madrisan:
New test file 'test00_specsyntax'.
Move code to check specfiles from 'pck-update' (action 4) to the test file
'test00_specsyntax'.
+ improvement
* test/test00_specsyntax, pck-update, lib/libtest.lib - Davide Madrisan:
Unify the output of all the modules' test.
-------------------------------------------------------------------------------
Changes in version 1.10.0
Tue May 01 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ improvement
* spec-create - Davide Madrisan:
Add code to create specfiles directly from git repositories.
Example:
autospec -s git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git \
-o mcelog.spec
* spec-create - Davide Madrisan:
Add a "## GITSOURCE" comment containing the URL of the git repository.
This information will instruct pck-update on how to update the package.
* spec-create - Davide Madrisan:
Also support git URL starting by http:// and https://.
* spec-create - Davide Madrisan:
Exist with error when git is required but cannot be found.
+ bugfix
* pck-update, lib/libnetwork.lib - Davide Madrisan:
`host' is not required by pck-update; move the requirement to libnetwork.
+ update
* lib/libnetwork.lib - Davide Madrisan:
Do not require 'host'. Just display a warning message when not available.
This tool (and the package 'bind-utils') is not available in early stage
platform development.
(Asked by Silvan Calarco.)
* autospec.spec - Silvan Calarco:
Do not require '/usr/bin/host' in early stage platform development.
* spec-create, lib/libnetwork.lib - Davide Madrisan:
Move code from spec-create to the new function 'git.create_tarball()' in
libnetwork.lib.
+ bugfix
* lib/libnetwork.lib - Davide Madrisan:
repository.get_srpm_pckname_from_HTML(): make the function work again for
curl dumps of ftp sites. (Regression pointed out by Silvan Calarco).
+ update
* lib/libnetwork.lib - Davide Madrisan:
Function renaming: repository.get_srpm_pckname_from_HTML() -->
repository.get_srpm_pckname_from_site().
+ bugfix
* pck-update - Davide Madrisan:
specfile.newrelease(): do not ignore the release set by user at command
line. (Bug discovered by Silvan Calarco).
+ bugfix
* lib/libnetwork.lib - Davide Madrisan:
repository.get_srpm_pckname_from_site(): do not lower the curl dump.
This obviously modify the name of packages containing uppercase letters...
(Another regression (!) discovered and debugged by Silvan Calarco).
+ update
* lib/libnetwork.lib - Davide Madrisan:
repository.get_srpm_pckname_from_site(): make the search case insensitive.
-------------------------------------------------------------------------------
Changes in version 1.9.4
Tue Apr 17 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ improvement
* templates/{library,kde4,python} - Davide Madrisan:
Several minor fixes and improvements.
+ bugfix
* templates/{gnome,kde*,library,standard,standard-daemon} - Davide Madrisan:
Move %debug_package macro after all %description blocks.
+ update
* templates/kde4 - Davide Madrisan:
Remove 'Patch0' and '#%patch0 -p1' directives.
+ improvement
* lib/libnetwork.lib - Davide Madrisan:
repository.get_pckname_from_HTML: reworked to accept regular expessions.
* pck-update - Davide Madrisan:
Action 0: display the entire list of packages when the user query is a
regular expression.
* i18n - Davide Madrisan:
Updated.
* lib/libnetwork.lib - Davide Madrisan:
repository.get_pckname_from_HTML: make package search case insensitive.
+ update
* templates/{kde3,library,perl,python,standard{-daemon}} - Davide Madrisan:
Remove 'Patch0' and '#%patch0 -p1' directives.
--------------------------------------------------------------------------------
Changes in version 1.9.3 - April Fools' Day Release
Sun Apr 01 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ update
* pck-update - Davide Madrisan:
Action 6: better check for self-provided packages.
* templates/library - Davide Madrisan:
Modify requirement for pkgconfig (the package is now called pkg-config).