Commit Graph

198 Commits

Author SHA1 Message Date
Debarshi Ray
06dc464d52 Use %sysusers_requires_compat to match %sysusers_create_compat
The %sysusers_create_compat RPM macro was introduced in commit
6c2b44a54a, so this is meant to match with that.

It's not clear why the 'Requires(pre)' was added to the flatpak-libs
sub-package in commit b6456a51bb when the actual %pre scriptlet
is part of the main package.  It was likely a mistake.
2022-08-19 20:02:52 +02:00
Fedora Release Engineering
157d8d1323 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 03:16:17 +00:00
Debarshi Ray
37c03167da Avoid SELinux denials caused by reading symbolic links in /var/lib/flatpak
https://bugzilla.redhat.com/show_bug.cgi?id=2071215
2022-07-14 15:56:29 +02:00
Ralf Corsépius
2f59c541aa Let flatpak own %{_sysconfdir}/flatpak (RHBZ#2101073). 2022-06-26 11:34:01 +01:00
David King
166eb26669 Add gssproxy support 2022-06-17 07:52:55 +01:00
Debarshi Ray
575d1a8370 Update to 1.13.3
While Flatpak should ideally use at least appstream 0.15.3, certain
practicalities make it difficult to bump the requirement upstream:
  https://github.com/flatpak/flatpak/pull/4949

This reverts 8cbbf30854 because the
downstream patch for gssproxy support doesn't apply anymore and needs
to be rebased.  Ideally, we shouldn't be in a rush to apply unreviewed
patches to Rawhide unless there's some major ongoing crisis.
2022-06-17 03:21:38 +02:00
David King
8cbbf30854 Add gssproxy support 2022-06-07 14:41:27 +01:00
Timothée Ravier
6c2b44a54a Use systemd-sysusers to create user & group
This duplicates the sysusers config from upstream but only installs the
upstream one. The configs should be kept in sync.

We can not use the upstream one as it requires pre-processing that will
only happen at a later time in the build process.

See: https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/#_dynamic_allocation

https://src.fedoraproject.org/rpms/flatpak/pull-request/8
2022-05-26 03:17:02 +02:00
Debarshi Ray
b6e9962fa4 Avoid SELinux denials
... caused by:
  * Read access to /etc/passwd
  * Watching files inside /usr/libexec
  * Read access to /var/lib/flatpak

https://bugzilla.redhat.com/show_bug.cgi?id=2053634
https://bugzilla.redhat.com/show_bug.cgi?id=2070350
https://bugzilla.redhat.com/show_bug.cgi?id=2070741
2022-04-12 23:07:51 +02:00
Debarshi Ray
52deeed075 Update to 1.13.2 (#2064038) 2022-03-17 22:52:30 +01:00
Debarshi Ray
1335c272d7 Update to 1.13.1 (#2059784) 2022-03-12 02:16:56 +01:00
Debarshi Ray
954b9e873d Specify the %{epoch} consistently
This is purely cosmetic.  Since the package doesn't have an epoch, it
shouldn't result in any user-visible change.
2022-03-02 16:30:01 +01:00
Debarshi Ray
cf65dda8c9 Update to 1.12.6 (#2053655) 2022-02-25 20:37:43 +01:00
Debarshi Ray
c9cfcc3311 Update to 1.12.5 (#2032528) 2022-02-14 13:57:51 +01:00
Debarshi Ray
056c6d8094 Remove an obsolete Fedora-specific update path 2022-02-08 20:10:14 +01:00
Debarshi Ray
a1ff92135f Don't try to add Fedora's OCI Flatpak repository on RHEL 2022-02-08 20:04:44 +01:00
Fedora Release Engineering
5ac2337b59 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 03:06:02 +00:00
Debarshi Ray
eedb48461c Update to 1.12.4 (#2042071) 2022-01-18 21:08:29 +01:00
Debarshi Ray
20d7e65fc9 Update to 1.12.3 (#2040094) 2022-01-14 02:47:15 +01:00
David King
1855dd828e Update to 1.12.2 (#2013492) 2021-10-13 07:05:11 +01:00
David King
139c8cf5d5 Update to 1.12.1 (#2012273) 2021-10-08 19:21:14 +01:00
David King
79e7d63b25 Update to 1.12.0 (#2012246) 2021-10-08 17:36:32 +01:00
Kalev Lember
0731a188bf Enable malcontent support
This also brings back the systemd system env generator that we had
problems with before -- hopefully we can figure out the selinux policy
support this time.
2021-09-09 13:28:53 +02:00
Kalev Lember
9ba1ef10d6 Update to 1.11.3 2021-08-25 17:03:23 +02:00
Fedora Release Engineering
b5d4cdbc2a - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 23:03:30 +00:00
David King
07789474c1 Update to 1.11.2 (#1973591) 2021-07-14 17:35:24 +01:00
Jeff Law
85dc7986c2 Re-enable LTO 2021-05-13 08:40:23 -06:00
David King
3f2d8c56c2 Update to 1.11.1 (#1953833) 2021-04-27 08:30:58 +01:00
Kalev Lember
89da895a64 Disable system env generator to work around selinux denials
The system env generator is used to get the list of flatpak apps in
gnome-initial-setup for parental controls support. We don't have
parental controls enabled in F33 and F34 (although it's planned for
F35), so we can just disable the system env generator to work around the
selinux denials for now while we don't have the selinux policy side
changes figured out.

https://bugzilla.redhat.com/show_bug.cgi?id=1947214
https://bugzilla.redhat.com/show_bug.cgi?id=1916652
https://github.com/flatpak/flatpak/issues/4128
2021-04-14 22:33:28 +02:00
Kalev Lember
fb7919120d OCI: Switch to pax format for tar archives
For reasons unknown, libarchive appears to generate broken gnutar format
tar archives when the archive contains files that are larger than 2 GB.
This commit switches to the pax format to work this around.

This should be a better default as it also removes 256 char filename
length limitation and matches what other libraries are doing, e.g.
Python 3.8 switched to the pax format by default as well.

See https://pagure.io/fedora-infrastructure/issue/9840
2021-04-05 17:09:46 +02:00
Kalev Lember
d36f538490 Update to 1.10.2 2021-03-10 11:50:20 +01:00
Zbigniew Jędrzejewski-Szmek
6102d9ee6d Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:13:46 +01:00
Kalev Lember
62d4e1f5d1 Drop unneeded ldconfig_scriptlets macro call 2021-02-12 20:52:52 +01:00
Kalev Lember
7ad9f2f5c6 Add G_BEGIN_DECLS/G_END_DECLS to public headers
https://bugzilla.redhat.com/show_bug.cgi?id=1927439
2021-02-12 20:51:16 +01:00
Fedora Release Engineering
b4680b002f - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 05:38:01 +00:00
Kalev Lember
804a329f4b Update to 1.10.1 2021-01-21 15:08:13 +01:00
Kalev Lember
d8f22358a8 Fix whitespace 2021-01-14 11:21:17 +01:00
Kalev Lember
8b44ebd45e Update to 1.10.0 2021-01-14 11:18:21 +01:00
Kalev Lember
1bc15b80ff Use "Fedora Flatpaks" as the remote title
This should make it clearer in various app centers that this is the
Fedora Flatpak repo and make it easier to distinguish from regular
Fedora RPMs when they are displayed side by side. Unofficially everybody
already talks about "Fedora Flatpaks" so it makes sense to use the same
name here to reinforce the terminology.

This goes together with
https://gitlab.gnome.org/GNOME/gnome-software/-/merge_requests/564
that makes gnome-software actually use flatpak-provided repo titles.

See https://lists.fedoraproject.org/archives/list/desktop@lists.fedoraproject.org/message/CVN5OUHIHF6ST264FNXMD4ETMPOMAW34/
for the discussion.
2021-01-11 10:11:28 +01:00
David King
a1e059e194 Update to 1.9.3 (#1910054) 2020-12-22 13:39:23 +00:00
Tom Stellard
10325ad25f Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-18 22:40:42 +00:00
Kalev Lember
c7c97f535c Update to 1.9.2 2020-11-20 15:51:53 +01:00
Kalev Lember
f15771df6f Update to 1.9.1 2020-11-19 11:45:14 +01:00
David King
f5b3099c37 Drop obsolete Requires on system-release 2020-11-18 16:04:43 +00:00
Kalev Lember
fb01726dcf Update to 1.8.3 2020-11-17 14:48:21 +01:00
Jeff Law
1a5680034e Fix bogus volatiles caught by gcc-11 2020-10-31 13:35:07 -06:00
Kalev Lember
6b8a0a5ed0 Backport various OCI fixes from upstream 2020-09-11 16:54:54 +02:00
Kalev Lember
df2fd06ece Update to 1.8.2 2020-08-21 15:53:08 +02:00
Fedora Release Engineering
086321cf22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 17:32:28 +00:00
David King
f49d0a50a8 Update to 1.8.1 (#1853667) 2020-07-03 16:44:35 +01:00