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