Bump version number for rc2.
diff --git a/man/meson.1 b/man/meson.1
index b0644c4..c2c49cf 100644
--- a/man/meson.1
+++ b/man/meson.1
@@ -1,4 +1,4 @@
-.TH MESON "1" "June 2023" "meson 1.2.0" "User Commands"
+.TH MESON "1" "July 2023" "meson 1.2.0" "User Commands"
 .SH NAME
 meson - a high productivity build system
 .SH DESCRIPTION
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py
index 0904187..48541d7 100644
--- a/mesonbuild/coredata.py
+++ b/mesonbuild/coredata.py
@@ -59,7 +59,7 @@
 #
 # Pip requires that RCs are named like this: '0.1.0.rc1'
 # But the corresponding Git tag needs to be '0.1.0rc1'
-version = '1.2.0.rc1'
+version = '1.2.0.rc2'
 
 # The next stable version when we are in dev. This is used to allow projects to
 # require meson version >=1.2.0 when using 1.1.99. FeatureNew won't warn when