diff --git a/fix-install-dir-bug-in-mesonbuild.patch b/fix-install-dir-bug-in-mesonbuild.patch new file mode 100644 index 0000000..8182920 --- /dev/null +++ b/fix-install-dir-bug-in-mesonbuild.patch @@ -0,0 +1,13 @@ +diff -uNrp a/meson.build b/meson.build +--- a/meson.build 2019-01-08 22:59:43.000000000 +0800 ++++ b/meson.build 2019-12-26 18:58:15.039200278 +0800 +@@ -86,8 +86,7 @@ foreach pc: [PACKAGE_NAME, PACKAGE_NAME + endif + configure_file(input: pc + '.pc.in', + output: pc + '.pc', +- configuration: pc_conf, +- install_dir: install_path) ++ configuration: pc_conf) + endforeach + + subdir('libwnck') diff --git a/libwnck3.spec b/libwnck3.spec index 1d45ef4..742f8c6 100644 --- a/libwnck3.spec +++ b/libwnck3.spec @@ -1,6 +1,6 @@ Name: libwnck3 Version: 3.31.4 -Release: 1 +Release: 2 Summary: Window Navigator Construction Kit URL: http://download.gnome.org/sources/libwnck/ Source0: http://download.gnome.org/sources/libwnck/3.24/libwnck-%{version}.tar.xz @@ -8,6 +8,7 @@ License: LGPLv2+ BuildRequires: glib2-devel gtk3-devel gtk-doc meson pango-devel libxslt BuildRequires: startup-notification-devel gobject-introspection-devel libXres-devel gettext Requires: startup-notification +Patch9000: fix-install-dir-bug-in-mesonbuild.patch %description libwnck is used to implement pagers, tasklists, and other such things. @@ -46,7 +47,6 @@ The %{name}-devel package contains libraries and header files for %{name}. %files devel %defattr(-,root,root) -%{_libdir}/pkgconfig/* %{_includedir}/libwnck-3.0/* %{_datadir}/gir-1.0/Wnck-3.0.gir @@ -56,5 +56,11 @@ The %{name}-devel package contains libraries and header files for %{name}. %doc %{_datadir}/gtk-doc/* %changelog +* Thu Dec 26 2019 openEuler Buildteam - 3.31.4-2 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:fix build fail + * Thu Aug 29 2019 openEuler Buildteam - 3.31.4-1 - Package init