From bb907f11d3aca6dfdf8ae0edcaece76c3645ca82 Mon Sep 17 00:00:00 2001 From: liyunfei Date: Mon, 14 Aug 2023 17:08:57 +0800 Subject: [PATCH] fix install error with clang toolchain --- metacity.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/metacity.spec b/metacity.spec index 563dc61..2b11277 100644 --- a/metacity.spec +++ b/metacity.spec @@ -1,6 +1,6 @@ Name: metacity Version: 3.37.1 -Release: 4 +Release: 5 Summary: Window Manager for the MATE and GNOME Flashback desktops License: GPLv2+ URL: https://download.gnome.org/sources/metacity/ @@ -46,7 +46,7 @@ developing applications that use %{name}. rm -f src/org.gnome.metacity.gschema.valid %build -CPPFLAGS="$CPPFLAGS -I$RPM_BUILD_ROOT%{_includedir}" +CPPFLAGS="$CPPFLAGS -I%{_builddir}/%{_includedir}" export CPPFLAGS rm -f configure (if ! test -x configure; then autoreconf -i -f; fi; @@ -88,6 +88,9 @@ make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS" %{?_smp_mflags} %{_mandir}/man1/*.gz %changelog +* Mon Aug 14 2023 liyunfei - 3.37.1-5 +- fix install error with clang toolchain + * Mon Aug 07 2023 zhouwenpei - 3.37.1-4 - fix build error