From c81edd65af3949d735b07091d21971e018f84a07 Mon Sep 17 00:00:00 2001 From: luofeng14 Date: Mon, 18 Mar 2024 10:35:50 +0800 Subject: [PATCH] support clang build --- multipath-tools.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/multipath-tools.spec b/multipath-tools.spec index d24f1b4..0ffeb2d 100644 --- a/multipath-tools.spec +++ b/multipath-tools.spec @@ -1,7 +1,12 @@ +%if "%toolchain" == "clang" +%global _auto_set_build_flags 1 +%endif + + #needsrootforbuild Name: multipath-tools Version: 0.9.5 -Release: 1 +Release: 2 Summary: Tools to manage multipath devices with the device-mapper License: GPL-2.0-or-later and LGPL-2.0-only URL: http://christophe.varoqui.free.fr/ @@ -180,6 +185,9 @@ fi %changelog +* Fri Mar 1 2024 luofeng - 0.9.5-2 +- support clang build + * Mon Feb 5 2024 wangzhiqiang - 0.9.5-1 - upgrade version to 0.9.5: - add requires libmount and libmount-devel -- Gitee