Fix double dash in XML documentation

This commit is contained in:
David King 2018-08-20 14:22:51 +01:00
parent 62250b1c79
commit 27c8302baf
2 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,34 @@
From 7b8e9ea4a17ccaf3418c48294ae13b784d19cb63 Mon Sep 17 00:00:00 2001
From: Alexander Larsson <alexl@redhat.com>
Date: Mon, 20 Aug 2018 14:56:00 +0200
Subject: [PATCH] dbus xml: Delete -- from docs
Apparently -- is not valid XML, so a nonbreakable space was added, but
that breaks gdbus-codegen, so lets just drop the dashes totally.
Closes: #1988
Approved by: alexlarsson
---
data/org.freedesktop.portal.Flatpak.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/data/org.freedesktop.portal.Flatpak.xml b/data/org.freedesktop.portal.Flatpak.xml
index c3afdc2c..b7bbed29 100644
--- a/data/org.freedesktop.portal.Flatpak.xml
+++ b/data/org.freedesktop.portal.Flatpak.xml
@@ -67,13 +67,13 @@
<varlistentry>
<term>4</term>
<listitem><para>
- Spawn in a sandbox (equivalent of the --sandbox option of flatpak run).
+ Spawn in a sandbox (equivalent of the sandbox option of flatpak run).
</para></listitem>
</varlistentry>
<varlistentry>
<term>8</term>
<listitem><para>
- Spawn without network (equivalent of the --unshare=network option of flatpak run).
+ Spawn without network (equivalent of the unshare=network option of flatpak run).
</para></listitem>
</varlistentry>
</variablelist>

View File

@ -3,12 +3,14 @@
Name: flatpak
Version: 1.0.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Application deployment framework for desktop apps
License: LGPLv2+
URL: http://flatpak.org/
Source0: https://github.com/flatpak/flatpak/releases/download/%{version}/%{name}-%{version}.tar.xz
# https://github.com/flatpak/flatpak/pull/1988
Patch0: flatpak-1.0.0-fix-docs-for-gdbus-codegen.patch
BuildRequires: pkgconfig(appstream-glib)
BuildRequires: pkgconfig(gio-unix-2.0)
@ -148,6 +150,9 @@ flatpak remote-list --system &> /dev/null || :
%changelog
* Mon Aug 20 2018 David King <amigadave@amigadave.com> - 1.0.0-2
- Fix double dash in XML documentation
* Mon Aug 20 2018 David King <amigadave@amigadave.com> - 1.0.0-1
- Update to 1.0.0