From 31d0ab3d6d230b9a4580e51576385925cd6e8fc4 Mon Sep 17 00:00:00 2001 From: dwl301 Date: Thu, 3 Nov 2022 17:49:37 +0800 Subject: [PATCH] Add modify_xml_dtd_links.patch to change http links in some doc files. --- modify_xml_dtd_links.patch | 26 ++++++++++++++++++++++++++ vala.spec | 7 ++++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 modify_xml_dtd_links.patch diff --git a/modify_xml_dtd_links.patch b/modify_xml_dtd_links.patch new file mode 100644 index 0000000..947b12a --- /dev/null +++ b/modify_xml_dtd_links.patch @@ -0,0 +1,26 @@ +diff -up vala-0.50.8/doc/manual/manual.xml.bak vala-0.50.8/doc/manual/manual.xml +--- vala-0.50.8/doc/manual/manual.xml.bak 2022-11-03 17:43:21.980936745 +0800 ++++ vala-0.50.8/doc/manual/manual.xml 2022-11-03 17:43:29.920915903 +0800 +@@ -1,4 +1,4 @@ +-
++
+ +
+ Vala Reference Manual +@@ -3395,4 +3395,4 @@ $ ./preprocessor-debug]]> +
+ + +-
+\ No newline at end of file ++
+diff -up vala-0.50.8/doc/manual/version.xml.in.bak vala-0.50.8/doc/manual/version.xml.in +--- vala-0.50.8/doc/manual/version.xml.in.bak 2022-11-03 17:44:26.660772093 +0800 ++++ vala-0.50.8/doc/manual/version.xml.in 2022-11-03 17:44:32.596757545 +0800 +@@ -1,5 +1,5 @@ + +- ++ + + + Vala is a high level programming language that produces binaries for the native platform. The binaries maintain the C Application Binary Interface (ABI) and can be built as either an application or a library. diff --git a/vala.spec b/vala.spec index 650b3c1..f5b58ab 100644 --- a/vala.spec +++ b/vala.spec @@ -5,11 +5,12 @@ Name: vala Version: 0.50.8 -Release: 4 +Release: 5 Summary: Compiler Using the GObject Type System License: LGPLv2+ and BSD URL: https://wiki.gnome.org/Projects/Vala Source0: https://download.gnome.org/sources/vala/0.50/vala-%{version}.tar.xz +Patch0: modify_xml_dtd_links.patch BuildRequires: flex bison glib2-devel gobject-introspection-devel BuildRequires: graphviz-devel libxslt dbus-x11 @@ -42,6 +43,7 @@ Help documents for vala. %prep %autosetup -n %{name}-%{version} -p1 +%patch0 -p1 %build %configure @@ -129,6 +131,9 @@ fi %doc %{_datadir}/devhelp/books/vala-%{api_ver} %changelog +* Thu Nov 03 2022 Wenlong Ding - 0.50.8-5 +- Add modify_xml_dtd_links.patch to change http links in some doc files. + * Thu Sep 9 2021 caodongxia - 0.50.8-4 - Remove rpath -- Gitee