RHEL 8's SELinux stack doesn't have the systemd_userdbd_stream_connect()
interface, and hence it was dropped. Otherwise, it leads to:
flatpak.te:36:ERROR 'syntax error' at token
'systemd_userdbd_stream_connect' on line 4970:
systemd_userdbd_stream_connect(flatpak_helper_t)
The dependencies specified by the %systemd_requires RPM macro are not
required for the %systemd_post, %systemd_postun_with_restart and
%systemd_preun macros that are used [1]. Hence, %systemd_requires was
dropped.
The workaround to cope better with /var/lib/flatpak existing but being
empty, by using 'flatpak remote-list --system' in %post, was dropped
because the root cause was fixed in 1.12.7 [2].
[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/
[2] https://github.com/flatpak/flatpak/issues/4111https://github.com/flatpak/flatpak/releases/tag/1.12.7
Resolves: RHEL-4220
The gpgme dependency was simplified to prefer pkg-config on
distributions released after 2016, as opposed to gpgme-config [1].
Unfortunately, on RHEL 8, gpgme-devel doesn't pull in libassuan-devel
even though gpgme.pc refers to it [2]:
$ pkg-config --cflags --libs gpgme
-I/usr/include/libassuan2 -lgpgme -lgpg-error -lassuan
... and libassuan-devel itself doesn't provide a libassuan.pc.
Last time when flatpak-1.10.7 was built for RHEL 8.7, something was
pulling python36 into the buildroot. Now, on RHEL 8.9, something is
pulling python3.11 into the buildroot, and that requires the
python3.11-pyparsing RPM.
[1] Flatpak commit f1dd7d6076645b06
https://github.com/flatpak/flatpak/commit/f1dd7d6076645b06
[2] https://bugzilla.redhat.com/show_bug.cgi?id=2222124Resolves: #2180311, #2222103