diff --git a/_service b/_service
index b095d2d..d2aeffc 100644
--- a/_service
+++ b/_service
@@ -2,10 +2,9 @@
https://github.com/hughsie/appstream-glib.git
git
- 0.3.6+git.%cd
+ 0.4.0
enable
-
+ refs/tags/appstream_glib_0_4_0
*.tar
diff --git a/_servicedata b/_servicedata
index c237b33..dda26f6 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,4 @@
https://github.com/hughsie/appstream-glib.git
- 6a27bb88ead9f9696c6e2964ca523ce55ab1e205
\ No newline at end of file
+ 2e6efb2a00a9064768ecfa0085cb581bae654521
\ No newline at end of file
diff --git a/appstream-glib-0.3.6+git.20150506.tar.xz b/appstream-glib-0.3.6+git.20150506.tar.xz
deleted file mode 100644
index d7d9603..0000000
--- a/appstream-glib-0.3.6+git.20150506.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:dc060aad85d576a9e64401d7c2f9e1972b31fa2aba33b23c54ba559379320af6
-size 2142452
diff --git a/appstream-glib-0.4.0.tar.xz b/appstream-glib-0.4.0.tar.xz
new file mode 100644
index 0000000..31380ff
--- /dev/null
+++ b/appstream-glib-0.4.0.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7507c328cf99fd9172a6ba615aab4492b208b070f424a1e8eac92759869fdd47
+size 2143020
diff --git a/appstream-glib.changes b/appstream-glib.changes
index 243dd9e..073e680 100644
--- a/appstream-glib.changes
+++ b/appstream-glib.changes
@@ -1,3 +1,13 @@
+-------------------------------------------------------------------
+Wed May 27 09:49:34 UTC 2015 - dimstar@opensuse.org
+
+- Update to version 0.4.0:
+ + Version the builder plugin location.
+ + Show a warning when the origin or basename isn't specified.
+ + Do not use the cache location when using install-origin with a
+ DESTDIR.
+ + Release version 0.4.0.
+
-------------------------------------------------------------------
Mon May 11 06:16:16 UTC 2015 - dimstar@opensuse.org
diff --git a/appstream-glib.spec b/appstream-glib.spec
index 2fac86b..26fdd35 100644
--- a/appstream-glib.spec
+++ b/appstream-glib.spec
@@ -20,7 +20,7 @@
%define _build_from_vcs 1
Name: appstream-glib
-Version: 0.3.6+git.20150506
+Version: 0.4.0
Release: 0
Summary: AppStream Abstraction Library
License: LGPL-2.1+
@@ -210,7 +210,7 @@ fi
%{_bindir}/appstream-util
%{_datadir}/bash-completion/completions/appstream-builder
%{_datadir}/bash-completion/completions/appstream-util
-%{_libdir}/asb-plugins/
+%{_libdir}/asb-plugins-2/
%{_mandir}/man1/appstream-builder.1%{?ext_man}
%{_mandir}/man1/appstream-util.1%{?ext_man}