Commit Graph

331 Commits

Author SHA256 Message Date
Olaf Hering
5cee16f457 - javadoc: filter dc.created
- Support filenames with spaces
- jar: always list files without date+size
- Fix differing jars reported as identical

- Ignore value of Release header when comparing spec files

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=255
2019-02-19 09:32:50 +00:00
Dominique Leuenberger
436e7886b3 Accepting request 621344 from openSUSE:Tools
- pkg-diff: fix diff returning 0

- Match also ELF pie executable (bsc#1097339)

- Remove trailing space from two match patterns

- Recognize "setuid ELF nn-bit xSB shared object" ELF binaries

- Avoid large temporary files from hexdump output and avoid
  diff(1) runing OOM by using a fifo (issue#24)

- check rpm capabilities for recommends/suggests

- Ignore /usr/lib/.build-id differences in package filelist

OBS-URL: https://build.opensuse.org/request/show/621344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=108
2018-07-07 19:52:36 +00:00
Olaf Hering
e3e3d3e14d - pkg-diff: fix diff returning 0
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=253
2018-07-06 14:02:40 +00:00
Olaf Hering
5d84d5ea8c - Match also ELF pie executable (bsc#1097339)
- Remove trailing space from two match patterns

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=252
2018-07-04 05:59:33 +00:00
Olaf Hering
8e554ff73e typo in previous change
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=251
2018-06-26 16:38:45 +00:00
Olaf Hering
10c76e1eaa - Recognize "setuid ELF nn-bit xSB shared object" ELF binaries
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=250
2018-06-26 06:48:10 +00:00
Olaf Hering
df37dcbff0 correct arguments for hexdump
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=249
2018-05-29 19:57:21 +00:00
Olaf Hering
159d089c59 - Avoid large temporary files from hexdump output and avoid
diff(1) runing OOM by using a fifo (issue#24)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=248
2018-05-28 13:38:08 +00:00
Olaf Hering
1fe1bd2bc8 - check rpm capabilities for recommends/suggests
- Ignore /usr/lib/.build-id differences in package filelist

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=247
2018-04-13 07:12:49 +00:00
Dominique Leuenberger
a71d7b25c2 Accepting request 555909 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/555909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=107
2017-12-19 09:44:15 +00:00
Olaf Hering
6ef835da17 - Treat .egg files as zip
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=245
2017-12-04 10:23:41 +00:00
Dominique Leuenberger
b61ceaa86a Accepting request 539772 from openSUSE:Tools
- srpm check requires cpio

- Fix usage of cmp_spec and unrpm in srpm-check.sh

- Catch empty rpm -qp --qf output for tags not understood by rpm

OBS-URL: https://build.opensuse.org/request/show/539772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=106
2017-11-15 15:48:50 +00:00
Olaf Hering
c12de0e06e - srpm check requires cpio
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=243
2017-11-08 06:05:45 +00:00
Olaf Hering
24ff297a02 - Fix usage of cmp_spec and unrpm in srpm-check.sh
- Catch empty rpm -qp --qf output for tags not understood by rpm

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=242
2017-11-06 16:16:43 +00:00
Dominique Leuenberger
7bc95c5e73 Accepting request 535371 from openSUSE:Tools
- Remove newly introduced files-duplicate check from rpmlint
  In case files are hardlinked, the source and destination is
  scrambled in rpm output: the pkg will be republished.
  In case files are not hardlinked, the source and destination
  is scrambled in rpmlint output: the pkg will be republished

OBS-URL: https://build.opensuse.org/request/show/535371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=105
2017-10-28 12:18:06 +00:00
Olaf Hering
37c375c456 - Remove newly introduced files-duplicate check from rpmlint
In case files are hardlinked, the source and destination is
  scrambled in rpm output: the pkg will be republished.
  In case files are not hardlinked, the source and destination
  is scrambled in rpmlint output: the pkg will be republished

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=240
2017-10-20 06:57:22 +00:00
Yuchen Lin
7f8a699a4e Accepting request 514218 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/514218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=104
2017-08-08 09:56:38 +00:00
Olaf Hering
52093351ac - Compare also supplements and recomments (issue#18)
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=238
2017-07-27 12:10:36 +00:00
Yuchen Lin
b5acf577d0 Accepting request 486461 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/486461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=103
2017-04-12 15:10:09 +00:00
Olaf Hering
ca41c23878 - Handle timestamp and checksum in xen.efi
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=236
2017-03-31 13:46:52 +00:00
Olaf Hering
13785bfbeb - Handle _kf5_htmldir, it HAD to be different...
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=235
2017-03-22 19:08:25 +00:00
Olaf Hering
a813318d20 - Handle /usr/share/vdr/locale/
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=234
2017-03-21 11:19:29 +00:00
Dominique Leuenberger
dbfdb55739 Accepting request 456496 from openSUSE:Tools
- Remove warning file-contains-date-and-time from rpmlint.log

- Fix name-version-release regex for release without dots

OBS-URL: https://build.opensuse.org/request/show/456496
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=102
2017-03-05 16:46:54 +00:00
Olaf Hering
4d28734f20 - Remove warning file-contains-date-and-time from rpmlint.log
- Fix name-version-release regex for release without dots

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=232
2017-02-12 08:44:59 +00:00
Ludwig Nussel
86a284e4b6 Accepting request 447288 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/447288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=101
2016-12-29 21:41:49 +00:00
Olaf Hering
d5daa2fe20 - Handle yet another variant of numbered anchor in html file
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=230
2016-12-14 09:06:25 +00:00
Olaf Hering
26135823bb - Remove warning about python mtime mismatch, a republish will not help
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=229
2016-12-14 08:45:39 +00:00
Dominique Leuenberger
712158cd25 Accepting request 440551 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/440551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=100
2016-11-19 11:48:41 +00:00
Olaf Hering
ecf3198024 - Ignore /etc/machine-id
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=227
2016-11-09 06:53:46 +00:00
Olaf Hering
52b31cab87 - Ignore /etc/ld.so.cache
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=226
2016-11-09 06:50:00 +00:00
Olaf Hering
9e2b0f04d8 - Handle every path matching /share/man/ as man page
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=225
2016-11-08 11:55:08 +00:00
Olaf Hering
190e92584f - Ignore /etc/hosts
- Ignore .gnu_debugdata section when comparing ELF files.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=224
2016-11-08 08:08:18 +00:00
Dominique Leuenberger
dbf4589f7f Accepting request 434574 from openSUSE:Tools
- pkg-diff.sh: use option --speed-large-files for diffing
  disassembler output (bsc#1003528)

OBS-URL: https://build.opensuse.org/request/show/434574
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=99
2016-10-20 21:04:40 +00:00
Ruediger Oertel
ffacc63bab disassembler output (bsc#1003528)
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=222
2016-10-12 14:51:56 +00:00
Ruediger Oertel
89292ec82a - pkg-diff.sh: use option --speed-large-files for diffing
disassembler output

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=221
2016-10-12 14:46:18 +00:00
Dominique Leuenberger
5df25e9be6 Accepting request 430706 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/430706
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=98
2016-09-30 13:12:21 +00:00
Olaf Hering
449c47c49c - Handle broken symlinks
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=219
2016-09-21 07:20:50 +00:00
Dominique Leuenberger
196b4baae4 Accepting request 424299 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/424299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=97
2016-09-05 19:10:38 +00:00
Olaf Hering
4f6b401c2a Simpler pattern in strip_numbered_anchors
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=217
2016-08-25 16:29:08 +00:00
Olaf Hering
eae5358f64 - Update strip_numbered_anchors to catch more random identifiers
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=216
2016-08-25 14:29:40 +00:00
Dominique Leuenberger
6df13eb5b7 Accepting request 419009 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/419009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=96
2016-08-25 07:49:06 +00:00
Olaf Hering
d0fa46f062 - functions.sh: improve deb and ipk checking
- Add support for deb and ipk packaging
- pkg-diff.sh: check for fifo (named fifo)
- pkg-diff.sh: remove space in the end for ftype
- pkg-diff.sh: check_single_file(): return at once when same
- functions.sh: run rpm once to make it faster

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=214
2016-08-24 13:40:34 +00:00
Olaf Hering
5bf4ce3659 - Handle unknown ELF files as different.
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=213
2016-08-05 13:48:32 +00:00
Dominique Leuenberger
2b48563ac9 Accepting request 389535 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/389535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=95
2016-04-17 20:14:59 +00:00
Olaf Hering
3866a3faff Adjust changes file
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=211
2016-04-06 13:58:04 +00:00
Olaf Hering
0924517a07 Fix if suse_version syntax
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=210
2016-04-06 07:18:23 +00:00
Olaf Hering
a0a7653793 - the buildroot lost awk, add used utilities to Requires
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=209
2016-04-06 07:12:31 +00:00
Olaf Hering
82d3060d19 Revert "Ignore checksums in ruby checksums.yaml"
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=208
2016-03-23 11:33:15 +00:00
Olaf Hering
1604b82501 - Ignore checksums in ruby checksums.yaml (bnc#916047)
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=207
2016-03-23 07:34:05 +00:00
Dominique Leuenberger
74207d3eb5 Accepting request 368652 from openSUSE:Tools
- Remove hacks from /var/adm/update-scripts|messages case

- Handle /var/adm/update-messages in scripts and filelist

- Whitespace in javadoc case
- Whitespace changes in html case
- Move case kde/gtk html up in the case list
- Move case rdoc html up in the case list
- Add option -a to same-build-result.sh and loop through all rpms
- Rework sorting of rpm files in same-build-result.sh
- Better diagnostic if number of subpackages changes
- Create tmpfiles earlier in same-build-result.sh
- Handle all javadoc html files

- Handle yet another variant of elc timestamps

- Handle timestamp in dvi files
- Handle Last-modified HTML META tag
- Handle yet another variant of javadoc timestamps

OBS-URL: https://build.opensuse.org/request/show/368652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=94
2016-03-21 11:44:14 +00:00