diff --git a/.gitignore b/.gitignore
index f6f04fc..37bee53 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,3 +31,4 @@
 /meson-0.39.0.tar.gz
 /meson-0.39.1.tar.gz
 /meson-0.40.0.tar.gz
+/meson-0.40.1.tar.gz
diff --git a/meson.spec b/meson.spec
index fadb7a5..bcea7e4 100644
--- a/meson.spec
+++ b/meson.spec
@@ -1,7 +1,7 @@
 %global libname mesonbuild
 
 Name:           meson
-Version:        0.40.0
+Version:        0.40.1
 Release:        1%{?dist}
 Summary:        High productivity build system
 
@@ -94,6 +94,9 @@ export MESON_PRINT_TEST_OUTPUT=1
 %{rpmmacrodir}/macros.%{name}
 
 %changelog
+* Fri Apr 28 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.40.1-1
+- Update to 0.40.1
+
 * Sun Apr 23 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.40.0-1
 - Update to 0.40.0
 
diff --git a/sources b/sources
index 2fe869b..1c4a0cb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (meson-0.40.0.tar.gz) = 676b63947c3d12f433d73bf34421a4f6edcd27cd57e0d0b5410b96f851d7bc45221b3134a1f25927eb5d9b0419f4887ffa0eedc779e646d5aae52749ac5a0378
+SHA512 (meson-0.40.1.tar.gz) = 67b5a280dc32ae94fcded39bc5150e1a72d2ff2a10802af23c3217cd653eba233708be9ae69fe8f2e926ef5bd062162cbbdf366aebc02b5bf7286aee88e9acc0