keep old sourceforge entries at least temporarily (#1409587)

This commit is contained in:
Ondřej Vašík 2017-01-03 10:29:11 +01:00
parent 1b0b550133
commit 6a6e7fec06

View File

@ -1,6 +1,6 @@
Name: docbook5-style-xsl
Version: 1.79.2
Release: 1%{?dist}
Release: 2%{?dist}
Group: Applications/Text
Summary: Norman Walsh's XSL stylesheets for DocBook 5.X
@ -97,6 +97,12 @@ CATALOG=%{_sysconfdir}/xml/catalog
"http://cdn.docbook.org/release/xsl/current/" \
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG
%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl-ns/current" \
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG
%{_bindir}/xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl-ns/current" \
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" $CATALOG
%postun
# remove entries only on removal of package
@ -107,6 +113,9 @@ if [ "$1" = 0 ]; then
fi
%changelog
* Tue Jan 03 2017 Ondrej Vasik <ovasik@redhat.com> - 1.79.2-2
- keep the old sourceforge URI rewrites at least temporarily
* Mon Jan 02 2017 Ondrej Vasik <ovasik@redhat.com> - 1.79.2-1
- new upstream release 1.79.2
- upstream moved to github, switch online content to docbook CDN