diff --git a/dconf.spec b/dconf.spec index e2cc5b3..6425ded 100644 --- a/dconf.spec +++ b/dconf.spec @@ -1,12 +1,13 @@ Name: dconf Version: 0.34.0 -Release: 1 +Release: 2 Summary: Dconf provides a backend to the GSettings API in Glib License: LGPLv2+ and GPLv2+ and GPLv3+ URL: http://live.gnome.org/%{name} Source0: http://download.gnome.org/sources/%{name}/0.30/%{name}-%{version}.tar.xz +Patch0: fix-optimize-test-cases-bug.patch BuildRequires: bash-completion dbus-devel glib2-devel >= 2.44.0 gtk-doc meson vala libxslt Requires: dbus glib2%{?_isa} >= 2.44.0 @@ -28,7 +29,7 @@ Summary: Document files for dconf This package contains some readme, man and other related files for dconf. %prep -%autosetup -p1 +%autosetup -n %{name}-%{version} -p1 %build %meson -Dgtk_doc=true @@ -85,6 +86,12 @@ dconf update %{_mandir}/man7/dconf.7.gz %changelog +* Mon Jun 29 2020 wenzhanli - 0.34.0-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:optimize test cases bug + * Thu Jan 9 2020 openEuler Buildteam - 0.34.0-1 - Type:enhancement - ID:NA diff --git a/fix-optimize-test-cases-bug.patch b/fix-optimize-test-cases-bug.patch new file mode 100644 index 0000000..baa5c84 --- /dev/null +++ b/fix-optimize-test-cases-bug.patch @@ -0,0 +1,25 @@ +From 0f47a97ee80de3580603132a907fba85ac61d2c5 Mon Sep 17 00:00:00 2001 +From: Ting-Wei-Lan +Date: Wed, 23 Jun 2019 11:37:03 +0800 +Subject: [PATCH] + +--- + common/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/common/meson.build b/common/meson.build +index 58e0fa8..61af2f9 100644 +--- a/common/meson.build ++++ b/common/meson.build +@@ -28,7 +28,7 @@ libdconf_common = static_library( + + libdconf_common_dep = declare_dependency( + dependencies: glib_dep, +- link_whole: libdconf_common, ++ link_with: libdconf_common, + ) + + libdconf_common_hidden = static_library( +-- +1.8.3.1 +