!27 Del buildrequire dblatex by replace macro @DBLATEX@ with dblatex path

From: @si-gui
Reviewed-by: @dwl301
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2021-10-15 11:06:12 +00:00 committed by Gitee
commit 14d684deae

View File

@ -3,9 +3,9 @@
Name: gtk-doc
Version: 1.33.2
Release: 4
Release: 5
Summary: Generate API documentation from comments that can be added to C code
License: GPLv2+ and GFDL
License: Verbatim and GPLv2+
URL: https://www.gtk.org/gtk-doc/
Source0: https://download.gnome.org/sources/gtk-doc/1.33/%{name}-%{version}.tar.xz
Patch0: fix-fixxref-not-found-file.patch
@ -14,7 +14,7 @@ Patch2: fix-gtkdoc-rebase-NoneType-object-has-no-attribute-group.patch
BuildRequires: python3-devel docbook-utils libxslt gettext
BuildRequires: itstool yelp-tools docbook-style-xsl gcc
BuildRequires: dblatex meson glib2-devel
BuildRequires: meson glib2-devel
BuildRequires: python3-pygments
BuildRequires: python3-parameterized
BuildRequires: python3-anytree
@ -30,6 +30,7 @@ to document application code.
%prep
%autosetup -n %{name}-%{version} -p1
sed -i 's/@DBLATEX@/\/usr\/bin\/dblatex/g' gtkdoc/config_data.py.in
mv doc/README doc/README.1
@ -55,7 +56,10 @@ export PYTHON=%{__python3}
%{_datadir}/help/*/%{name}-manual/
%changelog
* Thu 22 Jul 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.33.2-4
* Fri Oct 15 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.33.2-5
- Del buildrequire dblatex by replace macro @DBLATEX@ with dblatex path
* Thu Jul 22 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.33.2-4
- Del useless buildrequire gdb
* Non Jul 26 2021 Ge Wang <wangge20@huawei.com> - 1.33.2-3