!19 【LLVM平行宇宙】fix install error with clang toolchain

From: @liyunfei33 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
This commit is contained in:
openeuler-ci-bot 2023-08-22 07:11:51 +00:00 committed by Gitee
commit 9e425d6f65
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <liyunfei33@huawei.com> - 3.37.1-5
- fix install error with clang toolchain
* Mon Aug 07 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 3.37.1-4
- fix build error