diff --git a/_servicedata b/_servicedata index 848d3d9..bcecb1d 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/rpm-software-management/rpmlint.git - 82aa9b1337545b030ac9f130d06337bc7f666bc9 \ No newline at end of file + 29f50e53a4b72e578d05b7874a2727226afc9195 \ No newline at end of file diff --git a/rpmlint-2.5.0+git20231113.82aa9b1.tar.xz b/rpmlint-2.5.0+git20231113.82aa9b1.tar.xz deleted file mode 100644 index 3e28592..0000000 --- a/rpmlint-2.5.0+git20231113.82aa9b1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c61c81de225352942a88ab3375d481f2bad6fd370142c035a5ffc2f943bfd57 -size 6872892 diff --git a/rpmlint-2.5.0+git20240215.29f50e5.tar.xz b/rpmlint-2.5.0+git20240215.29f50e5.tar.xz new file mode 100644 index 0000000..96bfe3f --- /dev/null +++ b/rpmlint-2.5.0+git20240215.29f50e5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8d97851ac744ff9964fc90ded313891cfcedb93d84002b43f89309098348aeb +size 6916128 diff --git a/rpmlint.changes b/rpmlint.changes index d2080be..64c0c6a 100644 --- a/rpmlint.changes +++ b/rpmlint.changes @@ -1,16 +1,182 @@ ------------------------------------------------------------------- -Mon Nov 13 15:10:10 UTC 2023 - filippo.bonazzi@suse.com +Fri Feb 16 16:36:55 UTC 2024 - filippo.bonazzi@suse.com -- Update to version 2.5.0+git20231113.82aa9b1: +- Update to version 2.5.0+git20240215.29f50e5: + * dbus-services: update systemd-homed (DeactivateAllHomes method, bsc#1219916) + * dbus-services: whitelist plasma6-workspace fontinst service (bsc#1217186) + * dbus-services: whitelist powerdevil6 (bsc#1217187) + * dbus-services: whitelist plasma6-disks (bsc#1217185) + * dbus-services: whitelist plasma6-desktop kcmclock (bsc#1217184) + * pam-modules: whitelist pam_kwallet6 (bsc#1217183) + * dbus-services: whitelist libksysguard6-plugins (bsc#1217182) + * zypper-plugins: adjust libzypp-plugin-appdata to new content (bsc#1219873) + * dbus-services: whitelist kinfocenter6 (bsc#1217179) + * dbus-services: whitelist kf6-kauth (bsc#1217178) + * SUIDPermissionsCheck: support new /usr/share/permissions/packages.d dir + +------------------------------------------------------------------- +Thu Feb 08 08:44:12 UTC 2024 - filippo.bonazzi@suse.com + +- Update to version 2.5.0+git20240207.4a699fe: + * sysctl-whitelist: update YAMA config (bsc#1219656) + +------------------------------------------------------------------- +Tue Feb 06 16:36:10 UTC 2024 - filippo.bonazzi@suse.com + +- Update to version 2.5.0+git20240206.b0eda3c: + * users-groups: add groups for usbauth-notifier + * cron-whitelist: patch2mail now uses systemd-timers + * Register greeter user and group + +------------------------------------------------------------------- +Thu Feb 01 10:40:43 UTC 2024 - wolfgang.frisch@suse.com + +- Update to version 2.5.0+git20240201.be433b6: + * pam-modules: whitelist pam_canonicalize_user (bsc#1219358) + +------------------------------------------------------------------- +Wed Jan 31 12:36:33 UTC 2024 - wolfgang.frisch@suse.com + +- Update to version 2.5.0+git20240131.374af17: + * sendmail: permissions moved from /etc to /usr/share/permissions (bsc#1219339) + +------------------------------------------------------------------- +Tue Jan 30 13:00:20 UTC 2024 - wolfgang.frisch@suse.com + +- Update to version 2.5.0+git20240130.b66a310: + * sendmail: permissions moved from /etc to /usr/share/permissions (bsc#1219339) + +------------------------------------------------------------------- +Tue Jan 30 11:43:00 UTC 2024 - filippo.bonazzi@suse.com + +- Update to version 2.5.0+git20240130.4cdb3e1: + * Move rpm2cpio to one line + * PythonCheck: Check for python deps like python3.12dist(foo) + * config: Filter python require checks for Fedora + +------------------------------------------------------------------- +Mon Jan 29 15:02:45 UTC 2024 - filippo.bonazzi@suse.com + +- Update to version 2.5.0+git20240129.d2cbb70: + * test_file_digest: cover new glob features in package and path names + * sysctl-whitelist: use new package glob pattern + * FileDigestCheck: support glob patterns in package names + * FileDigestCheck: make glob patterns in filenames explicit + +------------------------------------------------------------------- +Thu Jan 25 14:44:51 UTC 2024 - filippo.bonazzi@suse.com + +- Update to version 2.5.0+git20240125.d0146be: + * sysctl-whitelist: add another package name for kubernetes1.29 (bsc#1219168) + * check: Implement reset method in checks + * Disable Mageia CI builds due to system problem + * check: Implement reset method in checks + * test: Add another test for patch-not-applied + * read rpm package directly with open() while extracting + * remove redundant TODO comments; checking is handled with check_output() pretty well now + * leave rpm2cpio as fallback for distros which do not have rpm2archive available yet + * fix warnings about import order, attempt 2 + * fix warnings about import order + * Fixes for nsafe shell command + * Drop rpm2cpio usage entirely + * Adding support for RPM packages containing files greater than 4GB + * lint: Reset all checks for each package + * test: Extend tag tests to check 'W: missing-dependency-on' + +------------------------------------------------------------------- +Mon Jan 15 13:23:13 UTC 2024 - filippo.bonazzi@suse.com + +- Update to version 2.5.0+git20240115.66db794: + * Fix digester for cronie whitelisting (bsc#1218756) + +------------------------------------------------------------------- +Mon Jan 15 10:47:26 UTC 2024 - filippo.bonazzi@suse.com + +- Update to version 2.5.0+git20240115.e28fef0: + * cron-whitelist: adjust cronie-anacron again (bsc#1218756) + +------------------------------------------------------------------- +Fri Jan 12 10:26:36 UTC 2024 - filippo.bonazzi@suse.com + +- Update to version 2.5.0+git20240112.c87408b: + * systemd-tmpfiles whitelist: adjust package name for libtss-fapi + * pam-modules: separate standard PAM module that have been already reviewed + +------------------------------------------------------------------- +Tue Jan 09 09:20:03 UTC 2024 - wolfgang.frisch@suse.com + +- Update to version 2.5.0+git20240109.b4e5f72: + * dbus-services: certmonger: .conf renamed (bsc#1218616) + +------------------------------------------------------------------- +Wed Dec 20 15:15:38 UTC 2023 - filippo.bonazzi@suse.com + +- Update to version 2.5.0+git20231220.9e24b84: + * cron-whitelist: update cronie-anacron digest (bsc#1218107) + * SUIDPermissionsCheck: fix broken warnings and harmonize code + +------------------------------------------------------------------- +Thu Dec 14 15:09:40 UTC 2023 - filippo.bonazzi@suse.com + +- Update to version 2.5.0+git20231214.5f62def: + * Fix Aeon/Kalpa whitelisting distinct filenames (bsc#1217706, bsc#1217707) + +------------------------------------------------------------------- +Thu Dec 14 10:31:53 UTC 2023 - filippo.bonazzi@suse.com + +- Update to version 2.5.0+git20231214.ab9d731: + * polkit rules whitelisting: add gamemode rules (bsc#1217915) + +------------------------------------------------------------------- +Mon Dec 11 14:41:17 UTC 2023 - matthias.gerstner@suse.com + +- Update to version 2.5.0+git20231211.15d0caff: + * polkit-rules, sudoers: add plasma-branding-Kalpa for special wheel group handling (bsc#1217707, bsc#1217706) + * cron-whitelist: remove obsolete opa-ff entries + * cron-whitelist: remove obsolete logdigest entries + * fix readelf output encoding handling of errors + * Ignore (and escape) symbols that are not valid utf8 + * Revert "Disable Mageia CI builds due to system problem" + +------------------------------------------------------------------- +Tue Dec 05 10:19:36 UTC 2023 - wolfgang.frisch@suse.com + +- Update to version 2.5.0+git20231205.c211cee: + * FileDigestCheck: Filter minor versions in shebangs. + * Disable Mageia CI builds due to system problem + +------------------------------------------------------------------- +Wed Nov 15 09:40:11 UTC 2023 - filippo.bonazzi@suse.com + +- Update to version 2.5.0+git20231115.969a58b: * polkit-rules-whitelist: self auth as admin (bsc#1215652) + +------------------------------------------------------------------- +Fri Nov 03 14:39:04 UTC 2023 - filippo.bonazzi@suse.com + +- Update to version 2.5.0+git20231103.c416f34: * pam-modules: remove no longer packaged pam_oslogin_admin.so * cron-whitelist: remove tmpwatch which migrated to systemd timers (bsc#1115458) * cron-whitelist: drop sarg which as been replaced by systemd timers * pam-modules: whitelist pam-himmelblau (bsc#1215355) + +------------------------------------------------------------------- +Thu Nov 02 12:42:08 UTC 2023 - wolfgang.frisch@suse.com + +- Update to version 2.5.0+git20231102.2aee727: * dbus-services: whitelist passim service (bsc#1216434) * CI: Add systemd-rpm-macros package - * zypper-plugins: whitelist zypp-boot-plugin (bsc#1215988) * Add pgadmin user/group + * Add missing dependency to rpmlint spec + * Update search regexes for %service_* macros + * Don't skip systemd scriptlet test on Fedora + * Improve systemd scriptlet test name + +------------------------------------------------------------------- +Wed Oct 25 14:56:05 UTC 2023 - filippo.bonazzi@suse.com + +- Update to version 2.5.0+git20231025.2713543: + * zypper-plugins: whitelist zypp-boot-plugin (bsc#1215988) * Release 2.5.0 * Add new check to detect links to scripts * SpecCheck: Support "%patch n" to detect applied patches @@ -23,37 +189,58 @@ Mon Nov 13 15:10:10 UTC 2023 - filippo.bonazzi@suse.com * pkg: Add linkto parameter to FakePkg files * pkg: Add filenames to FakePkg headers * pkg: Move scriptprog to AbstractPkg - * Add missing dependency to rpmlint spec - * Update search regexes for %service_* macros - * Don't skip systemd scriptlet test on Fedora - * Improve systemd scriptlet test name ------------------------------------------------------------------- -Tue Oct 10 11:54:33 UTC 2023 - wolfgang.frisch@suse.com +Wed Oct 11 08:57:44 UTC 2023 - Daniel Garcia + +- Use %pyproject_wheel to build the package + +------------------------------------------------------------------- +Tue Oct 10 11:54:23 UTC 2023 - wolfgang.frisch@suse.com - Update to version 2.4.0+git20231010.276506d: * dbus-services: adjust to etc -> usr move in thermald (bsc#1215873) * dbus-services: remove obsolete entry for sysprof * Use "int" as defaultdict factory instead of lambda + * test: Replace bin in test_zypp_syntax + +------------------------------------------------------------------- +Fri Oct 06 12:11:12 UTC 2023 - filippo.bonazzi@suse.com + +- Update to version 2.4.0+git20231006.4b34bab: * Whitelist dbus service and configuration for policycoreutils-dbus (bsc#1213435) * polkit-rules-whitelist: add fudo rules (bsc#1215948) - * test: Replace bin in test_zypp_syntax + +------------------------------------------------------------------- +Wed Sep 27 10:26:53 UTC 2023 - filippo.bonazzi@suse.com + +- Update to version 2.4.0+git20230927.bf3988d: * Add whitelisting for 90-kubeadm.conf (bsc#1215542) * sysctl-whitelist: remove old microos-tools entry ------------------------------------------------------------------- -Mon Sep 18 13:34:02 UTC 2023 - wolfgang.frisch@suse.com +Mon Sep 18 12:58:36 UTC 2023 - filippo.bonazzi@suse.com - Update to version 2.4.0+git20230918.4498739: * dbus-services: sddm-qt6 whitelisting (bsc#1215441) ------------------------------------------------------------------- -Mon Sep 18 12:43:27 UTC 2023 - wolfgang.frisch@suse.com +Mon Sep 18 09:57:48 UTC 2023 - daniel.garcia@suse.com - Update to version 2.4.0+git20230918.02ed553: * Fix time report function output string creation - * dbus-services: update tukitd (bsc#1215216) + +------------------------------------------------------------------- +Fri Sep 15 11:55:43 UTC 2023 - matthias.gerstner@suse.com + +- Update to version 2.4.0+git20230915.acb9f8b2: * polkit, sudoers whitelist: add gnome-branding-Aeon (bsc#1215276) + +------------------------------------------------------------------- +Fri Sep 15 07:21:51 UTC 2023 - filippo.bonazzi@suse.com + +- Update to version 2.4.0+git20230915.ac23757: + * dbus-services: update tukitd (bsc#1215216) * FileDigestCheck: do not use hash as variable name * FileDigestCheck: Adapt fstrings to python3.12 check * test: Remove real_files opotional parameter @@ -94,21 +281,36 @@ Mon Sep 18 12:43:27 UTC 2023 - wolfgang.frisch@suse.com * As suggested, I have made changes to to get_tested_mock_package to use API, instead of just kwargs * Tried to mock a test: test_binary.py * CI: Use pipx to install external dependencies - * dbus-services: keep old deepin names around until rename is complete (bsc#1214101) * flake8: ignored double quotes with a comment * flake8: remove double quotes * add flake8 extra plugins * Use python-magic API when available * test: Skip test_executable_stack when ldd-failed * PythonCheck: Add check for *.pyc different version - * whitelists: adjust package for systemd-homed components (bsc#1213692) + +------------------------------------------------------------------- +Fri Aug 18 09:31:56 UTC 2023 - matthias.gerstner@suse.com + +- Update to version 2.4.0+git20230818.5cdd21d0: + * dbus-services: keep old deepin names around until rename is complete (bsc#1214101) * BinariesCheck: Allow ELF prefix in magic string - * bsc#1213292: adjust timesync1 dbus whitelisting * README: added test coverage badge * pkg_resource is deprecated, importlib and packaging are standard now * Change setuptools dependency version and license * Add 'rpmlint.descriptions' to packages on pyproject.toml * Move metadata from setup.py to pyproject.toml + +------------------------------------------------------------------- +Thu Jul 27 14:51:53 UTC 2023 - filippo.bonazzi@suse.com + +- Update to version 2.4.0+git20230727.0fd5122: + * whitelists: adjust package for systemd-homed components (bsc#1213692) + +------------------------------------------------------------------- +Thu Jul 13 14:45:17 UTC 2023 - wolfgang.frisch@suse.com + +- Update to version 2.4.0+git20230713.dfa31c7: + * bsc#1213292: adjust timesync1 dbus whitelisting * spellcheck: Set lang to en_US when it's C * SpecCheck: Allow macros for special comments * rpmdiff: handle script argument with argparse @@ -120,13 +322,23 @@ Mon Sep 18 12:43:27 UTC 2023 - wolfgang.frisch@suse.com * rpmdiff: adjust for rpm-4.19.0 API changes * DocCheck: adjust for rpm-4.19.0 API changes * dbus-services: drop whitelisting that was never put into production + * openSUSE/users-groups: transmission + * Releasing rpmlint as pre-commit hook + +------------------------------------------------------------------- +Fri Jun 02 10:38:20 UTC 2023 - matthias.gerstner@suse.com + +- Update to version 2.4.0+git20230602.89901a92: * cron-whitelist: drop dead suse-texlive entry * pam-modules: drop dead pam_opie entry (sr#1065964) * dbus-services: drop no longer needed dinstaller services (bsc#1208394) * dbus-services: remove no longer packaged mumble-server (bsc#1209338) + +------------------------------------------------------------------- +Wed May 17 12:41:26 UTC 2023 - matthias.gerstner@suse.com + +- Update to version 2.4.0+git20230517.2e069e5c: * dbus-services: rename com.deepin.api to org.deepin.dde (bsc#1211376) - * openSUSE/users-groups: transmission - * Releasing rpmlint as pre-commit hook ------------------------------------------------------------------- Tue May 09 13:07:19 UTC 2023 - matthias.gerstner@suse.com diff --git a/rpmlint.spec b/rpmlint.spec index 69a13f8..bdc4841 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package rpmlint # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ %define name_suffix -%{flavor} %endif Name: rpmlint%{name_suffix} -Version: 2.5.0+git20231113.82aa9b1 +Version: 2.5.0+git20240215.29f50e5 Release: 0 Summary: RPM file correctness checker License: GPL-2.0-or-later @@ -32,7 +32,9 @@ Source0: rpmlint-%{version}.tar.xz Patch0: disable-flake-and-cov.patch BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: python3-pip BuildRequires: python3-setuptools +BuildRequires: python3-wheel BuildArch: noarch %if "%{flavor}" == "test" BuildRequires: appstream-glib @@ -92,7 +94,7 @@ source packages can be checked. %build %if "%{flavor}" != "strict" -%python3_build +%python3_pyproject_wheel %endif %install @@ -102,7 +104,7 @@ install -m644 configs/openSUSE/scoring-strict.override.toml %{buildroot}%{_sysco %endif %if "%{flavor}" == "" -%python3_install +%python3_pyproject_install fdupes %{buildroot}%{python3_sitelib} install -m644 configs/openSUSE/* %{buildroot}%{_sysconfdir}/xdg/rpmlint rm %{buildroot}%{_sysconfdir}/xdg/rpmlint/scoring-strict.override.toml