update xmlcatalog entries to docbook.org cdn

This commit is contained in:
Ondřej Vašík 2017-01-02 14:10:48 +01:00
parent d980c165b9
commit def862c7ec

View File

@ -1,6 +1,6 @@
Name: docbook-style-xsl Name: docbook-style-xsl
Version: 1.79.2 Version: 1.79.2
Release: 1%{?dist} Release: 2%{?dist}
Group: Applications/Text Group: Applications/Text
Summary: Norman Walsh's XSL stylesheets for DocBook XML Summary: Norman Walsh's XSL stylesheets for DocBook XML
@ -107,16 +107,16 @@ rm -rf $RPM_BUILD_ROOT
%post %post
CATALOG=%{_sysconfdir}/xml/catalog CATALOG=%{_sysconfdir}/xml/catalog
%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \ %{_bindir}/xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/%{version}" \ "http://cdn.docbook.org/release/xsl-nons/%{version}" \
"file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG "file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG
%{_bindir}/xmlcatalog --noout --add "rewriteURI" \ %{_bindir}/xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/%{version}" \ "http://cdn.docbook.org/release/xsl-nons/%{version}" \
"file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG "file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG
%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \ %{_bindir}/xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/current" \ "http://cdn.docbook.org/release/xsl-nons/current/" \
"file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG "file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG
%{_bindir}/xmlcatalog --noout --add "rewriteURI" \ %{_bindir}/xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/current" \ "http://cdn.docbook.org/release/xsl-nons/current/" \
"file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG "file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG
@ -129,6 +129,9 @@ if [ "$1" = 0 ]; then
fi fi
%changelog %changelog
* Mon Jan 02 2017 Ondrej Vasik <ovasik@redhat.com> - 1.79.2-2
- update xmlcatalog entries to docbook.org cdn
* Mon Jan 02 2017 Ondrej Vasik <ovasik@redhat.com> - 1.79.2-1 * Mon Jan 02 2017 Ondrej Vasik <ovasik@redhat.com> - 1.79.2-1
- new upstream release 1.79.2 - new upstream release 1.79.2
- upstream moved to github - upstream moved to github