diff --git a/.flatpak.metadata b/.flatpak.metadata new file mode 100644 index 0000000..c058f19 --- /dev/null +++ b/.flatpak.metadata @@ -0,0 +1 @@ +1bdadfaf16f2055c332d4395dafd013a33ef580c SOURCES/flatpak-1.12.5.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7c670d6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/flatpak-1.12.5.tar.xz diff --git a/SOURCES/flatpak-dir-Use-SHA256-not-SHA1-to-name-the-cache-for-a-filt.patch b/SOURCES/flatpak-dir-Use-SHA256-not-SHA1-to-name-the-cache-for-a-filt.patch new file mode 100644 index 0000000..7c8c332 --- /dev/null +++ b/SOURCES/flatpak-dir-Use-SHA256-not-SHA1-to-name-the-cache-for-a-filt.patch @@ -0,0 +1,38 @@ +From 7dd160f33054863b1ea6f75ac279a42121a16430 Mon Sep 17 00:00:00 2001 +From: Debarshi Ray +Date: Mon, 31 Jan 2022 21:17:29 +0100 +Subject: [PATCH] dir: Use SHA256, not SHA1, to name the cache for a filtered + remote + +SHA1 hashes are considered weak these days. Some distributions have +static analysis tools to detect the use of such weak hashes, and they +get triggered by flatpak. While this particular use of SHA1 in flatpak +is likely not security sensitive, it's also easy to move to SHA256 to +avoid any debate. + +Here, the SHA1 hash of a named remote's filter file is used to generate +the name of the directory where the refs from that remote are cached. +One can reasonably assume that the cache is frequently invalidated +because the list of refs on the remote changes all the time. Hence, +it's not big problem if it gets invalidated once more because of this +change. +--- + common/flatpak-dir.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c +index 18384bd432fc..c6d08e85b41f 100644 +--- a/common/flatpak-dir.c ++++ b/common/flatpak-dir.c +@@ -10923,7 +10923,7 @@ remote_filter_load (GFile *path, GError **error) + } + + filter = g_new0 (RemoteFilter, 1); +- filter->checksum = g_compute_checksum_for_data (G_CHECKSUM_SHA1, (guchar *)data, data_size); ++ filter->checksum = g_compute_checksum_for_data (G_CHECKSUM_SHA256, (guchar *)data, data_size); + filter->path = g_object_ref (path); + filter->mtime = mtime; + filter->last_mtime_check = g_get_monotonic_time (); +-- +2.34.1 + diff --git a/SOURCES/flatpak-empty-var-lib-flatpak.patch b/SOURCES/flatpak-empty-var-lib-flatpak.patch new file mode 100644 index 0000000..837ef43 --- /dev/null +++ b/SOURCES/flatpak-empty-var-lib-flatpak.patch @@ -0,0 +1,476 @@ +From 6c50142ee524fc8c82e565b09f1e9223a41fb599 Mon Sep 17 00:00:00 2001 +From: Simon McVittie +Date: Tue, 8 Feb 2022 14:04:50 +0000 +Subject: [PATCH 1/7] dir: Pass cancellable through to remote EnsureRepo call + +Signed-off-by: Simon McVittie +(cherry picked from commit 15c1d4f8cb8bf8266b454a9789fe589c645a5480) +--- + common/flatpak-dir.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c +index 965e1ca5376b..bc348b51a7e6 100644 +--- a/common/flatpak-dir.c ++++ b/common/flatpak-dir.c +@@ -3943,7 +3943,7 @@ _flatpak_dir_ensure_repo (FlatpakDir *self, + if (!flatpak_dir_system_helper_call_ensure_repo (self, + FLATPAK_HELPER_ENSURE_REPO_FLAGS_NONE, + installation ? installation : "", +- NULL, &local_error)) ++ cancellable, &local_error)) + { + if (allow_empty) + return TRUE; +@@ -4087,7 +4087,7 @@ _flatpak_dir_ensure_repo (FlatpakDir *self, + if (!flatpak_dir_system_helper_call_ensure_repo (self, + FLATPAK_HELPER_ENSURE_REPO_FLAGS_NONE, + installation ? installation : "", +- NULL, &my_error)) ++ cancellable, &my_error)) + { + if (allow_empty) + return TRUE; +-- +2.34.1 + + +From 03f16b300e662afd324d3afab04a95186bf31e07 Mon Sep 17 00:00:00 2001 +From: Simon McVittie +Date: Tue, 8 Feb 2022 14:09:05 +0000 +Subject: [PATCH 2/7] dir: Factor out common code to call EnsureRepo on system + helper + +Signed-off-by: Simon McVittie +(cherry picked from commit 951b111d2627c6f62bfb5e20d86974beadcf2587) +--- + common/flatpak-dir.c | 54 +++++++++++++++++++++++--------------------- + 1 file changed, 28 insertions(+), 26 deletions(-) + +diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c +index bc348b51a7e6..8f7b7f011048 100644 +--- a/common/flatpak-dir.c ++++ b/common/flatpak-dir.c +@@ -3918,6 +3918,30 @@ apply_new_flatpakrepo (const char *remote_name, + return TRUE; + } + ++static gboolean ++system_helper_maybe_ensure_repo (FlatpakDir *self, ++ gboolean allow_empty, ++ GCancellable *cancellable, ++ GError **error) ++{ ++ g_autoptr(GError) local_error = NULL; ++ const char *installation = flatpak_dir_get_id (self); ++ ++ if (!flatpak_dir_system_helper_call_ensure_repo (self, ++ FLATPAK_HELPER_ENSURE_REPO_FLAGS_NONE, ++ installation ? installation : "", ++ cancellable, &local_error)) ++ { ++ if (allow_empty) ++ return TRUE; ++ ++ g_propagate_error (error, g_steal_pointer (&local_error)); ++ return FALSE; ++ } ++ ++ return TRUE; ++} ++ + static gboolean + _flatpak_dir_ensure_repo (FlatpakDir *self, + gboolean allow_empty, +@@ -3937,20 +3961,8 @@ _flatpak_dir_ensure_repo (FlatpakDir *self, + { + if (flatpak_dir_use_system_helper (self, NULL)) + { +- g_autoptr(GError) local_error = NULL; +- const char *installation = flatpak_dir_get_id (self); +- +- if (!flatpak_dir_system_helper_call_ensure_repo (self, +- FLATPAK_HELPER_ENSURE_REPO_FLAGS_NONE, +- installation ? installation : "", +- cancellable, &local_error)) +- { +- if (allow_empty) +- return TRUE; +- +- g_propagate_error (error, g_steal_pointer (&local_error)); +- return FALSE; +- } ++ if (!system_helper_maybe_ensure_repo (self, allow_empty, cancellable, error)) ++ return FALSE; + } + else + { +@@ -4083,18 +4095,8 @@ _flatpak_dir_ensure_repo (FlatpakDir *self, + { + if (flatpak_dir_use_system_helper (self, NULL)) + { +- const char *installation = flatpak_dir_get_id (self); +- if (!flatpak_dir_system_helper_call_ensure_repo (self, +- FLATPAK_HELPER_ENSURE_REPO_FLAGS_NONE, +- installation ? installation : "", +- cancellable, &my_error)) +- { +- if (allow_empty) +- return TRUE; +- +- g_propagate_error (error, g_steal_pointer (&my_error)); +- return FALSE; +- } ++ if (!system_helper_maybe_ensure_repo (self, allow_empty, cancellable, error)) ++ return FALSE; + + if (!ostree_repo_reload_config (repo, cancellable, error)) + return FALSE; +-- +2.34.1 + + +From 46d2abd78561c9a1686896292a19280d09deaf77 Mon Sep 17 00:00:00 2001 +From: Simon McVittie +Date: Tue, 8 Feb 2022 14:12:01 +0000 +Subject: [PATCH 3/7] dir: Factor out function to open the libostree repository + +I'm about to add another caller for this. + +Signed-off-by: Simon McVittie +(cherry picked from commit 8537b3412ad70479b16ad2c880c73ba37daf80d0) +--- + common/flatpak-dir.c | 27 +++++++++++++++++++-------- + 1 file changed, 19 insertions(+), 8 deletions(-) + +diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c +index 8f7b7f011048..f44241c40290 100644 +--- a/common/flatpak-dir.c ++++ b/common/flatpak-dir.c +@@ -3942,6 +3942,23 @@ system_helper_maybe_ensure_repo (FlatpakDir *self, + return TRUE; + } + ++static gboolean ++ensure_repo_opened (OstreeRepo *repo, ++ GCancellable *cancellable, ++ GError **error) ++{ ++ if (!ostree_repo_open (repo, cancellable, error)) ++ { ++ g_autofree char *repopath = NULL; ++ ++ repopath = g_file_get_path (ostree_repo_get_path (repo)); ++ g_prefix_error (error, _("While opening repository %s: "), repopath); ++ return FALSE; ++ } ++ ++ return TRUE; ++} ++ + static gboolean + _flatpak_dir_ensure_repo (FlatpakDir *self, + gboolean allow_empty, +@@ -4008,14 +4025,8 @@ _flatpak_dir_ensure_repo (FlatpakDir *self, + } + else + { +- if (!ostree_repo_open (repo, cancellable, error)) +- { +- g_autofree char *repopath = NULL; +- +- repopath = g_file_get_path (repodir); +- g_prefix_error (error, _("While opening repository %s: "), repopath); +- return FALSE; +- } ++ if (!ensure_repo_opened (repo, cancellable, error)) ++ return FALSE; + } + + /* In the system-helper case we're directly using the global repo, and we can't write any +-- +2.34.1 + + +From 4c831cad673e3271aafcb03da717515aec197636 Mon Sep 17 00:00:00 2001 +From: Simon McVittie +Date: Tue, 8 Feb 2022 16:39:06 +0000 +Subject: [PATCH 4/7] dir: Use system helper to create system repo if necessary + +Previously, if /var/lib/flatpak didn't exist then we would use the +system helper to create and populate it, but if it existed and was empty, +we could only populate it if we had privileges. This led to errors from +libostree: + + Creating repo: mkdirat: Permission denied + +The EnsureRepo method call is allowed by default for active local users, +so do this even if allow_empty is true: this will incorporate +/etc/flatpak/remotes.d into the repository, whether it is newly-created +or not. This makes a `flatpak search` work immediately, without having +to fetch metadata explicitly. + +Signed-off-by: Simon McVittie +(cherry picked from commit 2489b915efae3a78ca7040c39161f8c304e4c7a5) +--- + common/flatpak-dir.c | 35 +++++++++++++++++++++++------------ + 1 file changed, 23 insertions(+), 12 deletions(-) + +diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c +index f44241c40290..aef3a75392dc 100644 +--- a/common/flatpak-dir.c ++++ b/common/flatpak-dir.c +@@ -4005,22 +4005,33 @@ _flatpak_dir_ensure_repo (FlatpakDir *self, + that still user bare-user */ + OstreeRepoMode mode = OSTREE_REPO_MODE_BARE_USER_ONLY; + +- if (!ostree_repo_create (repo, mode, cancellable, &my_error)) ++ if (flatpak_dir_use_system_helper (self, NULL)) + { +- flatpak_rm_rf (repodir, cancellable, NULL); +- +- if (allow_empty) +- return TRUE; ++ if (!system_helper_maybe_ensure_repo (self, allow_empty, cancellable, error)) ++ return FALSE; + +- g_propagate_error (error, g_steal_pointer (&my_error)); +- return FALSE; ++ if (!ensure_repo_opened (repo, cancellable, error)) ++ return FALSE; + } +- +- /* Create .changed file early to avoid polling non-existing file in monitor */ +- if (!flatpak_dir_mark_changed (self, &my_error)) ++ else + { +- g_warning ("Error marking directory as changed: %s", my_error->message); +- g_clear_error (&my_error); ++ if (!ostree_repo_create (repo, mode, cancellable, &my_error)) ++ { ++ flatpak_rm_rf (repodir, cancellable, NULL); ++ ++ if (allow_empty) ++ return TRUE; ++ ++ g_propagate_error (error, g_steal_pointer (&my_error)); ++ return FALSE; ++ } ++ ++ /* Create .changed file early to avoid polling non-existing file in monitor */ ++ if (!flatpak_dir_mark_changed (self, &my_error)) ++ { ++ g_warning ("Error marking directory as changed: %s", my_error->message); ++ g_clear_error (&my_error); ++ } + } + } + else +-- +2.34.1 + + +From 30b7778dc412143a8f06052298f63bdeb7bd5186 Mon Sep 17 00:00:00 2001 +From: Simon McVittie +Date: Tue, 8 Feb 2022 16:11:31 +0000 +Subject: [PATCH 5/7] dir: Avoid polkit prompts for EnsureRepo in most CLI + commands + +If we are running a CLI command in the background, then EnsureRepo +might require authorization. Silently skip it if allow_empty was true, +as it is for commands that iterate through all repositories. + +Signed-off-by: Simon McVittie +(cherry picked from commit 48f40d45045071c0e073061b72a1c32fb0562c3f) +--- + common/flatpak-dir.c | 14 ++++++++++---- + 1 file changed, 10 insertions(+), 4 deletions(-) + +diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c +index aef3a75392dc..597f8906b1ce 100644 +--- a/common/flatpak-dir.c ++++ b/common/flatpak-dir.c +@@ -3920,6 +3920,7 @@ apply_new_flatpakrepo (const char *remote_name, + + static gboolean + system_helper_maybe_ensure_repo (FlatpakDir *self, ++ FlatpakHelperEnsureRepoFlags flags, + gboolean allow_empty, + GCancellable *cancellable, + GError **error) +@@ -3928,7 +3929,7 @@ system_helper_maybe_ensure_repo (FlatpakDir *self, + const char *installation = flatpak_dir_get_id (self); + + if (!flatpak_dir_system_helper_call_ensure_repo (self, +- FLATPAK_HELPER_ENSURE_REPO_FLAGS_NONE, ++ flags, + installation ? installation : "", + cancellable, &local_error)) + { +@@ -3970,15 +3971,20 @@ _flatpak_dir_ensure_repo (FlatpakDir *self, + g_autoptr(GError) my_error = NULL; + g_autoptr(GFile) cache_dir = NULL; + g_autoptr(GHashTable) flatpakrepos = NULL; ++ FlatpakHelperEnsureRepoFlags ensure_flags = FLATPAK_HELPER_ENSURE_REPO_FLAGS_NONE; + + if (self->repo != NULL) + return TRUE; + ++ /* Don't trigger polkit prompts if we are just doing this opportunistically */ ++ if (allow_empty) ++ ensure_flags |= FLATPAK_HELPER_ENSURE_REPO_FLAGS_NO_INTERACTION; ++ + if (!g_file_query_exists (self->basedir, cancellable)) + { + if (flatpak_dir_use_system_helper (self, NULL)) + { +- if (!system_helper_maybe_ensure_repo (self, allow_empty, cancellable, error)) ++ if (!system_helper_maybe_ensure_repo (self, ensure_flags, allow_empty, cancellable, error)) + return FALSE; + } + else +@@ -4007,7 +4013,7 @@ _flatpak_dir_ensure_repo (FlatpakDir *self, + + if (flatpak_dir_use_system_helper (self, NULL)) + { +- if (!system_helper_maybe_ensure_repo (self, allow_empty, cancellable, error)) ++ if (!system_helper_maybe_ensure_repo (self, ensure_flags, allow_empty, cancellable, error)) + return FALSE; + + if (!ensure_repo_opened (repo, cancellable, error)) +@@ -4117,7 +4123,7 @@ _flatpak_dir_ensure_repo (FlatpakDir *self, + { + if (flatpak_dir_use_system_helper (self, NULL)) + { +- if (!system_helper_maybe_ensure_repo (self, allow_empty, cancellable, error)) ++ if (!system_helper_maybe_ensure_repo (self, ensure_flags, allow_empty, cancellable, error)) + return FALSE; + + if (!ostree_repo_reload_config (repo, cancellable, error)) +-- +2.34.1 + + +From f2747123d890f836cc7f1c5c88edd67b8095f72b Mon Sep 17 00:00:00 2001 +From: Simon McVittie +Date: Tue, 8 Feb 2022 16:40:49 +0000 +Subject: [PATCH 6/7] dir: Include repo path in error message if unable to + create it + +libostree makes heavy use of fd-based I/O, which has the disadvantage +that it is rarely obvious what path an error message is referring to. + +Signed-off-by: Simon McVittie +(cherry picked from commit d106384446ae57c78a76f4a0a0360797df62c31f) +--- + common/flatpak-dir.c | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) + +diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c +index 597f8906b1ce..f6a43aafa612 100644 +--- a/common/flatpak-dir.c ++++ b/common/flatpak-dir.c +@@ -4023,12 +4023,24 @@ _flatpak_dir_ensure_repo (FlatpakDir *self, + { + if (!ostree_repo_create (repo, mode, cancellable, &my_error)) + { ++ const char *repo_path = flatpak_file_get_path_cached (repodir); ++ + flatpak_rm_rf (repodir, cancellable, NULL); + + if (allow_empty) + return TRUE; + +- g_propagate_error (error, g_steal_pointer (&my_error)); ++ /* As of 2022, the error message from libostree is not the most helpful: ++ * Creating repo: mkdirat: Permission denied ++ * If the repository path is in the error message, assume this ++ * has been fixed. If not, add it. */ ++ if (strstr (my_error->message, repo_path) != NULL) ++ g_propagate_error (error, g_steal_pointer (&my_error)); ++ else ++ g_set_error (error, my_error->domain, my_error->code, ++ "Unable to create repository at %s (%s)", ++ repo_path, my_error->message); ++ + return FALSE; + } + +-- +2.34.1 + + +From 4772e9935f5a2b2178efa3005027b19e997ec8e5 Mon Sep 17 00:00:00 2001 +From: Simon McVittie +Date: Tue, 8 Feb 2022 14:47:24 +0000 +Subject: [PATCH 7/7] app: Make ALL_DIRS and STANDARD_DIRS imply OPTIONAL_REPO + +It is already the case that when we are using ALL_DIRS, we always +combine it with OPTIONAL_REPO, meaning no need to populate empty +installations. ALL_DIRS is used for commands that iterate through all +known installations to enumerate apps/runtimes, such as `flatpak run` +and `flatpak list`; for these commands, it's reasonable to say that +if the installation does not have a libostree repository, then that's +equivalent to it having a libostree repository with no apps and no +runtimes. Make this happen automatically if forgotten. + +For STANDARD_DIRS, we were inconsistent about this: `flatpak remote-list` +had OPTIONAL_REPO, but the other commands did not. +STANDARD_DIRS is used for `flatpak create-usb`, and for all the commands +that manipulate remotes. + +For the commands that manipulate remotes, it seems reasonable to say +that if an installation has no libostree repository and we are unable +to create one, then that's equivalent to an installation with a +libostree repository but no remotes. + +Similarly, for create-usb, an installation where we are unable to create +a libostree repository seems like it should be equivalent to an +installation whose libostree repository does not contain any of the +refs we are interested in. + +Resolves: https://github.com/flatpak/flatpak/issues/4111 +Signed-off-by: Simon McVittie +(cherry picked from commit 3f144d1e02fa060680eba18a9dd81969682a3170) +--- + app/flatpak-builtins.h | 6 ++++-- + app/flatpak-main.c | 4 +++- + 2 files changed, 7 insertions(+), 3 deletions(-) + +diff --git a/app/flatpak-builtins.h b/app/flatpak-builtins.h +index ec1ac4a4abdb..d925c8cd389e 100644 +--- a/app/flatpak-builtins.h ++++ b/app/flatpak-builtins.h +@@ -39,10 +39,12 @@ G_BEGIN_DECLS + * @FLATPAK_BUILTIN_FLAG_ONE_DIR: Allow a single --user/--system/--installation option + * and return a single dir. If no option is specified, default to --system + * @FLATPAK_BUILTIN_FLAG_STANDARD_DIRS: Allow repeated use of --user/--system/--installation +- * and return multiple dirs. If no option is specified return system(default)+user ++ * and return multiple dirs. If no option is specified return system(default)+user. ++ * Implies %FLATPAK_BUILTIN_FLAG_OPTIONAL_REPO. + * @FLATPAK_BUILTIN_FLAG_ALL_DIRS: Allow repeated use of --user/--system/--installation + * and return multiple dirs. If no option is specified, return all installations, +- * starting with system(default)+user ++ * starting with system(default)+user. ++ * Implies %FLATPAK_BUILTIN_FLAG_OPTIONAL_REPO. + * + * Flags affecting the behavior of flatpak_option_context_parse(). + * +diff --git a/app/flatpak-main.c b/app/flatpak-main.c +index e79df52eff25..4b4d65673645 100644 +--- a/app/flatpak-main.c ++++ b/app/flatpak-main.c +@@ -460,7 +460,9 @@ flatpak_option_context_parse (GOptionContext *context, + { + FlatpakDir *dir = g_ptr_array_index (dirs, i); + +- if (flags & FLATPAK_BUILTIN_FLAG_OPTIONAL_REPO) ++ if (flags & (FLATPAK_BUILTIN_FLAG_OPTIONAL_REPO | ++ FLATPAK_BUILTIN_FLAG_ALL_DIRS | ++ FLATPAK_BUILTIN_FLAG_STANDARD_DIRS)) + { + if (!flatpak_dir_maybe_ensure_repo (dir, cancellable, error)) + return FALSE; +-- +2.34.1 + diff --git a/SPECS/flatpak.spec b/SPECS/flatpak.spec new file mode 100644 index 0000000..8286123 --- /dev/null +++ b/SPECS/flatpak.spec @@ -0,0 +1,772 @@ +%global bubblewrap_version 0.4.0 +%global ostree_version 2020.8 + +Name: flatpak +Version: 1.12.5 +Release: 2%{?dist} +Summary: Application deployment framework for desktop apps + +License: LGPLv2+ +URL: http://flatpak.org/ +Source0: https://github.com/flatpak/flatpak/releases/download/%{version}/%{name}-%{version}.tar.xz + +%if 0%{?fedora} +# Add Fedora flatpak repositories +Source1: flatpak-add-fedora-repos.service +%endif + +# https://bugzilla.redhat.com/show_bug.cgi?id=1935508 +Patch0: flatpak-dir-Use-SHA256-not-SHA1-to-name-the-cache-for-a-filt.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=1981776 +Patch1: flatpak-empty-var-lib-flatpak.patch + +BuildRequires: pkgconfig(appstream-glib) +BuildRequires: pkgconfig(dconf) +BuildRequires: pkgconfig(fuse) +BuildRequires: pkgconfig(gdk-pixbuf-2.0) +BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.40.0 +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(libarchive) >= 2.8.0 +BuildRequires: pkgconfig(libseccomp) +BuildRequires: pkgconfig(libsoup-2.4) +BuildRequires: pkgconfig(libsystemd) +BuildRequires: pkgconfig(libxml-2.0) >= 2.4 +BuildRequires: pkgconfig(libzstd) >= 0.8.1 +BuildRequires: pkgconfig(ostree-1) >= %{ostree_version} +BuildRequires: pkgconfig(polkit-gobject-1) +BuildRequires: pkgconfig(xau) +BuildRequires: bison +BuildRequires: bubblewrap >= %{bubblewrap_version} +BuildRequires: docbook-dtds +BuildRequires: docbook-style-xsl +BuildRequires: gettext +BuildRequires: gpgme-devel +BuildRequires: libcap-devel +BuildRequires: python3-pyparsing +BuildRequires: systemd +BuildRequires: /usr/bin/xdg-dbus-proxy +BuildRequires: /usr/bin/xmlto +BuildRequires: /usr/bin/xsltproc + +Requires: bubblewrap >= %{bubblewrap_version} +Requires: librsvg2%{?_isa} +Requires: ostree-libs%{?_isa} >= %{ostree_version} +Requires: /usr/bin/xdg-dbus-proxy +# https://fedoraproject.org/wiki/SELinux/IndependentPolicy +Requires: (flatpak-selinux = %{?epoch:%{epoch}:}%{version}-%{release} if selinux-policy-targeted) +Requires: %{name}-session-helper%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Recommends: p11-kit-server + +# Make sure the document portal is installed +%if 0%{?fedora} || 0%{?rhel} > 7 +Recommends: xdg-desktop-portal > 0.10 +%else +Requires: xdg-desktop-portal > 0.10 +%endif + +%description +flatpak is a system for building, distributing and running sandboxed desktop +applications on Linux. See https://wiki.gnome.org/Projects/SandboxedApps for +more information. + +%package devel +Summary: Development files for %{name} +License: LGPLv2+ +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description devel +This package contains the pkg-config file and development headers for %{name}. + +%package libs +Summary: Libraries for %{name} +License: LGPLv2+ +Requires: bubblewrap >= %{bubblewrap_version} +Requires: ostree%{?_isa} >= %{ostree_version} +Requires(pre): /usr/sbin/useradd + +%description libs +This package contains libflatpak. + +%package selinux +Summary: SELinux policy module for %{name} +License: LGPLv2+ +BuildRequires: selinux-policy +BuildRequires: selinux-policy-devel +BuildRequires: make +BuildArch: noarch +%{?selinux_requires} + +%description selinux +This package contains the SELinux policy module for %{name}. + +%package session-helper +Summary: User D-Bus service used by %{name} and others +License: LGPLv2+ +Conflicts: flatpak < 1.4.1-2 +Requires: systemd + +%description session-helper +This package contains the org.freedesktop.Flatpak user D-Bus service +that's used by %{name} and other packages. + +%package tests +Summary: Tests for %{name} +License: LGPLv2+ +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Requires: %{name}-session-helper%{?_isa} = %{version}-%{release} +Requires: bubblewrap >= %{bubblewrap_version} +Requires: ostree%{?_isa} >= %{ostree_version} + +%description tests +This package contains installed tests for %{name}. + + +%prep +%autosetup -p1 + + +%build +# gobject introspection does not work with LTO. There is an effort to fix this +# in the appropriate project upstreams, so hopefully LTO can be enabled someday +# Disable LTO. +%define _lto_cflags %{nil} + +(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi; + # Generate consistent IDs between runs to avoid multilib problems. + export XMLTO_FLAGS="--stringparam generate.consistent.ids=1" + %configure \ + --enable-docbook-docs \ + --enable-installed-tests \ + --enable-selinux-module \ + --with-priv-mode=none \ + --with-system-bubblewrap \ + --with-system-dbus-proxy \ + $CONFIGFLAGS) +%make_build V=1 + + +%install +%make_install +install -pm 644 NEWS README.md %{buildroot}/%{_pkgdocdir} +# The system repo is not installed by the flatpak build system. +install -d %{buildroot}%{_localstatedir}/lib/flatpak +install -d %{buildroot}%{_sysconfdir}/flatpak/remotes.d +rm -f %{buildroot}%{_libdir}/libflatpak.la + +%if 0%{?fedora} +install -D -t %{buildroot}%{_unitdir} %{SOURCE1} +%endif + +%find_lang %{name} + +# Work around selinux denials, see +# https://github.com/flatpak/flatpak/issues/4128 for details. Note that we are +# going to need the system env generator if we should enable malcontent support +# in the future. +rm %{buildroot}%{_systemd_system_env_generator_dir}/60-flatpak-system-only + +%pre +getent group flatpak >/dev/null || groupadd -r flatpak +getent passwd flatpak >/dev/null || \ + useradd -r -g flatpak -d / -s /sbin/nologin \ + -c "User for flatpak system helper" flatpak +exit 0 + + +%if 0%{?fedora} +%post +%systemd_post flatpak-add-fedora-repos.service +%endif + + +%post selinux +%selinux_modules_install %{_datadir}/selinux/packages/flatpak.pp.bz2 + + +%if 0%{?fedora} +%preun +%systemd_preun flatpak-add-fedora-repos.service +%endif + + +%if 0%{?fedora} +%postun +%systemd_postun_with_restart flatpak-add-fedora-repos.service +%endif + + +%postun selinux +if [ $1 -eq 0 ]; then + %selinux_modules_uninstall %{_datadir}/selinux/packages/flatpak.pp.bz2 +fi + + +%files -f %{name}.lang +%license COPYING +# Comply with the packaging guidelines about not mixing relative and absolute +# paths in doc. +%doc %{_pkgdocdir} +%{_bindir}/flatpak +%{_bindir}/flatpak-bisect +%{_bindir}/flatpak-coredumpctl +%{_datadir}/bash-completion +%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Flatpak.xml +%{_datadir}/dbus-1/interfaces/org.freedesktop.Flatpak.Authenticator.xml +%{_datadir}/dbus-1/services/org.flatpak.Authenticator.Oci.service +%{_datadir}/dbus-1/services/org.freedesktop.portal.Flatpak.service +%{_datadir}/dbus-1/system-services/org.freedesktop.Flatpak.SystemHelper.service +%{_datadir}/fish/ +%{_datadir}/%{name} +%{_datadir}/polkit-1/actions/org.freedesktop.Flatpak.policy +%{_datadir}/polkit-1/rules.d/org.freedesktop.Flatpak.rules +%{_datadir}/zsh/site-functions +%{_libexecdir}/flatpak-oci-authenticator +%{_libexecdir}/flatpak-portal +%{_libexecdir}/flatpak-system-helper +%{_libexecdir}/flatpak-validate-icon +%{_libexecdir}/revokefs-fuse +%dir %{_localstatedir}/lib/flatpak +%{_mandir}/man1/%{name}*.1* +%{_mandir}/man5/%{name}-metadata.5* +%{_mandir}/man5/flatpak-flatpakref.5* +%{_mandir}/man5/flatpak-flatpakrepo.5* +%{_mandir}/man5/flatpak-installation.5* +%{_mandir}/man5/flatpak-remote.5* +%{_sysconfdir}/dbus-1/system.d/org.freedesktop.Flatpak.SystemHelper.conf +%{_sysconfdir}/flatpak/remotes.d +%{_sysconfdir}/profile.d/flatpak.sh +%{_sysusersdir}/flatpak.conf +%{_unitdir}/flatpak-system-helper.service +%{_userunitdir}/flatpak-oci-authenticator.service +%{_userunitdir}/flatpak-portal.service +%{_systemd_user_env_generator_dir}/60-flatpak + +%if 0%{?fedora} +%{_unitdir}/flatpak-add-fedora-repos.service +%endif + +%files devel +%{_datadir}/gir-1.0/Flatpak-1.0.gir +%{_datadir}/gtk-doc/ +%{_includedir}/%{name}/ +%{_libdir}/libflatpak.so +%{_libdir}/pkgconfig/%{name}.pc + +%files libs +%license COPYING +%{_libdir}/girepository-1.0/Flatpak-1.0.typelib +%{_libdir}/libflatpak.so.* + +%files selinux +%{_datadir}/selinux/packages/flatpak.pp.bz2 +%{_datadir}/selinux/devel/include/contrib/flatpak.if + +%files session-helper +%license COPYING +%{_datadir}/dbus-1/interfaces/org.freedesktop.Flatpak.xml +%{_datadir}/dbus-1/services/org.freedesktop.Flatpak.service +%{_libexecdir}/flatpak-session-helper +%{_userunitdir}/flatpak-session-helper.service + +%files tests +%{_datadir}/installed-tests +%{_libexecdir}/installed-tests + + +%changelog +* Mon Mar 07 2022 Debarshi Ray - 1.12.5-2 +- Cope better with /var/lib/flatpak existing but being empty +Resolves: #1981776 + +* Sun Feb 20 2022 Debarshi Ray - 1.12.5-1 +- Update to 1.12.5 +Resolves: #2054215 + +* Tue Feb 08 2022 Debarshi Ray - 1.12.4-2 +- Don't try to add Fedora's OCI Flatpak repository on RHEL +- Remove an obsolete Fedora-specific update path +Resolves: #2051697 + +* Mon Feb 07 2022 Neal Gompa - 1.12.4-1 +- Rebase to 1.12.4 +Resolves: #2050302 + +* Thu Feb 03 2022 Debarshi Ray - 1.10.7-2 +- Use SHA256, not SHA1, to name the cache for a filtered remote +Resolves: #1935508 + +* Wed Feb 02 2022 Debarshi Ray - 1.10.7-1 +- Update to 1.10.7 (CVE-2021-43860) +Resolves: #2041973 + +* Tue Oct 26 2021 Debarshi Ray - 1.10.5-1 +- Update to 1.10.5 (CVE-2021-41133) +Resolves: #2012862 + +* Wed Sep 22 2021 Debarshi Ray - 1.10.3-1 +- Update to 1.10.3 +Resolves: #2006554 + +* Sat Aug 28 2021 Debarshi Ray - 1.10.2-6 +- Fix local deploys using system helper +Resolves: #1982304 + +* Mon Aug 09 2021 Mohan Boddu - 1.10.2-5 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri May 07 2021 Kalev Lember - 1.10.2-4 +- Disable system env generator to work around selinux denials (#1947214) + +* Thu Apr 15 2021 Mohan Boddu - 1.10.2-3 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Mon Apr 05 2021 Kalev Lember - 1.10.2-2 +- OCI: Switch to pax format for tar archives + +* Wed Mar 10 2021 Kalev Lember - 1.10.2-1 +- Update to 1.10.2 + +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 1.10.1-4 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + +* Fri Feb 12 2021 Kalev Lember - 1.10.1-3 +- Add G_BEGIN_DECLS/G_END_DECLS to public headers (#1927439) +- Drop unneeded ldconfig_scriptlets macro call + +* Tue Jan 26 2021 Fedora Release Engineering - 1.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Jan 21 2021 Kalev Lember - 1.10.1-1 +- Update to 1.10.1 + +* Thu Jan 14 2021 Kalev Lember - 1.10.0-1 +- Update to 1.10.0 + +* Mon Jan 11 2021 Kalev Lember - 1.9.3-2 +- Use "Fedora Flatpaks" as the visible repo name + +* Tue Dec 22 2020 David King - 1.9.3-1 +- Update to 1.9.3 (#1910054) + +* Fri Nov 20 2020 Kalev Lember - 1.9.2-1 +- Update to 1.9.2 + +* Thu Nov 19 2020 Kalev Lember - 1.9.1-1 +- Update to 1.9.1 + +* Wed Nov 18 2020 David King - 1.8.3-2 +- Drop obsolete Requires on system-release + +* Tue Nov 17 2020 Kalev Lember - 1.8.3-1 +- Update to 1.8.3 + +* Sat Oct 31 2020 Jeff Law - 1.8.2-3 +- Fix bogus volatiles caught by gcc-11 + +* Fri Sep 11 2020 Kalev Lember - 1.8.2-2 +- Backport various OCI fixes from upstream + +* Fri Aug 21 2020 Kalev Lember - 1.8.2-1 +- Update to 1.8.2 + +* Mon Jul 27 2020 Fedora Release Engineering - 1.8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 03 2020 David King - 1.8.1-1 +- Update to 1.8.1 (#1853667) + +* Tue Jun 30 2020 Jeff Law - 1.8.0-2 +- Disable LTO + +* Wed Jun 24 2020 David King - 1.8.0-1 +- Update to 1.8.0 (#1850676) + +* Wed Jun 10 2020 David King - 1.7.3-1 +- Update to 1.7.3 (#1820762) + +* Fri Apr 03 2020 Kalev Lember - 1.7.2-1 +- Update to 1.7.2 + +* Mon Mar 30 2020 David King - 1.7.1-1 +- Update to 1.7.1 (#1818882) + +* Mon Mar 30 2020 Kalev Lember - 1.6.3-1 +- Update to 1.6.3 + +* Thu Feb 13 2020 David King - 1.6.2-1 +- Update to 1.6.2 (#1802609) + +* Tue Jan 28 2020 Fedora Release Engineering - 1.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jan 23 2020 David King - 1.6.1-1 +- Update to 1.6.1 + +* Fri Jan 17 2020 David King - 1.6.0-2 +- Remove broken python3 sed hack + +* Fri Dec 20 2019 David King - 1.6.0-1 +- Update to 1.6.0 + +* Mon Dec 16 2019 David King - 1.5.2-1 +- Update to 1.5.2 + +* Thu Nov 28 2019 David King - 1.5.1-1 +- Update to 1.5.1 + +* Fri Nov 01 2019 Orion Poplawski - 1.5.0-2 +- Use %%{?selinux_requires} for proper install ordering + +* Thu Oct 03 2019 David King - 1.5.0-1 +- Update to 1.5.0 + +* Thu Sep 19 2019 Kalev Lember - 1.4.3-1 +- Update to 1.4.3 + +* Wed Sep 18 2019 Debarshi Ray - 1.4.2-6 +- Trim unused shared library linkages from the session helper + +* Wed Aug 7 2019 Owen Taylor - 1.4.2-5 +- Add patch fixing problem with downloading icons for OCI remotes (#1683375) + +* Thu Jul 25 2019 Tim Zabel - 1.4.2-4 +- SELinux needs additional Requires (#1732132) + +* Thu Jul 25 2019 Fedora Release Engineering - 1.4.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Jul 09 2019 Kalev Lember - 1.4.2-2 +- Backport a patch that fixes a fairly large memory leak in gnome-software + +* Fri Jun 28 2019 David King - 1.4.2-1 +- Update to 1.4.2 (#1725071) + +* Tue Jun 25 2019 David King - 1.4.1-3 +- Use Requires(post) for selinux-policy (#1723118) + +* Tue Jun 25 2019 Debarshi Ray - 1.4.1-2 +- Split the session helper into a separate sub-package + +* Thu Jun 13 2019 Kalev Lember - 1.4.1-1 +- Update to 1.4.1 + +* Wed Jun 12 2019 Kalev Lember - 1.4.0-2 +- Backport an upstream patch to fix gnome-software CI + +* Tue May 28 2019 Kalev Lember - 1.4.0-1 +- Update to 1.4.0 + +* Fri May 10 2019 Kalev Lember - 1.3.4-1 +- Update to 1.3.4 + +* Tue Apr 30 2019 David King - 1.3.3-2 +- Generate consistent anchor IDs + +* Fri Apr 26 2019 David King - 1.3.3-1 +- Update to 1.3.3 (#1699338) + +* Wed Apr 17 2019 Igor Gnatenko - 1.3.2-2 +- Fixup selinux requires + +* Fri Apr 12 2019 David King - 1.3.2-1 +- Update to 1.3.2 (#1699338) + +* Wed Apr 03 2019 Kalev Lember - 1.3.1-2 +- Add a oneshot systemd service to add Fedora flatpak repos +- Remove the post script to create system repo now that we have the service + +* Wed Mar 27 2019 David King - 1.3.1-1 +- Update to 1.3.1 (#1693207) + +* Tue Mar 12 2019 David King - 1.3.0-1 +- Update to 1.3.0 + +* Thu Feb 14 2019 David King - 1.2.3-2 +- Remove an obsolete Conflicts +- Use xdg-dbus-proxy + +* Mon Feb 11 2019 David King - 1.2.3-1 +- Update to 1.2.3 + +* Wed Feb 06 2019 David King - 1.2.2-1 +- Update to 1.2.2 + +* Tue Feb 05 2019 Kalev Lember - 1.2.1-1 +- Update to 1.2.1 + +* Mon Feb 4 2019 fedora-toolbox - 1.2.0-4 +- Add an upstream patch to add flatpak build-export --disable-sandbox + +* Thu Jan 31 2019 Bastien Nocera - 1.2.0-3 +- Require librsvg2 so SVG icons can be exported + +* Tue Jan 29 2019 Kalev Lember - 1.2.0-2 +- Enable libsystemd support + +* Mon Jan 28 2019 David King - 1.2.0-1 +- Update to 1.2.0 + +* Tue Jan 15 2019 Kalev Lember - 1.1.3-1 +- Update to 1.1.3 + +* Fri Dec 21 2018 David King - 1.1.2-1 +- Update to 1.1.2 + +* Mon Dec 17 2018 David King - 1.1.1-2 +- Enable installed tests and add to tests subpackage + +* Mon Dec 10 2018 Kalev Lember - 1.1.1-1 +- Update to 1.1.1 + +* Fri Nov 30 2018 fedora-toolbox - 1.0.6-3 +- Add a patch to fix OCI system remotes +- Add patch fixing permissions on icons downloaded from an OCI registry + +* Fri Nov 16 2018 Kalev Lember - 1.0.6-1 +- Update to 1.0.6 + +* Mon Nov 12 2018 Kalev Lember - 1.0.5-2 +- Recommend p11-kit-server instead of just p11-kit (#1649049) + +* Mon Nov 12 2018 Kalev Lember - 1.0.5-1 +- Update to 1.0.5 + +* Fri Oct 12 2018 Kalev Lember - 1.0.4-1 +- Update to 1.0.4 + +* Thu Oct 04 2018 Kalev Lember - 1.0.3-1 +- Update to 1.0.3 + +* Thu Sep 13 2018 Kalev Lember - 1.0.2-1 +- Update to 1.0.2 + +* Tue Aug 28 2018 David King - 1.0.1-1 +- Update to 1.0.1 + +* Mon Aug 20 2018 David King - 1.0.0-2 +- Fix double dash in XML documentation + +* Mon Aug 20 2018 David King - 1.0.0-1 +- Update to 1.0.0 + +* Fri Jul 13 2018 Fedora Release Engineering - 0.99.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jul 10 2018 Kalev Lember - 0.99.3-1 +- Update to 0.99.3 + +* Wed Jun 27 2018 Kalev Lember - 0.99.2-1 +- Update to 0.99.2 + +* Thu Jun 21 2018 David King - 0.99.1-1 +- Update to 0.99.1 + +* Wed Jun 13 2018 David King - 0.11.8.3-1 +- Update to 0.11.8.3 (#1590808) + +* Mon Jun 11 2018 David King - 0.11.8.2-1 +- Update to 0.11.8.2 (#1589810) + +* Fri Jun 08 2018 David King - 0.11.8.1-1 +- Update to 0.11.8.1 (#1588868) + +* Fri Jun 08 2018 David King - 0.11.8-1 +- Update to 0.11.8 (#1588868) + +* Wed May 23 2018 Adam Jackson - 0.11.7-2 +- Remove Requires: kernel >= 4.0.4-202, which corresponds to rawhide + somewhere before Fedora 22 which this spec file certainly no longer + supports. + +* Thu May 03 2018 Kalev Lember - 0.11.7-1 +- Update to 0.11.7 + +* Wed May 02 2018 Kalev Lember - 0.11.6-1 +- Update to 0.11.6 + +* Wed May 02 2018 Kalev Lember - 0.11.5-2 +- Backport a fix for a gnome-software crash installing .flatpakref files + +* Mon Apr 30 2018 David King - 0.11.5-1 +- Update to 0.11.5 + +* Thu Apr 26 2018 Kalev Lember - 0.11.4-1 +- Update to 0.11.4 + +* Mon Feb 19 2018 David King - 0.11.3-1 +- Update to 0.11.3 + +* Mon Feb 19 2018 David King - 0.11.2-1 +- Update to 0.11.2 + +* Wed Feb 14 2018 David King - 0.11.1-1 +- Update to 0.11.1 (#1545224) + +* Wed Feb 07 2018 Fedora Release Engineering - 0.10.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Feb 02 2018 Igor Gnatenko - 0.10.3-2 +- Switch to %%ldconfig_scriptlets + +* Tue Jan 30 2018 Kalev Lember - 0.10.3-1 +- Update to 0.10.3 + +* Thu Dec 21 2017 David King - 0.10.2.1-1 +- Update to 0.10.2.1 + +* Fri Dec 15 2017 Kalev Lember - 0.10.2-1 +- Update to 0.10.2 + +* Fri Nov 24 2017 David King - 0.10.1-1 +- Update to 0.10.1 + +* Thu Oct 26 2017 Kalev Lember - 0.10.0-1 +- Update to 0.10.0 + +* Mon Oct 09 2017 Kalev Lember - 0.9.99-1 +- Update to 0.9.99 + +* Tue Sep 26 2017 Kalev Lember - 0.9.98.2-1 +- Update to 0.9.98.2 + +* Tue Sep 26 2017 Kalev Lember - 0.9.98.1-1 +- Update to 0.9.98.1 + +* Mon Sep 25 2017 Kalev Lember - 0.9.98-1 +- Update to 0.9.98 + +* Thu Sep 14 2017 Kalev Lember - 0.9.12-1 +- Update to 0.9.12 + +* Wed Sep 13 2017 Kalev Lember - 0.9.11-1 +- Update to 0.9.11 + +* Mon Sep 04 2017 Kalev Lember - 0.9.10-1 +- Update to 0.9.10 +- Split out flatpak-builder to a separate source package + +* Fri Aug 25 2017 Kalev Lember - 0.9.8-2 +- Backport a patch to fix regression in --devel + +* Mon Aug 21 2017 David King - 0.9.8-1 +- Update to 0.9.8 + +* Wed Aug 02 2017 Fedora Release Engineering - 0.9.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Sun Jul 30 2017 Florian Weimer - 0.9.7-4 +- Rebuild with binutils fix for ppc64le (#1475636) + +* Thu Jul 27 2017 Owen Taylor - 0.9.7-3 +- Add a patch to fix OCI refname annotation + +* Wed Jul 26 2017 Fedora Release Engineering - 0.9.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Jul 01 2017 David King - 0.9.7-1 +- Update to 0.9.7 (#1466970) + +* Tue Jun 20 2017 David King - 0.9.6-1 +- Update to 0.9.6 + +* Sat Jun 10 2017 David King - 0.9.5-1 +- Update to 0.9.5 (#1460437) + +* Tue May 23 2017 David King - 0.9.4-1 +- Update to 0.9.4 (#1454750) + +* Mon Apr 24 2017 David King - 0.9.3-1 +- Update to 0.9.3 + +* Fri Apr 07 2017 David King - 0.9.2-2 +- Add eu-strip dependency for flatpak-builder + +* Wed Apr 05 2017 Kalev Lember - 0.9.2-1 +- Update to 0.9.2 + +* Wed Mar 15 2017 Kalev Lember - 0.9.1-1 +- Update to 0.9.1 + +* Fri Mar 10 2017 Kalev Lember - 0.8.4-1 +- Update to 0.8.4 + +* Sun Feb 19 2017 David King - 0.8.3-3 +- Make flatpak-builder require bzip2 (#1424857) + +* Wed Feb 15 2017 Kalev Lember - 0.8.3-2 +- Avoid pulling in all of ostree and only depend on ostree-libs subpackage + +* Tue Feb 14 2017 Kalev Lember - 0.8.3-1 +- Update to 0.8.3 + +* Fri Feb 10 2017 Fedora Release Engineering - 0.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Jan 27 2017 Kalev Lember - 0.8.2-1 +- Update to 0.8.2 + +* Wed Jan 18 2017 David King - 0.8.1-1 +- Update to 0.8.1 + +* Tue Dec 20 2016 Kalev Lember - 0.8.0-1 +- Update to 0.8.0 + +* Tue Nov 29 2016 David King - 0.6.14-2 +- Add a patch to fix a GNOME Software crash +- Silence repository listing during post + +* Tue Nov 29 2016 Kalev Lember - 0.6.14-1 +- Update to 0.6.14 + +* Wed Oct 26 2016 David King - 0.6.13-2 +- Add empty /etc/flatpak/remotes.d + +* Tue Oct 25 2016 David King - 0.6.13-1 +- Update to 0.6.13 + +* Thu Oct 06 2016 David King - 0.6.12-1 +- Update to 0.6.12 + +* Tue Sep 20 2016 Kalev Lember - 0.6.11-1 +- Update to 0.6.11 +- Set minimum ostree and bubblewrap versions + +* Mon Sep 12 2016 David King - 0.6.10-1 +- Update to 0.6.10 + +* Tue Sep 06 2016 David King - 0.6.9-2 +- Look for bwrap in PATH + +* Thu Aug 25 2016 David King - 0.6.9-1 +- Update to 0.6.9 + +* Mon Aug 01 2016 David King - 0.6.8-1 +- Update to 0.6.8 (#1361823) + +* Thu Jul 21 2016 David King - 0.6.7-2 +- Use system bubblewrap + +* Fri Jul 01 2016 David King - 0.6.7-1 +- Update to 0.6.7 + +* Thu Jun 23 2016 David King - 0.6.6-1 +- Update to 0.6.6 + +* Fri Jun 10 2016 David King - 0.6.5-1 +- Update to 0.6.5 + +* Wed Jun 01 2016 David King - 0.6.4-1 +- Update to 0.6.4 + +* Tue May 31 2016 David King - 0.6.3-1 +- Update to 0.6.3 +- Move bwrap to main package + +* Tue May 24 2016 David King - 0.6.2-1 +- Rename from xdg-app to flatpak (#1337434)