diff --git a/_service b/_service
index 90998c3..c535fb8 100644
--- a/_service
+++ b/_service
@@ -5,11 +5,11 @@
no
.git
libpsm2
- 11.2.166
+ 11.2.185
PSM2_(.*)
\1
PSM2_*
- 6d5af3c8766ae8e86f96ba7d04d5941966a5630c
+ 7a33bedc4bb3dff4e57c00293a2d70890db4d983
libpsm2*.tar
diff --git a/libpsm2-11.2.166.tar.bz2 b/libpsm2-11.2.166.tar.bz2
deleted file mode 100644
index 39885c6..0000000
--- a/libpsm2-11.2.166.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:8d2ecb3888294970c9a23280706f8d1adfb888354d5d87e475eb9e58ff479870
-size 362260
diff --git a/libpsm2-11.2.185.tar.bz2 b/libpsm2-11.2.185.tar.bz2
new file mode 100644
index 0000000..0657099
--- /dev/null
+++ b/libpsm2-11.2.185.tar.bz2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b3abc8004b532fd05064884f4496b31e71cf881e570f1fa7a4a15e7f5f4defda
+size 362850
diff --git a/libpsm2-use_RPM_OPT_FLAGS.patch b/libpsm2-use_RPM_OPT_FLAGS.patch
index 3ca8b7f..65742d3 100644
--- a/libpsm2-use_RPM_OPT_FLAGS.patch
+++ b/libpsm2-use_RPM_OPT_FLAGS.patch
@@ -1,4 +1,4 @@
-commit 39d1ebb49b0e48cd85a1b3d7c7716fb3398277e7
+commit ca7a8ea03eb00c9c5c7e4fcaf9603c4d0760177a
Author: Nicolas Morey-Chaisemartin
Date: Mon Nov 20 17:59:37 2017 +0100
@@ -9,10 +9,10 @@ Date: Mon Nov 20 17:59:37 2017 +0100
Signed-off-by: Nicolas Morey-Chaisemartin
diff --git buildflags.mak buildflags.mak
-index 10ec2886e6d7..cd7d7df1796f 100644
+index 7c3cda099871..baf7e5bb5a2f 100644
--- buildflags.mak
+++ buildflags.mak
-@@ -80,7 +80,7 @@ else
+@@ -72,7 +72,7 @@ else
anerr := $(error Unknown Fortran compiler arch: ${FCARCH})
endif # gfortran
@@ -22,12 +22,12 @@ index 10ec2886e6d7..cd7d7df1796f 100644
ASFLAGS += $(BASE_FLAGS)
diff --git compat/buildflags.mak compat/buildflags.mak
-index b448e4ee49b5..2a9a822bad74 100644
+index db348481b169..f7334e3936a7 100644
--- compat/buildflags.mak
+++ compat/buildflags.mak
-@@ -71,7 +71,7 @@ else
- endif # gcc4
- endif # gcc
+@@ -63,7 +63,7 @@ else
+ anerr := $(error Unknown C compiler arch: ${CCARCH})
+ endif
-BASECFLAGS += $(BASE_FLAGS)
+BASECFLAGS += $(BASE_FLAGS) $(RPM_OPT_FLAGS)
diff --git a/libpsm2.changes b/libpsm2.changes
index 64380af..5b45010 100644
--- a/libpsm2.changes
+++ b/libpsm2.changes
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Wed Jul 22 15:31:44 UTC 2020 - Nicolas Morey-Chaisemartin
+
+- Update to 11.2.185
+ - No release notes available
+- Refresh libpsm2-use_RPM_OPT_FLAGS.patch against latest sources
+
-------------------------------------------------------------------
Fri Jul 3 08:04:50 UTC 2020 - Nicolas Morey-Chaisemartin
diff --git a/libpsm2.spec b/libpsm2.spec
index ce34251..70661b3 100644
--- a/libpsm2.spec
+++ b/libpsm2.spec
@@ -20,7 +20,7 @@
%define psm_so 2
Name: libpsm2
-Version: 11.2.166
+Version: 11.2.185
Release: 0
Summary: Intel PSM Messaging API libraries
License: BSD-2-Clause OR GPL-2.0-only