Commit Graph

35 Commits

Author SHA256 Message Date
Olaf Hering
4602b28d81 - Trim "PROVIDES" from source rpms (#59, bsc#1205998)
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=300
2022-12-06 20:43:05 +00:00
Olaf Hering
d3bb2bf8b1 - move license to licensedir
- spec file cleanups

- fix compatibility with older sed (#55)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=298
2022-09-26 09:56:50 +00:00
Olaf Hering
714195e1eb baserev update by copy to link target
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=288
2022-03-04 23:16:27 +00:00
Olaf Hering
f505b94234 - Make output more diffable and readable
- Fix unit tests

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=280
2020-07-27 15:54:58 +00:00
Olaf Hering
6e953eae7c - Remove usage of readarray to remain compatible with bash3
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=277
2020-05-29 19:27:45 +00:00
Olaf Hering
8908bc34d3 Remove usage of associative array variables to support bash3
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=276
2020-05-29 16:52:29 +00:00
Olaf Hering
512e57198a whitespace
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=275
2020-05-29 08:44:58 +00:00
Olaf Hering
4099e8f1e8 - Colltect a list of known rpm tags and use it to build the
queryformat string for the tags listed below (bsc#1172232)
  conflict obsolete oldsuggests provide recommend require suggest supplement

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=274
2020-05-29 07:56:29 +00:00
Olaf Hering
43ad56bd29 - compare also posttrans scripts, and pretrans + verifyscript
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=271
2020-05-13 17:14:02 +00:00
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
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
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
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
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
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
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
9f7118010d - Remove hacks from /var/adm/update-scripts|messages case
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=205
2016-03-08 18:42:04 +00:00
Olaf Hering
59c7476a62 - Handle /var/adm/update-messages in scripts and filelist
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=204
2016-03-08 16:49:47 +00:00
Olaf Hering
2fc0a98f72 - 2015.07.15
- Handle more texi2html generated files and patterns

- 2015.06.17
- Fix regex to handle /lib/(modules|firmware)/version-release-any properly

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=185
2015-07-15 09:54:58 +00:00
Olaf Hering
30706038f0 - 2015.03.20
- Convert correct png file before comparison
- Avoid name clashes when comparing png files
- Handle filename changes gracefully when comparing unknown filetypes
- Use generic helper to compare png files

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=177
2015-03-20 19:33:05 +00:00
Olaf Hering
6cffad1656 - 2015.02.10
- Trim objdump output properly
- Trim .TH also in localized man pages (bnc#915941)

- Print section differences even if assembly has differences.
- Add support for nested rpms.
- Make rpm-check work for "packages" other than rpm.
- Tell which section was different when doing ELF comparisons.
- Error when one of the rpms is not found

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=173
2015-02-10 15:54:31 +00:00
Olaf Hering
2cf8919076 - Trim name-version-release string in update-scripts
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=170
2015-02-05 15:22:14 +00:00
Olaf Hering
c8d0926edf Accepting request 281275 from home:olh:branches:openSUSE:Tools
- 2015.01.14
- Trim VERSION-RELEASE instead of RELEASE because the release number
  will match other substrings.
- Use regex instead  in sed /regex/ to match dots properly
- Handle plain cpio archives from gfxboot
- Add patterns for .TH header in man pages to handle all cases

OBS-URL: https://build.opensuse.org/request/show/281275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=157
2015-01-19 09:54:08 +00:00
Tomáš Chvátal
dd47afde1c Accepting request 262230 from home:olh:branches:openSUSE:Tools
- 2014.11.15
- show sorted differences of rpmlint log (bnc#904092)
- handle kernel and kmp packages, but support for kernel* is disabled
- minor style fixes
- handle cpio archives
- handle absolute symlinks correctly
- handle all ELF sections, not only the ones starting with dot

OBS-URL: https://build.opensuse.org/request/show/262230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=154
2014-11-24 12:18:21 +00:00
Stephan Kulow
89e4b701b2 Accepting request 261214 from home:Andreas_Schwab:Factory
- Use $(...) instead of `...` to avoid losing backslash quoting

OBS-URL: https://build.opensuse.org/request/show/261214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=152
2014-11-14 08:31:26 +00:00
Stephan Kulow
3c69ae3451 Accepting request 260844 from home:olh:branches:openSUSE:Tools
- Update check-all option to really keep going and check all files
- Add check to recursively look into gzip files with odd suffix
  to properly handle /usr/share/vlc/skins2/default.vlt

- Fix quoting .

remove filelist handling part of the change in previous SR.

OBS-URL: https://build.opensuse.org/request/show/260844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=151
2014-11-11 13:22:49 +00:00
Andreas Jaeger
5f0dcc8131 Accepting request 241368 from home:msmeissn:branches:openSUSE:Tools
- Allow file list changes where the release number is encoded
  in the filename.
- compare post-update message and scripts (fixes fetchmsttfonts
  constant republish) as they have the release number hardcoded.

OBS-URL: https://build.opensuse.org/request/show/241368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=145
2014-07-17 18:31:37 +00:00
Andreas Jaeger
ab4f8379cd Accepting request 106436 from home:a_jaeger:branches:build-compare-test
Remove release from pre/post scripts

OBS-URL: https://build.opensuse.org/request/show/106436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=125
2012-02-22 11:24:20 +00:00
Andreas Jaeger
d521ef89cd Accepting request 106406 from home:a_jaeger:branches:build-compare-test
Quote dot in release to not have false matches

OBS-URL: https://build.opensuse.org/request/show/106406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=123
2012-02-22 07:49:21 +00:00
Stephan Kulow
480e8ca74a - comparing fileclass was no good idea after all
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=102
2011-08-31 14:11:59 +00:00
5d61c1c113 Accepting request 76044 from home:dirkmueller:branches:openSUSE:Tools
- also compare fileclass

OBS-URL: https://build.opensuse.org/request/show/76044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=99
2011-07-11 12:16:27 +00:00
Andreas Jaeger
ca04eb8071 Accepting request 63010 from home:a_jaeger:branches:build-compare-test
Ok

OBS-URL: https://build.opensuse.org/request/show/63010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=91
2011-02-28 14:13:34 +00:00
OBS User buildservice-autocommit
3daece705b Updating link to change in openSUSE:Factory/build-compare revision 38.0
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=177826e63e9733d542d72a872b7677cf
2010-09-21 11:12:14 +00:00
OBS User autobuild
0baab13ece Accepting request 48629 from openSUSE:Tools
checked in (request 48629)

OBS-URL: https://build.opensuse.org/request/show/48629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=82
2010-09-21 11:12:13 +00:00
Andreas Jaeger
2be61e5a08 Accepting request 48596 from home:a_jaeger:branches:build-compare-test
ok

OBS-URL: https://build.opensuse.org/request/show/48596
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=79
2010-09-21 07:38:43 +00:00