diff --git a/docbook_5-docbook50.nvdl.patch b/docbook_5-docbook50.nvdl.patch deleted file mode 100644 index e2aee32..0000000 --- a/docbook_5-docbook50.nvdl.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- docbook-5.0/docbook.nvdl.bak 2017-11-10 20:33:44.294076884 +0100 -+++ docbook-5.0/docbook.nvdl 2017-11-10 20:34:26.114496772 +0100 -@@ -4,8 +4,8 @@ - - - -- -- -+ -+ - - - diff --git a/docbook_5-docbook51.nvdl.patch b/docbook_5-docbook51.nvdl.patch deleted file mode 100644 index 6376bf1..0000000 --- a/docbook_5-docbook51.nvdl.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- docbook-5.1/docbook.nvdl.bak 2017-11-10 20:38:32.596975700 +0100 -+++ docbook-5.1/docbook.nvdl 2017-11-10 20:38:47.445124748 +0100 -@@ -4,8 +4,8 @@ - - - -- -- -+ -+ - - - diff --git a/docbook_5-nvdl.patch b/docbook_5-nvdl.patch new file mode 100644 index 0000000..1849f78 --- /dev/null +++ b/docbook_5-nvdl.patch @@ -0,0 +1,35 @@ +From: Thomas Schraitle +Date: 2017-11-10 20:33:44 +0100 +Subject: change path to DocBook RNG/SCH schema files +References: n/a +Upstream: no + +openSUSE installs links in the nvdl/ folder so the path to the +DocBook schema files were necessary. + +--- docbook-5.0/docbook.nvdl.bak 2017-11-10 20:33:44.294076884 +0100 ++++ docbook-5.0/docbook.nvdl 2017-11-10 20:34:26.114496772 +0100 +@@ -4,8 +4,8 @@ + + + +- +- ++ ++ + + + +--- docbook-5.1/docbook.nvdl.bak 2017-11-10 20:38:32.596975700 +0100 ++++ docbook-5.1/docbook.nvdl 2017-11-10 20:38:47.445124748 +0100 +@@ -4,8 +4,8 @@ + + + +- +- ++ ++ + + + diff --git a/docbook_5.changes b/docbook_5.changes index db33f78..91bdaf7 100644 --- a/docbook_5.changes +++ b/docbook_5.changes @@ -8,7 +8,7 @@ Sun Nov 12 17:02:51 UTC 2017 - thomas.schraitle@suse.com - Add missing assembly.rn{c,g} and dbits.rn{c,g} for Schematron - Correct spec file: - - Add docbook_5-docbook5{0,1}.nvdl.patch + - Add docbook_5-nvdl.patch to change path to DocBook RNG/SCH files - Apply spec-cleaner ------------------------------------------------------------------- diff --git a/docbook_5.spec b/docbook_5.spec index df3efb0..44f9bca 100644 --- a/docbook_5.spec +++ b/docbook_5.spec @@ -38,8 +38,9 @@ Source500: docbook-5.0.tar.bz2 # DB 5.1 Source510: docbook-5.1.tar.bz2 # -Patch501: %{name}-docbook50.nvdl.patch -Patch511: %{name}-docbook51.nvdl.patch +# PATCH-FIX-OPENSUSE docbook_5-nvdl.patch change path to schema files +Patch501: %{name}-nvdl.patch + # BuildRequires: fdupes BuildRequires: sgml-skel @@ -96,7 +97,6 @@ find . -type f | xargs chmod a-x # Patching %patch501 -%patch511 %build # Nothing to build