keep old sourceforge entries at least temporarily (#1409587)

This commit is contained in:
Ondřej Vašík 2017-01-03 10:22:54 +01:00
parent def862c7ec
commit 6391185bf3

View File

@ -1,6 +1,6 @@
Name: docbook-style-xsl
Version: 1.79.2
Release: 2%{?dist}
Release: 3%{?dist}
Group: Applications/Text
Summary: Norman Walsh's XSL stylesheets for DocBook XML
@ -118,6 +118,14 @@ CATALOG=%{_sysconfdir}/xml/catalog
%{_bindir}/xmlcatalog --noout --add "rewriteURI" \
"http://cdn.docbook.org/release/xsl-nons/current/" \
"file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG
#keep the old one sourceforge URIs at least temporarily
%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/current" \
"file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG
%{_bindir}/xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/current" \
"file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG
%postun
@ -129,6 +137,9 @@ if [ "$1" = 0 ]; then
fi
%changelog
* Tue Jan 03 2017 Ondrej Vasik <ovasik@redhat.com> - 1.79.2-3
- keep old sourceforge entries at least temporarily (#1409587)
* Mon Jan 02 2017 Ondrej Vasik <ovasik@redhat.com> - 1.79.2-2
- update xmlcatalog entries to docbook.org cdn