Accepting request 1067137 from Documentation:Tools

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1067137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geekodoc?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2023-02-22 14:21:52 +00:00 committed by Git OBS Bridge
commit ec7463e83a
4 changed files with 29 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:822162aab95f07c7a8d95d49655112cfba8c01c04f90777cc3f921ed84c6723a
size 270283

3
geekodoc-2.2.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b8a006f2462f883208a33f9f6af03f2f325609e158bc5902ef1a91272bb21fa
size 270371

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Feb 15 10:53:50 UTC 2023 - Thomas Schraitle <thomas.schraitle@suse.com> - 2.2.2
- Release 2.2.2
Fix #114: Create additional links
* Create geekodoc-latest-flat.rn{c,g}
* Add catalog entries to point to latest URIs
-------------------------------------------------------------------
Wed Feb 15 08:31:49 UTC 2023 - Thomas Schraitle <thomas.schraitle@suse.com> - 2.2.1
- Release 2.2.1
- Introduce "latest" link (#114)
-------------------------------------------------------------------
Thu Feb 9 13:22:47 UTC 2023 - Thomas Schraitle <thomas.schraitle@suse.com> - 2.2.0

View File

@ -19,7 +19,7 @@
%bcond_without tests
#
Name: geekodoc
Version: 2.2.0
Version: 2.2.2
Release: 0
Summary: DocBook based RNG Schema for SUSE Documentation
License: GPL-3.0-only
@ -66,7 +66,7 @@ Conflicts: suse-xsl-stylesheets < 2.0.6
NovDoc is a DTD/RELAX NG schema used for older SUSE documentation.
%prep
%setup -q
%autosetup
tar -xf %{SOURCE10}
mv novdoc-20190201/novdoc .
mv novdoc-20190201/catalog.d/novdoc.xml catalog.d/
@ -93,10 +93,7 @@ sed -i "s#<include href=\"docbookxi.rng\">#<include href=\"$docbookxi_rng\">#" \
build/geekodoc/rng/1_5.1/geekodoc-v1.rng
#### Install flat GeekoDoc:
install -v -m 0644 build/geekodoc/rng/1_5.1/geekodoc-v1-flat.rn[cg] \
%{buildroot}%{_datadir}/xml/geekodoc/rng/1_5.1/
install -v -m 0644 build/geekodoc/rng/2_5.2/geekodoc-v2-flat.rn[cg] \
%{buildroot}%{_datadir}/xml/geekodoc/rng/2_5.2/
cp -a build/geekodoc/rng/ %{buildroot}%{_datadir}/xml/geekodoc/
pushd %{buildroot}%{_datadir}/xml/geekodoc/rng
# For compatibility reasons:
@ -168,6 +165,15 @@ done
%config %{_sysconfdir}/xml/catalog.d/geekodoc*.xml
%dir %{_datadir}/xml/geekodoc
%{_datadir}/xml/geekodoc/*
# These files are just build artifacts that need to be excluded:
%exclude %{_datadir}/xml/geekodoc/rng/*/docbook*
%exclude %{_datadir}/xml/geekodoc/rng/*/db*
%exclude %{_datadir}/xml/geekodoc/rng/*/its*
%exclude %{_datadir}/xml/geekodoc/rng/*/trans*
%exclude %{_datadir}/xml/geekodoc/rng/*/xinclude*
%exclude %{_datadir}/xml/geekodoc/rng/*/*.rni
%exclude %{_datadir}/xml/geekodoc/rng/*/geekodoc-v[12].rn[cg]
%exclude %{_datadir}/xml/geekodoc/rng/*/geekodoc5.rnc
%files -n novdoc
%license LICENSE