Commit Graph

9 Commits

Author SHA1 Message Date
Debarshi Ray
4006e98c7f Silence 'rpminspect --tests=runpath'
The DT_RPATH or DT_RUNPATH value of %{_libdir} that's present in
%{_libexecdir}/installed-tests/Flatpak/testlibrary is intentional [1].
It's meant to make the installed test run against the Flatpak binaries
produced by the same build by forcing the use of the prefix specified
during the build.

[1] Upstream commit d19f6c330aa42e17
    https://github.com/flatpak/flatpak/commit/d19f6c330aa42e17

Resolves: RHEL-4220
2023-11-08 12:47:06 +01:00
Debarshi Ray
b231e9912a Rebase to 1.12.8
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/4111
    https://github.com/flatpak/flatpak/releases/tag/1.12.7

Resolves: RHEL-4220
2023-11-06 20:29:25 +01:00
Debarshi Ray
c37b0b1b4d Let flatpak own %%{_sysconfdir}/flatpak
Resolves: RHEL-15822
2023-11-06 17:59:45 +01:00
Miro Hrončok
f3a73d3e05 Make sure to use the RHEL-lifetime supported Python and no other
/usr/bin/python3 can be specified by the users.  RHEL 8 packages should
never use it.

Resolves: RHEL-2225
2023-10-01 15:25:27 +02:00
Debarshi Ray
2591b14abf Rebase to 1.10.8 (CVE-2023-28100 and CVE-2023-28101)
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=2222124

Resolves: #2180311, #2222103
2023-07-12 00:06:47 +02:00
Troy Dawson
09be417604 Bring gating.yaml over from Brew dist-git
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-03-10 10:37:09 -08:00
James Antill
479598361b Import rpm: c8s 2023-02-27 13:00:31 -05:00
James Antill
1555765f22 Auto sync2gitlab import of flatpak-1.10.7-1.el8.src.rpm 2022-05-26 07:06:56 -04:00
James Antill
07e1838d9d Initial c8s branch. 2022-05-26 07:06:54 -04:00