Commit Graph

248 Commits

Author SHA256 Message Date
Martin Liška
73e2ca1a5c - Update to version 2.4.0+git20230112.139edaf:
* use subprocess.run(..., text=True) instead of stdout.decode()
  * Print number of messages that are filtered out
  * Speed up DuplicatesCheck by shorter messages

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1015
2023-01-13 07:52:46 +00:00
Martin Liška
b1302d5683 - Update to version 2.4.0+git20230111.8ae3cb5:
* Files in /etc/pam.d/ should be moved to /usr

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1013
2023-01-11 14:10:33 +00:00
Martin Liška
20d4c180ca - Update to version 2.4.0+git20230111.cd8d2e8:
* magic: remove python2 support and simplify
  * Remove Python 2 support in generate-isocodes.py

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1012
2023-01-11 10:11:07 +00:00
Martin Liška
7c5a6eeb39 - Update to version 2.4.0+git20230110.6b6e36c:
* Use badge for entire devel package in OBS.
  * zypper-plugins: complement test whitelisting by a mismatching entry

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1011
2023-01-10 10:25:34 +00:00
Martin Liška
915dd7a148 - Update to version 2.4.0+git20230106.738df37:
* speed up parsing of ElfSectionInfo

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1010
2023-01-06 14:57:48 +00:00
Martin Liška
a561ca01fc - Update to version 2.4.0+git20230106.c39f6c2:
* Relax no-binary and noarch-with-lib64 checks

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1009
2023-01-06 14:02:48 +00:00
Martin Liška
ec3c16a76e - Update to version 2.4.0+git20230106.ba0020a:
* Update openSUSE's licenses.toml
  * Franklin Street address is ok

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1008
2023-01-06 08:49:59 +00:00
Martin Liška
b932c6975a - Update to version 2.4.0+git20230105.c9a861d:
* openSUSE: new whitelisting restriction for zypper plugins (bsc#1204314)
  * Update D-Bus whitelisting for NetworkManager-iodine (bsc#1206756)
  * Add OBS badge.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1007
2023-01-05 18:07:58 +00:00
Martin Liška
418e6fd3a5 - Update to version 2.4.0+git20221220.12af927:
* pam-modules: pam_unix: adjust package name to pam (bsc#1206485)
  * dbus-services: sddm: adjust to configuration file moved from /etc to /usr/share
  * Start using new ruff linter.
  * dbus-services: whitelist transaction-update-notifier (bsc#1206163)
  * Remove for now LGTM badges as it will be closed.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1005
2022-12-20 08:34:02 +00:00
Martin Liška
df6326dd73 Accepting request 1041867 from home:marxin:rpmlint
- Update to version 2.4.0+git20221209.975098b:
  * dbus-services: whitelist transaction-update-notifier (bsc#1206163)
  * Remove for now LGTM badges as it will be closed.

OBS-URL: https://build.opensuse.org/request/show/1041867
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1003
2022-12-09 13:21:33 +00:00
Martin Liška
a375c95105 - Update to version 2.4.0+git20221206.f05dc9c:
* dbus-services: /etc -> /usr move for lightdm whitelisting (bsc#1205939)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1001
2022-12-07 10:04:41 +00:00
Martin Liška
dc59f9cb72 - Update to version 2.4.0+git20221201.82b8b0c:
* Remove shared-library-without-dependency and library-not-linked-against-libc

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=999
2022-12-01 11:13:06 +00:00
Martin Liška
1314e83088 - Update to version 2.4.0+git20221128.b71453b:
* PythonCheck: Allow tests folder in python packages

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=997
2022-11-28 09:40:47 +00:00
Martin Liška
61c560f03f - Update to version 2.4.0+git20221122.a31cc76:
* pam-modules whitelist: add pam_saslauthd (bsc#1205459)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=995
2022-11-22 13:33:47 +00:00
Martin Liška
fd422e00b9 - Update to version 2.4.0+git20221122.836c918:
* dbus-services: whitelist experimental YaST installer D-Bus backend (bsc#1202059)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=994
2022-11-22 09:49:43 +00:00
Martin Liška
6c7a3df575 - Update to version 2.4.0+git20221117.15e61cc:
* Remove Python entries from Filelist checks.
  * GitHub Action: remove --security-opt in action

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=992
2022-11-17 09:53:42 +00:00
Martin Liška
f56836ae58 - Update to version 2.4.0+git20221115.3d27dda:
* PythonCheck: Do not allow tests folder in subpackages (#961)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=991
2022-11-15 17:55:20 +00:00
Martin Liška
cc6050197c - Update to version 2.4.0+git20221115.32b20b2:
* Add python check (#955)

- Update to version 2.4.0+git20221114.9c41868:
  * codeql: remove cron and use it only for some branches
  * Add CodeQL workflow for GitHub code scanning

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=990
2022-11-15 13:11:33 +00:00
Martin Liška
5a56e21b3a - Update to version 2.4.0+git20221110.f8919c6:
* Set DuplicatesMinSize default value to 2
  * dump_stats.py: add one more category for filtering
  * Do not consider files-duplicate for SMALL files
  * SpecCheck: Add python_sitelib glob check
  * remove bugbear exception (B023)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=988
2022-11-10 15:21:03 +00:00
Martin Liška
7ad1f746fd - Update to version 2.4.0+git20221028.5eac7b1:
* SpecCheck: Add python_sitelib glob check
  * dbus-service whitelist: move NetworkManager-openconnect to /usr (bsc#1204795)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=986
2022-10-28 11:45:28 +00:00
Martin Liška
b4bcbb33ee - Update to version 2.4.0+git20221025.93c4f05:
* Add python-module-def check to SpecCheck

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=985
2022-10-28 07:54:04 +00:00
Martin Liška
4f131d19c1 - Update to version 2.4.0+git20221024.648726f:
* Update the Python module regex to also match stable ABI names
  * update checkout action to v3

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=984
2022-10-24 11:47:55 +00:00
Martin Liška
a374303409 - Update to version 2.4.0+git20221019.c1d68e9:
* add pyupgrade to CI
  * format with pyupgrade --py38-plus

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=982
2022-10-21 21:36:09 +00:00
Martin Liška
d77380050f - Update to version 2.4.0+git20221018.6c36ccd:
* FilesCheck: Split big check method

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=980
2022-10-18 11:49:46 +00:00
Martin Liška
b7138dd227 - Update to version 2.4.0+git20221018.ac9f2d8:
* SpecCheck: Split big line by line for-loop in methods
  * rpmdiff: clarify help text on -i/-e options

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=979
2022-10-18 07:35:47 +00:00
Martin Liška
229a0ebf21 - Update to version 2.4.0+git20221014.b4aaa76:
* Whitelist /var/spool/mail in postfix-bdb (bsc#1179574)
  * dbus-services: document recent follow-up review of cups helpers
  * FileDigestCheck: print digest hint for all possible filter types
  * geoclue2: move dbus system.d file to /usr (bsc#1204054)
  * iio-sensor-proxy: move dbus system.d file to /usr (bsc#1204055)
  * gdm: move dbus system.d file to /usr (bsc#1204052)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=977
2022-10-14 09:11:37 +00:00
Martin Liška
90509720f8 - Update to version 2.4.0+git20221008.1532b6e:
* fix broken regex for no-manual-page-for-binary check
  * rpmdiff: improve help for multiple values with -i/-e options

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=975
2022-10-08 08:19:50 +00:00
Martin Liška
4c5c5f945a - Update to version 2.4.0+git20221004.e71a7e7:
* sendmail: whitelisting for new systemd-tmpfiles entries for /run, /run/sendmail (bsc#1203340)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=974
2022-10-04 08:52:10 +00:00
Martin Liška
ebb9f4f589 - Update to version 2.4.0+git20221003.7eb4092:
* Release 2.4.0.

- Update to version 2.4.0+git20220929.9612681:
  * Fix flake8 issue.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=973
2022-10-03 14:08:28 +00:00
Martin Liška
04662c501a - Update to version 2.3.0+git20220929.30237f7:
* Fix test.

- Update to version 2.3.0+git20220929.abe3ab9:
  * Add python-setup-test check to SpecCheck

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=971
2022-09-29 07:34:00 +00:00
Martin Liška
1d81aea3d4 - Update to version 2.3.0+git20220921.4e46a84:
* dbus-services: adjust tuned entry to path move to /usr (bsc#1202339)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=969
2022-09-21 11:39:00 +00:00
Martin Liška
43db337470 - Update to version 2.3.0+git20220916.67eb412d:
* dbus-services: autofs: file digests (bsc#1203362)
  * fix bugzilla url as novell.com is dead
  * Whitelist /var/spool/mail in postfix, sendmail and exim (bsc#1179574)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=967
2022-09-16 14:44:45 +00:00
Martin Liška
fd5de9f9a3 - Update to version 2.3.0+git20220913.d905dc70:
* dbus-services: autofs: move from /etc to /usr

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=964
2022-09-13 15:08:14 +00:00
Martin Liška
327df62ee4 - Update to version 2.3.0+git20220913.c8d069d7:
* dbus-services: adjust/extend kdiskmark whitelisting (bsc#1202725)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=963
2022-09-13 15:02:45 +00:00
Martin Liška
80764c2330 - Update to version 2.3.0+git20220913.bb2ec481:
* no-library-dependency-on: consider %_isa dependencies
  * configs/Fedora: sync user/groups with setup-2.14.1

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=962
2022-09-13 06:46:54 +00:00
Martin Liška
c2e8f30783 - Update to version 2.3.0+git20220907.165f9c76:
* Fix a flake8 issue.
  * tools/generate-fedora-users-groups: output in desired format
  * tools/generate-fedora-users-groups: skip comment lines
  * non-conffile-in-etc: skip for /etc/ld.so.conf.d/* files
  * Update Fedora config
  * Ignore one bugbear error.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=960
2022-09-08 10:35:27 +00:00
Martin Liška
d686c08657 - Update to version 2.3.0+git20220901.67701476:
* fix _check_manpage crash

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=958
2022-09-01 07:32:36 +00:00
Martin Liška
6022dd3530 - Update to version 2.3.0+git20220831.4064cfd1:
* Relax bad-manual-page-folder

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=957
2022-08-31 09:45:40 +00:00
Martin Liška
93c6c88891 - Update to version 2.3.0+git20220830.66066a42:
* extend checks related to manual pages

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=956
2022-08-30 09:22:09 +00:00
Martin Liška
70ecea9f1f - Update to version 2.3.0+git20220826.38402552:
* Revert "Temporarily remove fedora:rawhide as it has broken Python stack."
  * Run flake8 directly as pytest-flake8 is broken.
- Rebase disable-flake-and-cov.patch patch.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=955
2022-08-28 15:24:10 +00:00
Martin Liška
3e57374fff - Update to version 2.3.0+git20220826.4e835ede:
* Increase badness for missing-hash-section check (boo#1202520).
  * add missing-hash-section check for HASH ELF sections
  * Silent stdout and stderr for appstream-util command.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=953
2022-08-26 06:44:12 +00:00
Martin Liška
6fdf391946 - Update to version 2.3.0+git20220818.a8685c5d:
* dbus-services: whitelist systemd-experimental: systemd-oomd (bsc#1202454)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=950
2022-08-18 15:58:47 +00:00
Martin Liška
3dd802c6fc - Update to version 2.3.0+git20220812.05423f8d:
* dbus-services: adjust to system-config-printer /etc -> /usr move (bsc#1202340)
  * dbus-services: adjust to cups-pk-helper /etc -> /usr move (bsc#1202338)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=948
2022-08-12 12:17:13 +00:00
Martin Liška
609e82836d - Update to version 2.3.0+git20220808.2a6c0296:
* Modify format of binary-or-shlib-defines-rpath

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=946
2022-08-08 19:04:31 +00:00
Martin Liška
b1bdc059bb - Update to version 2.3.0+git20220804.c5a6b057:
* Whitelist gromox (bsc#1200165)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=945
2022-08-04 16:17:29 +00:00
Martin Liška
b067a11d18 - Update to version 2.3.0+git20220725.94636c5e:
* Do not use flake8-simplify for testers automatically.
  * Add flake8-simplify issues.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=943
2022-07-26 19:40:52 +00:00
Martin Liška
bb37170bf2 - Update to version 2.3.0+git20220725.8b1e5f2a:
* Port 2 usages of toml library to tomli.
  * Port TOML configs to tomli library

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=941
2022-07-25 07:59:33 +00:00
Martin Liška
32c40aa2ae - Update to version 2.3.0+git20220724.d9fd8cf3:
* Reflect README with toml library change.
  * Use tomllib from the standard library on Python 3.11+

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=940
2022-07-24 14:31:43 +00:00
Martin Liška
685569c3bb - Update to version 2.3.0+git20220721.32c15c31:
* dbus-services: really adjust location from etc -> usr

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=939
2022-07-21 11:32:57 +00:00
Martin Liška
d75f667e6a - Update to version 2.3.0+git20220715.9ec62e45:
* Skip shlib-policy-name-error for HPC libraries

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=938
2022-07-15 15:22:40 +00:00
Martin Liška
37e5aedcfa - Update to version 2.3.0+git20220714.7cb9607:
* Remove trailing ': x%' from 'package-with-huge-docs' error
  * Fix useless-provides
  * digest whitelists: remove now redundant sha256 algorithm specification
  * FileDigestCheck: use sha256 digest algorithm by default
  * dbus-services: adjust to PackageKit etc -> usr config file move (bsc#1201347)
  * dbus-services: adjust to cups etc -> usr config file move (bsc#1201346)
  * dbus-services: adjust to avahi etc -> usr config file move (bsc#1201345)
- Remove upstreamed patch skip-rpmlint-for-rpmlint.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=937
2022-07-15 11:59:24 +00:00
Martin Liška
48ecd051b2 - Revert to version 2.3.0+git20220712.761ddf0.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=930
2022-07-12 20:16:53 +00:00
Martin Liška
bfa8347627 - Update to version 2.3.0+git20220712.d55ac43:
* digest whitelists: remove now redundant sha256 algorithm specification
  * FileDigestCheck: use sha256 digest algorithm by default
  * dbus-services: adjust to PackageKit etc -> usr config file move (bsc#1201347)
  * dbus-services: adjust to cups etc -> usr config file move (bsc#1201346)
  * dbus-services: adjust to avahi etc -> usr config file move (bsc#1201345)
  * whitelistings: fill in some missing metadata
  * Improve syntax validation for digests.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=929
2022-07-12 19:49:54 +00:00
Martin Liška
079c12970b - Update to version 2.3.0+git20220711.46e6323:
* systemd-tmpfiles: drop version from libtss2-fapi1 filename

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=927
2022-07-11 12:43:33 +00:00
Martin Liška
efd5a00bb8 - Update to version 2.3.0+git20220707.07c9067:
* Add temporary workaround for systemd package.
  * dbus-services: adjust power-profiles-daemon to new path (bsc#1201125)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=925
2022-07-07 09:18:17 +00:00
Martin Liška
5baec825c3 - Update to version 2.3.0+git20220623.5aa24e0:
* checkbashism: fix stuck when run with Emacs
  * Add test for shell var detection in rpm-buildroot-usage
  * Fix rpm_buildroot_regex
  * Remove obsolete check no-cleaning-of-buildroot
  * Improve binary-or-shlib-defines-rpath error
  * Add `--file` as an alias for `--rpmlintrc`
  * Update shlib-policy-name-error score for openSUSE

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=924
2022-06-23 19:33:01 +00:00
Martin Liška
e641406a1f - Update to version 2.3.0+git20220615.aa4b7e2:
* Rework format reporting for shlib-policy-name-error.
  * Increase badness for binary-or-shlib-defines-rpath.
  * Revert "Use zypper for openSUSE."

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=922
2022-06-15 09:05:07 +00:00
203cee5f71 - Update to version 2.3.0+git20220610.33ea0cf:
* systemd-tmpfiles whitelisting: also ignore -mini variants of systemd and udev
  * dbus-services: move wpa_supplicant.conf to /usr
  * dbus-services: move dnsmasq.conf to /usr

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=921
2022-06-10 12:36:09 +00:00
29d82ac69d - Update to version 2.3.0+git20220609.905726e:
* systemd-tmpfiles check: raise badness to 10000 for strict config
  * systemd-tmpfiles: whitelist currenty set of affected packages
  * SystemdTmpfilesCheck: compare normalized lines for whitelistings

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=920
2022-06-09 08:24:17 +00:00
Martin Liška
49902b1b20 - Update to version 2.3.0+git20220525.d213f48:
* opensuse config: parse ValidLicenseExceptions
  * Report binary in shlib-policy-name-error error
  * Remove extra prints from tests.
  * Increase badness for executable-stack
- Remove disable-SystemdTmpfilesCheck.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=918
2022-05-25 19:43:51 +00:00
Martin Liška
5029479e2c - Update to version 2.3.0+git20220523.e71c7f8:
* SystemdTmpfilesCheck: add additional unit test for parsing logic
  * SystemdTmpfilesCheck: fix invalid member accesses
  * openSUSE: Do not allow files in /etc/NetworkManager/dispatcher.d anymore

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=914
2022-05-23 08:47:29 +00:00
Martin Liška
faf5bae3b3 - Update to version 2.3.0+git20220519.82b9e76:
* Release 2.3.0
  * Skip shared-library-without-dependency-information for python.
  * Skip undefined-non-weak-symbol for python packages.
  * SystemdTmpfilesCheck: new check to restrict systemd-tmpfiles configuration.
  * Skip undefined-non-weak-symbol for python packages.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=910
2022-05-20 06:28:45 +00:00
Martin Liška
01d3e96d1d - Update to version 2.2.0+git20220511.fc030cd:
* Add missing dependencies to setup.py
  * no-binary for all packages
  * Update docs about rpmlintrc auto-loading.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=908
2022-05-13 06:11:02 +00:00
Martin Liška
92e164351d - Update to version 2.2.0+git20220509.ea27381:
* Fix wrong git merge conflict resolution.
  * ErlangCheck: remove unneeded str() from the test

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=906
2022-05-09 07:23:00 +00:00
Martin Liška
b47588a67f - Update to version 2.2.0+git20220506.414c402:
* Temporarily disable binary-or-shlib-defines-rpath once boo#1199268 gets fixed
  * dbus-services: update tukitd config hash to latest reviewed version

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=905
2022-05-06 08:55:10 +00:00
Martin Liška
a1c968d5ce - Update to version 2.2.0+git20220503.b807a0d:
* dbus-services.toml: adjust whitelisting for switcheroo-control (bsc#1199065)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=904
2022-05-03 12:46:38 +00:00
Martin Liška
a8c5b53648 - Update to version 2.2.0+git20220502.c9ee67e:
* Resolve $ORIGIN in binary-or-shlib-defines-rpath check.
  * Remove empty lines after for loops.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=903
2022-05-02 06:50:12 +00:00
Martin Liška
9946f02738 Revert $ORIGIN in RUNPATH.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=902
2022-04-27 08:57:11 +00:00
Martin Liška
e34affc0fa - Update to version 2.2.0+git20220427.132e18a:
* support $ORIGIN in R{,UN}PATH.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=901
2022-04-27 08:30:34 +00:00
Martin Liška
2627595fca - Update to version 2.2.0+git20220425.0078554:
* Fix up binary-or-shlib-defines-rpath error

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=900
2022-04-26 06:56:02 +00:00
Martin Liška
62c59a55c3 - Update to version 2.2.0+git20220422.43144bd:
* Improve executable-stack error.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=898
2022-04-23 06:10:42 +00:00
Martin Liška
3e7c161430 - Update to version 2.2.0+git20220419.1dbd1ae:
* dbus-services: remove gconf-polkit entry which is no longer shipped in Factory
  * Distinguish exit code in --strict mode.
  * Remove FIXME as we have a test for it.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=896
2022-04-19 14:43:35 +00:00
Martin Liška
bba14f2f60 - Update to version 2.2.0+git20220413.2dafaf8:
* Add ergo user and group

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=894
2022-04-13 19:14:31 +00:00
Martin Liška
d0d949923a - Update to version 2.2.0+git20220411.c02b482:
* sudoers-whitelist: add another integration test whitelisting entry

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=892
2022-04-11 10:29:24 +00:00
Martin Liška
c77167bfad - Update to version 2.2.0+git20220406.bcfe5ad:
* sudoers whitelist: add preliminary ceph whitelisting (bsc#1196141)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=890
2022-04-06 09:46:02 +00:00
Martin Liška
721e63b261 - Update to version 2.2.0+git20220331.762044d:
* Port opensuse checks.
  * Additional name cleanup in pkg.py.
  * lint.py: remove _check_valid_suffix and use str in ().
  * pkg.py cleanup
  * sudoers whitelist: add test entry for rpmlint-integration-test OBS package
  * Re-init AlternativesCheck for each package.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=889
2022-03-31 13:40:21 +00:00
Martin Liška
8ede717fb9 - Update to version 2.2.0+git20220330.4d069ea:
* new whitelist restriction for /etc/sudoers.d (bsc#1172785)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=888
2022-03-30 10:35:29 +00:00
Martin Liška
79f422b54d - Update to version 2.2.0+git20220330.76fbb53:
* Re-init AlternativesCheck for each package.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=887
2022-03-30 07:41:47 +00:00
Martin Liška
a7dca19a29 - Update to version 2.2.0+git20220325.40598ec:
* dbus-services: whitelist usbguard (bsc#1196621)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=885
2022-03-26 05:38:31 +00:00
Martin Liška
9ef3b2799d - Update to version 2.2.0+git20220324.fe80080:
* Test again for non-breaking space in test_tags.py.
  * dbus-services: add missing config whitelist for tukitd (bsc#1196149)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=883
2022-03-24 08:22:44 +00:00
Martin Liška
62e1b4524c - Update to version 2.2.0+git20220323.1c77669:
* Enhance --time-report
  * dbus services: adjust to accountsservice path move (bsc#1197354)
  * dbus services: NetworkManager-vpnc config locations (bsc#1197053)
  * dbus services: adjust NetworkManager-pptp config locations (bsc#1197054)
  * Use zypper for openSUSE.
  * Add SUSE version checks in spec files (#292).

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=882
2022-03-23 12:11:19 +00:00
Martin Liška
c711406579 - Update to version 2.2.0+git20220322.91ea8dc:
* Remove garbage chars (c2a0 c2a0) from file.
  * Add only small badge for repology.
  * Add packaging status.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=881
2022-03-22 09:12:47 +00:00
Martin Liška
c56c0b697c - Update to version 2.2.0+git20220308.a867f4a:
* test_whitelist_syntax: extend the check to cover also digest entry structure
  * dbus whitelist: fix nodigests whitelisting, should contain the path
  * Remove extra empty lines.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=879
2022-03-09 19:09:53 +00:00
Martin Liška
822ecb17d8 - Update to version 2.2.0+git20220307.795b565:
* D-Bus whitelistings: kpmcore: don't couple service file to digest

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=877
2022-03-07 11:11:31 +00:00
Martin Liška
9bf9f415ea - Update to version 2.2.0+git20220303.8fe2218:
* missing alpha_3 hye added for Armenian

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=875
2022-03-03 14:46:23 +00:00
c57266dbe5 - Update to version 2.2.0+git20220303.3a948f5:
* D-Bus services whitelist: add kpmcore (bsc#1178848)
  * dbus-services whitelist: add test whitelisting to cover dbus-file-parse-error
  * tests: add test that verifies security whitelisting syntax
  * security whitelistings: harmonize bug list syntax

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=874
2022-03-03 14:17:18 +00:00
Martin Liška
346e8e8568 - Update to version 2.2.0+git20220228.7070352:
* FileDigestCheck: configure digest filter type per whitelisting entry
  * FileDigestCheck: also assert that a path key is present
  * dbus-services: adjust nm-priv-helper path (bsc#1194799)
  * dbus-services: whitelist nvme-stas (bsc#1195236)
  * FileDigestCheck: enable XML filtered digests for D-Bus services
  * FileDigestCheck: emit special {group}-file-parse-error if XML is bad

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=873
2022-03-01 07:47:25 +00:00
Martin Liška
e7065da139 - Update to version 2.2.0+git20220225.739a708.
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=871
2022-02-25 21:33:29 +00:00
Martin Liška
c422cbf300 - Update to version 2.2.0+git20220223.8f7d3e1:
* Speed up pkg.grep by utilizating mmap.
  * Update package dependency name.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=870
2022-02-23 16:23:18 +00:00
Martin Liška
3813437374 - Update to version 2.2.0+git20220222.b4654f9:
* Small tweaks to report formatting.
  * Start with the biggest files first in BashismsCheck.
  * Add new option --checks.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=869
2022-02-22 13:22:08 +00:00
Martin Liška
dc2332c30f - Update to version 2.2.0+git20220221.0fec15f:
* Speed up BashismsCheck by using md5sum of file.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=868
2022-02-21 11:02:24 +00:00
Martin Liška
499168e373 - Update to version 2.2.0+git20220221.19e374d:
* Include rpm2cpio (decompression and extraction) in --time-report.
  * Print only on decimal digit in time report.
  * Speed up pkg.grep.
  * Fix superfluous variable.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=867
2022-02-21 10:10:50 +00:00
Martin Liška
cc383c0bd5 - Update to version 2.2.0+git20220211.709d2fa:
* Require at least Python 3.8.
  * FileDigestCheck: implement support for file digest filtering

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=866
2022-02-13 10:16:40 +00:00
Martin Liška
74d48d13e9 - Update to version 2.2.0+git20220204.4166915:
* tests: add test case for FileDigestGroup with multiple package names
  * FileDigestCheck: support additional `packages = ["pkg1", "pkg2"]` syntax
  * FileDigestCheck: refactor digest group parsing and normalization
  * FileMetadataCheck: support additional `packages = ["pkg1", "pkg2"]` syntax

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=865
2022-02-09 09:38:00 +00:00
Martin Liška
95e333cf36 - Update to version 2.2.0+git20220202.cf37318:
* pam-modules: remove now outdated entry for modules that moved into pam_unix

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=864
2022-02-02 14:26:28 +00:00
Martin Liška
5f3d2a4efa - Update to version 2.2.0+git20220127.05573d9:
* dbus-services: whitelist NetworkManager nm-priv-helper (bsc#1194799).

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=863
2022-01-27 17:27:48 +00:00
Martin Liška
689b513c38 - Update to version 2.2.0+git20220125.7caec47:
* Add new option --ignore-unused-rpmlintrc.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=862
2022-01-25 18:35:40 +00:00
Martin Liška
072c6060ea - Update to version 2.2.0+git20220121.4f4f673:
* Remove shared-library-not-executable for all shared libs.
  * Fix stupid mistake with shared-library-not-executable.
  * Remove duplicite argument for run_elf_checks and use PkgFile.
  * Set also LANGUAGE env. in ENGLISH_ENVIROMENT.
  * Fix LGTM warning about RE pattern.

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=861
2022-01-22 09:17:45 +00:00
Martin Liška
4e83f814a4 - Update to version 2.2.0+git20220112.bfaf91a:
* pam module whitelist: adjust package name for pam_winbind (bsc#1194573)

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=860
2022-01-13 08:25:12 +00:00
Martin Liška
352a54560b - Update to version 2.2.0+git20220106.43867d0:
* Use readelf --debug-dump=no-follow-links if available.
  * Do not use ObjdumpParser if not needed.
  * Add icingaweb2 group
  * Filter unused-rpmlintrc-filter for late checks.

- Update to version 2.2.0+git20220105.2ac5ee1:
  * Use different Python package for ZStandard

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=859
2022-01-07 12:54:29 +00:00