!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:
commit
14d684deae
12
gtk-doc.spec
12
gtk-doc.spec
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
Name: gtk-doc
|
Name: gtk-doc
|
||||||
Version: 1.33.2
|
Version: 1.33.2
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Generate API documentation from comments that can be added to C code
|
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/
|
URL: https://www.gtk.org/gtk-doc/
|
||||||
Source0: https://download.gnome.org/sources/gtk-doc/1.33/%{name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/gtk-doc/1.33/%{name}-%{version}.tar.xz
|
||||||
Patch0: fix-fixxref-not-found-file.patch
|
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: python3-devel docbook-utils libxslt gettext
|
||||||
BuildRequires: itstool yelp-tools docbook-style-xsl gcc
|
BuildRequires: itstool yelp-tools docbook-style-xsl gcc
|
||||||
BuildRequires: dblatex meson glib2-devel
|
BuildRequires: meson glib2-devel
|
||||||
BuildRequires: python3-pygments
|
BuildRequires: python3-pygments
|
||||||
BuildRequires: python3-parameterized
|
BuildRequires: python3-parameterized
|
||||||
BuildRequires: python3-anytree
|
BuildRequires: python3-anytree
|
||||||
@ -30,6 +30,7 @@ to document application code.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
sed -i 's/@DBLATEX@/\/usr\/bin\/dblatex/g' gtkdoc/config_data.py.in
|
||||||
|
|
||||||
mv doc/README doc/README.1
|
mv doc/README doc/README.1
|
||||||
|
|
||||||
@ -55,7 +56,10 @@ export PYTHON=%{__python3}
|
|||||||
%{_datadir}/help/*/%{name}-manual/
|
%{_datadir}/help/*/%{name}-manual/
|
||||||
|
|
||||||
%changelog
|
%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
|
- Del useless buildrequire gdb
|
||||||
|
|
||||||
* Non Jul 26 2021 Ge Wang <wangge20@huawei.com> - 1.33.2-3
|
* Non Jul 26 2021 Ge Wang <wangge20@huawei.com> - 1.33.2-3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user