Optimize test cases bug

This commit is contained in:
zhanliwen 2020-06-29 16:59:08 +08:00
parent e59a5c2e6f
commit d5d4edaca7
2 changed files with 34 additions and 2 deletions

View File

@ -1,12 +1,13 @@
Name: dconf Name: dconf
Version: 0.34.0 Version: 0.34.0
Release: 1 Release: 2
Summary: Dconf provides a backend to the GSettings API in Glib Summary: Dconf provides a backend to the GSettings API in Glib
License: LGPLv2+ and GPLv2+ and GPLv3+ License: LGPLv2+ and GPLv2+ and GPLv3+
URL: http://live.gnome.org/%{name} URL: http://live.gnome.org/%{name}
Source0: http://download.gnome.org/sources/%{name}/0.30/%{name}-%{version}.tar.xz 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 BuildRequires: bash-completion dbus-devel glib2-devel >= 2.44.0 gtk-doc meson vala libxslt
Requires: dbus glib2%{?_isa} >= 2.44.0 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. This package contains some readme, man and other related files for dconf.
%prep %prep
%autosetup -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%meson -Dgtk_doc=true %meson -Dgtk_doc=true
@ -85,6 +86,12 @@ dconf update
%{_mandir}/man7/dconf.7.gz %{_mandir}/man7/dconf.7.gz
%changelog %changelog
* Mon Jun 29 2020 wenzhanli <wenzhanli2@huawei.com> - 0.34.0-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:optimize test cases bug
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.34.0-1 * Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.34.0-1
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA

View File

@ -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