diff --git a/_service b/_service
index 650bd17..a4b24b8 100644
--- a/_service
+++ b/_service
@@ -4,7 +4,7 @@
git
@PARENT_TAG@
enable
- refs/tags/1.0.0
+ refs/tags/1.0.3
*.tar
diff --git a/_servicedata b/_servicedata
index 45dd81a..70ac5db 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,4 @@
https://github.com/flatpak/flatpak.git
- 5545ac4ba66c817857fd9a421922126d74d86a3e
\ No newline at end of file
+ b6a8cab35ff7628050a5e5c385979a034a2ff2dc
diff --git a/flatpak-1.0.0.tar.xz b/flatpak-1.0.0.tar.xz
deleted file mode 100644
index 13f6b6d..0000000
--- a/flatpak-1.0.0.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:10fa2ef32bfb9f910436cc83589df642e6ae5978986cd87e400543e853a92155
-size 697408
diff --git a/flatpak-1.0.3.tar.xz b/flatpak-1.0.3.tar.xz
new file mode 100644
index 0000000..aecd3be
--- /dev/null
+++ b/flatpak-1.0.3.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:75110b38705e5a553918c7708c721efecba9ea9f0fa7466e8496636cf5e5e9b4
+size 715136
diff --git a/flatpak.changes b/flatpak.changes
index 67733db..1815ae9 100644
--- a/flatpak.changes
+++ b/flatpak.changes
@@ -1,3 +1,103 @@
+-------------------------------------------------------------------
+Fri Oct 19 12:05:14 UTC 2018 - alarrosa@suse.com
+
+- Add rpmlintrc to ignore files being installed under /etc not
+ marked as %config (since they're not).
+
+-------------------------------------------------------------------
+Tue Oct 16 10:14:52 UTC 2018 - alarrosa@suse.com
+
+- Don't run "flatpak remote-list --system" on %post anymore since
+ it's not needed nowadays. Also let /var/lib/flatpak be created on
+ demand since writing to /var should be avoided for transactional
+ updates (boo#1111385, fate#325524).
+
+-------------------------------------------------------------------
+Thu Oct 11 16:30:24 UTC 2018 - alarrosa@suse.com
+
+- Update to version 1.0.3:
+ + run: You can now use --system to run an app that otherwise
+ would run the user version.
+ + New permission --allow=canbus that filters out access to AF_CAN
+ sockets.
+ + lib: New install flags FLATPAK_INSTALL_FLAGS_NO_TRIGGERS and
+ new function flatpak_installation_run_triggers()
+ + lib: Better error reporting, including some new error values
+ that replace the generic FAILED.
+ + uninstall --unused: Improve handling of which .Locale
+ extensions are used
+ + run: Make flatpak run on systems where $XDG_RUNTIME_DIR
+ contains a symlink beneath /var (commonly /var/run -> /run).
+ + Don't export any desktop/dbus/mimetype files in subdirectories.
+ + build-init: We now record the base ref (if used) in the
+ metadata. Nothing uses this atm, but it can be used by tools.
+ + We now respect the upstream ostree.deploy-collection-id instead
+ of the flatpak-specific xa.collection-id metadata key to decide
+ whether to switch to collection ids for a remote. This is
+ useful, because if you use the new one, only new clients (that
+ support it better) will use it.
+ + create-usb: Fix assertion failure in some error cases
+ + create-usb: Always create archive-z2 repos
+ + create-usb: Don't create unnecessary summary in repo
+ + permissions: Avoid errors if there is no permissions table
+ + repo: Fix flatpak repo sometimes using the wrong
+ ostree-metadata ref.
+ + Avoid fsync when updating $installation/.changed.
+ + Add the missing appstream2 ref to the xa.cache metadata
+ + The test-suite got some modifications to make it easier to
+ maintain.
+ + Documentation updates
+ + Translation updates
+
+- Update to version 1.0.2:
+ + The dbus proxy is now available in a separate git module,
+ xdg-dbus-portal, which is imported into flatpak as a submodule.
+ It is possible to build flatpak against the system
+ xdg-dbus-portal instead, but this is not currently very useful
+ as no other applications yet depend on xdg-dbus-portal.
+ + Build regressions with older versions of glib have been fixed.
+ + Flatpak ps now also tracks the pid the main process inside the
+ sandbox.
+ + Added flatpak override --reset to reset overrides for an app.
+ + Added flatpak override --show to show overrides for an app.
+ + flatpak install now automatically pick user or system based on
+ the remote name given (unless the remote exists in both).
+ + flatpak uninstall --unused now does not remove SDKs if some
+ installed app refers to them.
+ + Fixed bug where flatpak uninstall --unused prompted for
+ uninstall twice.
+ + Set IO class on the system helper to "idle", which should
+ cause background updates to affect the system less.
+ + Fixed regression in flatpak uninstall --no-related.
+ + Better handling of empty collection ids in flatpak bundles.
+ + Cleaned up some error messages.
+ + Various documentation fixes and cleanups.
+ + Updated translations.
+
+- Update to version 1.0.1:
+ + This fixes various build and test failures that were detected
+ when packaging 1.0, as well as translations and doc udpates.
+ It also has some minor features, including a new subcommand
+ "flatpak ps" to list the running flatpak instances for your
+ user.
+ + Print application tags in the prompt when installing/updating.
+ + Make sure we don't accidentally leak the host /proc into
+ the sandbox.
+ + Translation updates.
+ + Added a "flatpak ps" command that lists running flatpak
+ instances.
+ + Improve error reporting when exporting documents.
+ + Improve detection of dynamic p2p remotes.
+ + Build fixes for older versions of glib.
+ + Fix threading issue in the OCI support that was causing the
+ installed tests to sometimes fail.
+ + Fix OCI AppStream support on 32bit architectures.
+ + Fix utf8 issue in the dbus API description.
+ + Some install fixes to make installed tests work
+ + Make the tests work with python3 (as well as python2)
+ + Improve introspection annotations in libflatpak
+ + Improve libflatpak API docs
+
-------------------------------------------------------------------
Mon Aug 27 09:00:17 UTC 2018 - opensuse-packaging@opensuse.org
diff --git a/flatpak.spec b/flatpak.spec
index df33ed3..54b4c65 100644
--- a/flatpak.spec
+++ b/flatpak.spec
@@ -12,19 +12,20 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define libname libflatpak0
Name: flatpak
-Version: 1.0.0
+Version: 1.0.3
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
+Source99: rpmlintrc
Patch0: polkit_rules_usability.patch
BuildRequires: bison
BuildRequires: bubblewrap >= 0.2.1
@@ -114,6 +115,7 @@ more information.
%prep
%setup -q
%patch0 -p1
+sed -i -e '1s,#!/usr/bin/env python3,#!/usr/bin/python3,' scripts/flatpak-*
%build
NOCONFIGURE=1 ./autogen.sh
@@ -131,8 +133,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
mkdir -p %{buildroot}%{_sbindir}
ln -s service %{buildroot}%{_sbindir}/rcflatpak-system-helper
-# The system repo is not installed by the flatpak build system.
-install -d %{buildroot}%{_localstatedir}/lib/flatpak
%find_lang %{name}
%post -n %{libname} -p /sbin/ldconfig
@@ -145,8 +145,6 @@ install -d %{buildroot}%{_localstatedir}/lib/flatpak
%post
%service_add_post flatpak-system-helper.service
-# Create an (empty) system-wide repo.
-flatpak remote-list --system > /dev/null 2>&1
%postun
%service_del_postun flatpak-system-helper.service
@@ -190,7 +188,7 @@ flatpak remote-list --system > /dev/null 2>&1
%{_sbindir}/rcflatpak-system-helper
%{_userunitdir}/flatpak-session-helper.service
%{_userunitdir}/flatpak-portal.service
-%dir %{_localstatedir}/lib/flatpak
+%ghost %dir %{_localstatedir}/lib/flatpak
%dir %{_userunitdir}
%dir %{_userunitdir}/dbus.service.d
%{_userunitdir}/dbus.service.d/flatpak.conf
diff --git a/rpmlintrc b/rpmlintrc
new file mode 100644
index 0000000..90d9a0d
--- /dev/null
+++ b/rpmlintrc
@@ -0,0 +1,5 @@
+# Files /etc/dbus-1/system.d/org.freedesktop.Flatpak.SystemHelper.conf
+# and /etc/profile.d/flatpak.sh are not actually config files so there's
+# no way we can mark them as %config
+
+addFilter("non-conffile-in-etc")