From ec0d0bb72dae09317995c10796068eb8fa4b0d4f Mon Sep 17 00:00:00 2001 From: songnannan Date: Fri, 20 Mar 2020 11:38:06 +0800 Subject: [PATCH 1/3] add gdb in buildrequires --- graphite2.spec | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/graphite2.spec b/graphite2.spec index 8336733..55606a5 100644 --- a/graphite2.spec +++ b/graphite2.spec @@ -1,6 +1,6 @@ Name: graphite2 Version: 1.3.13 -Release: 1 +Release: 2 Summary: Graphite provides cross-platform rendering for complex writing systems License: (LGPLv2+ or GPLv2+ or MPL) and (Netscape or GPLv2+ or LGPLv2+) @@ -9,15 +9,11 @@ Source0: https://downloads.sourceforge.net/project/silgraphite/graphite2//%{na Patch1: graphite2-1.2.0-cmakepath.patch -BuildRequires: gcc gcc-c++ cmake freetype-devel doxygen asciidoc python-unversioned-command +BuildRequires: gcc gcc-c++ cmake freetype-devel doxygen asciidoc python-unversioned-command gdb BuildRequires: texlive-helvetic texlive-sectsty texlive-tocloft texlive-xtab texlive-multirow python2-fonttools - Obsoletes: silgraphite < 2.3.1-5 - - - %description Graphite is a system that can be used to create “smart fonts” capable of displaying writing systems with various complex behaviors. A smart font contains not only letter shapes but also additional instructions indicating how to combine and position the letters in complex ways. @@ -30,11 +26,9 @@ Obsoletes: silgraphite-devel < 2.3.1-5 %description devel Header files for using the graphite2 libraries. - %prep %autosetup -n %{name}-%{version} -p1 - %build %cmake -DGRAPHITE2_COMPARE_RENDERER=OFF . %make_build all docs @@ -42,7 +36,6 @@ Header files for using the graphite2 libraries. %install %make_install INSTALL="install -p" - %check ctest @@ -71,13 +64,12 @@ ctest %{_includedir}/graphite2 %{_libdir}/libgraphite2.so %{_libdir}/pkgconfig/graphite2.pc - %{_libdir}/graphite2/graphite2*.cmake - - - %changelog +* Fri Mar 20 2020 songnannan - 1.3.13-2 +- add gdb in buildrequires + * Fri Jan 10 2020 openEuler Buildteam - 1.3.13.1 - Type:enhancement - ID:NA -- Gitee From f3b901de50b162e17a107427e95e7126c5e02830 Mon Sep 17 00:00:00 2001 From: songnannan Date: Fri, 20 Mar 2020 14:34:46 +0800 Subject: [PATCH 2/3] add gdb in buildrequires --- graphite2.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/graphite2.spec b/graphite2.spec index 55606a5..e273223 100644 --- a/graphite2.spec +++ b/graphite2.spec @@ -36,9 +36,6 @@ Header files for using the graphite2 libraries. %install %make_install INSTALL="install -p" -%check -ctest - %pre %preun -- Gitee From 16d87c244700a86f2351beb5cabf8ec2105b2982 Mon Sep 17 00:00:00 2001 From: songnannan Date: Fri, 20 Mar 2020 15:14:58 +0800 Subject: [PATCH 3/3] change the buildrequires --- graphite2.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphite2.spec b/graphite2.spec index e273223..af732de 100644 --- a/graphite2.spec +++ b/graphite2.spec @@ -10,7 +10,7 @@ Source0: https://downloads.sourceforge.net/project/silgraphite/graphite2//%{na Patch1: graphite2-1.2.0-cmakepath.patch BuildRequires: gcc gcc-c++ cmake freetype-devel doxygen asciidoc python-unversioned-command gdb -BuildRequires: texlive-helvetic texlive-sectsty texlive-tocloft texlive-xtab texlive-multirow python2-fonttools +BuildRequires: texlive-helvetic texlive-sectsty texlive-tocloft texlive-xtab texlive-multirow python3-fonttools Obsoletes: silgraphite < 2.3.1-5 -- Gitee