diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2021-11-02 04:50:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-02 10:50:07 +0100 |
commit | cf50905ee9296cf9c4fbf45a979ab3362a92276e (patch) | |
tree | 7f8e6deaa290c900fba3303280cf0c53e9fe0a0d | |
parent | f972863712eb165e5a8bd79282b0bcfccefc5d7a (diff) | |
download | spack-cf50905ee9296cf9c4fbf45a979ab3362a92276e.tar.gz spack-cf50905ee9296cf9c4fbf45a979ab3362a92276e.tar.bz2 spack-cf50905ee9296cf9c4fbf45a979ab3362a92276e.tar.xz spack-cf50905ee9296cf9c4fbf45a979ab3362a92276e.zip |
modifications to docbook-xml (#27131)
- added more versions in case packages request a specific version of
docbook-xml
- added a "current" alias to handle when packages use that
-rw-r--r-- | var/spack/repos/builtin/packages/docbook-xml/package.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/docbook-xml/package.py b/var/spack/repos/builtin/packages/docbook-xml/package.py index eeb29d4b32..c5bd340a8b 100644 --- a/var/spack/repos/builtin/packages/docbook-xml/package.py +++ b/var/spack/repos/builtin/packages/docbook-xml/package.py @@ -15,7 +15,9 @@ class DocbookXml(Package): list_depth = 1 version('4.5', sha256='4e4e037a2b83c98c6c94818390d4bdd3f6e10f6ec62dd79188594e26190dc7b4') + version('4.4', sha256='02f159eb88c4254d95e831c51c144b1863b216d909b5ff45743a1ce6f5273090') version('4.3', sha256='23068a94ea6fd484b004c5a73ec36a66aa47ea8f0d6b62cc1695931f5c143464') + version('4.2', sha256='acc4601e4f97a196076b7e64b368d9248b07c7abf26b34a02cca40eeebe60fa2') depends_on('libxml2', type='build') @@ -166,6 +168,14 @@ class DocbookXml(Package): 'https://www.oasis-open.org/docbook/xml/{0}'.format(version), 'file://{0}'.format(prefix), docbook) + xmlcatalog('--noout', '--add', 'rewriteSystem', + 'https://www.oasis-open.org/docbook/xml/current', + 'file://{0}'.format(prefix), + docbook) + xmlcatalog('--noout', '--add', 'rewriteURI', + 'https://www.oasis-open.org/docbook/xml/current', + 'file://{0}'.format(prefix), + docbook) # create catalog xmlcatalog('--noout', '--create', catalog) |