diff --git a/metacity.spec b/metacity.spec index 3671cde5ed6ffb14655ca0a531ff3bd8b35a61b4..92637c16dda526118cce9a5bcf6e4e378cd02910 100644 --- a/metacity.spec +++ b/metacity.spec @@ -1,6 +1,6 @@ Name: metacity Version: 3.37.1 -Release: 3 +Release: 4 Summary: Window Manager for the MATE and GNOME Flashback desktops License: GPLv2+ URL: https://download.gnome.org/sources/metacity/ @@ -44,7 +44,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; @@ -61,6 +61,7 @@ make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS" %{?_smp_mflags} %delete_la_and_a %ldconfig_scriptlets +# find $RPM_BUILD_ROOT -type f | xargs sed -i "s|$RPM_BUILD_ROOT||g" %files %defattr(-,root,root) @@ -86,6 +87,9 @@ make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS" %{?_smp_mflags} %{_mandir}/man1/*.gz %changelog +* Mon Aug 14 2023 liyunfei - 3.37.1-4 +- fix install error + * Fri Apr 1 2022 wuchaochao - 3.37.1-3 - remove XResQueryClientIds to get pid and remove BuildRequires:vulkan-devel