diff --git a/_service b/_service
index 86a4303..ff3a1a8 100644
--- a/_service
+++ b/_service
@@ -4,7 +4,7 @@
git
@PARENT_TAG@
enable
- refs/tags/0.10.4
+ refs/tags/0.11.7
*.tar
diff --git a/_servicedata b/_servicedata
index 894b5fe..ec7aa37 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,4 @@
https://github.com/flatpak/flatpak.git
- c576d284dc123be15c7003fee6a8184eddeaf462
\ No newline at end of file
+ bdc8b71bbd7b78d6ad648f5112600a9cfef45d4f
diff --git a/flatpak-0.10.4.tar.xz b/flatpak-0.10.4.tar.xz
deleted file mode 100644
index f8c0200..0000000
--- a/flatpak-0.10.4.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4df464e8ed8d24bf71aaab8f9bb0ada817007e15610d03d9391337fbcba89aa1
-size 653676
diff --git a/flatpak-0.11.7.tar.xz b/flatpak-0.11.7.tar.xz
new file mode 100644
index 0000000..8222cea
--- /dev/null
+++ b/flatpak-0.11.7.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ccdd9df9f80152f3aad56716339bd1753fd38455ab2fb7ad030a32a32e3fd118
+size 623440
diff --git a/flatpak.changes b/flatpak.changes
index f5c563a..866753d 100644
--- a/flatpak.changes
+++ b/flatpak.changes
@@ -1,3 +1,91 @@
+-------------------------------------------------------------------
+Thu May 17 08:59:17 UTC 2018 - duyizhaozj321@yahoo.com
+
+- Update to version 0.11.7:
+ * Fix regression in installing .flatpak bundles
+- Changes in version 0.11.6:
+ * Further work on the export filename regression, now also fixes the
+ same issue as in 0.11.5 but in flatpak build-finish.
+ * Fix segfault when installing from .flatpakref in gnome-software
+ * Build yacc parser from source.
+ * Don't tab-complete Sources/Locale/Debug extension by default.
+ * Fix tests on debian.
+- Changes in version 0.11.5:
+ * Fix a regression which caused installation of epiphany and
+ other apps that export multiple .service files to fail.
+ * Fix appstream updates in p2p mode.
+ * Don't distribute generated gdbus code with tarball.
+ * Add documentation for the flatpak portal
+- Changes in version 0.11.4:
+ * flatpak remove is now an alias for flatpak uninstall.
+ * flatpak uninstall now picks system or user automatically if not specified
+ * New appstream branch format which is more efficient to distribute, the
+ old is still generated for backwards compat.
+ * Appstream data now contains compatible arches (for applications
+ that doesn't exist for the primary arch). For example, an
+ i386-only app is now listed in the x86-64 appstream.
+ * The flatpak version is included in the user agent when downloading.
+ * The Flatpak-Ref http header is set to the currently installing ref when
+ downloading.
+ * New argument --timestamp in build-commit-from.
+ * When updating many apps we now only prune the local repo when all
+ updates are done, making multi-app updates faster.
+ * flatpak build now always allows multiarch use.
+ * flatpak build now mounts app extensions during build.
+ * flatpak build-init now supports --extension to add extension points earlier
+ than build-finish. Also build-finish now supports --remove-extension.
+ * New flatpak portal allows applications to sandbox themselves and restart a
+ newer version of themselves.
+ * New flatpak run options: --no-a11y-bus, --no-documents-portal.
+ * Initial support for end-of-life:ing applications.
+ * New option X-Flatpak-RunOptions in exported desktop/files allow you to specify
+ no-a11y-bus and no-documents-portal.
+ * Support for tagged extension points, which is useful if you want to use
+ the same extension id (but maybe different versions) multiple times in an app.
+ * We now export .service files for names that the app is allowed to own on
+ the session bus.
+ * libflatpak got new methods for listing remotes by type.
+ * libflatpak now has support in FlatpakRemoteRef for getting remote metadata
+ such as end-of-life, download size, metadata etc.
+ * There was some internal restructuring on how installs/updates are done
+ which should improve performance and maintainability.
+- Changes in version 0.11.3:
+ * Fix "open with" and flatpak run --file-forwarding crash
+ * Fix build with glibc 2.27
+- Changes in version 0.11.2:
+ * Remove fuse dependency, since we don't ship document portal anymore
+ * Fix various issues with /home being a symlink to /var/home (atomic)
+ * Allow downgrades when using collection ids
+ * Search on all supported architectures
+- Changes in version 0.11.1:
+ * Remove document portal and permission store
+ * Add --socket=fallback-x11 permission
+ * Fix dbus proxy vulnerability in authentication phase
+ * Allow personality syscall in devel mode
+ * commit-from: Migrate static deltas with commit
+ * Add "network" storage type for installations
+ * Add flatpak info --show-permissions
+ * Add flatpak info --file-access
+ * search: Update appstream (if stale) before searching
+ * Make libflatpak work when /var/lib/flatpak is empty
+ * build-bundle: Add --from-commit option
+ * Allow appstream ids that don't end in .desktop
+ * Make permission handling ignore unknown permissions for forwards
+ compatibility
+ * Removed incorrect error message in update --appdata when there
+ was no updates
+ * Fix handling of abort in the duplicate remote prompt
+ * Fix division by zero in progress calculation
+ * Fix flatpak remote-info --show-metadata
+ * Fixed crash when installing some flatpak bundle files
+ * Fix installation of telegram
+ * remote-ls -u only considers app from the origin remote
+ * Fix assertion error in extra-data progress reporting
+ * Report nicer errors when trying to downgrade as non-root
+ * pulseaudio: Try to find pulseaudio socket better
+ * Fixed some warnings reported by coverity
+ * Cleaned up code by splitting up some large source files
+
-------------------------------------------------------------------
Mon Mar 5 14:55:20 UTC 2018 - fcrozat@suse.com
diff --git a/flatpak.spec b/flatpak.spec
index 2eac45e..7ba03fd 100644
--- a/flatpak.spec
+++ b/flatpak.spec
@@ -18,13 +18,14 @@
%define libname libflatpak0
Name: flatpak
-Version: 0.10.4
+Version: 0.11.7
Release: 0
Summary: OSTree based application bundles management
License: LGPL-2.1-or-later
Group: System/Packages
URL: https://flatpak.github.io/
Source: %{name}-%{version}.tar.xz
+BuildRequires: bison
BuildRequires: bubblewrap >= 0.1.8
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gtk-doc
@@ -140,6 +141,7 @@ flatpak remote-list --system > /dev/null 2>&1
%{_bindir}/flatpak
%{_bindir}/flatpak-bisect
%{_libexecdir}/flatpak-dbus-proxy
+%{_libexecdir}/flatpak-portal
%{_libexecdir}/flatpak-session-helper
%{_libexecdir}/flatpak-system-helper
%{_datadir}/bash-completion/completions/flatpak
@@ -148,7 +150,9 @@ flatpak remote-list --system > /dev/null 2>&1
%dir %{_datadir}/dbus-1/interfaces
%dir %{_datadir}/dbus-1/services
%{_datadir}/dbus-1/interfaces/org.freedesktop.Flatpak.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Flatpak.xml
%{_datadir}/dbus-1/services/org.freedesktop.Flatpak.service
+%{_datadir}/dbus-1/services/org.freedesktop.portal.Flatpak.service
%{_datadir}/dbus-1/system-services/org.freedesktop.Flatpak.SystemHelper.service
# policykit rules
%{_datadir}/polkit-1/actions/org.freedesktop.Flatpak.policy
@@ -169,6 +173,7 @@ flatpak remote-list --system > /dev/null 2>&1
%{_unitdir}/flatpak-system-helper.service
%{_sbindir}/rcflatpak-system-helper
%{_userunitdir}/flatpak-session-helper.service
+%{_userunitdir}/flatpak-portal.service
%dir %{_localstatedir}/lib/flatpak
%dir %{_userunitdir}
%dir %{_userunitdir}/dbus.service.d