resolve missing VERSION.xsl (#891459)

This commit is contained in:
Ondřej Vašík 2013-01-03 10:02:17 +01:00
parent fdffd33151
commit e9702774a7

View File

@ -1,6 +1,6 @@
Name: docbook5-style-xsl
Version: 1.78.0
Release: 1%{?dist}
Release: 2%{?dist}
Group: Applications/Text
Summary: Norman Walsh's XSL stylesheets for DocBook 5.X
@ -8,7 +8,7 @@ Summary: Norman Walsh's XSL stylesheets for DocBook 5.X
# Package is licensed as MIT/X (http://wiki.docbook.org/topic/DocBookLicense),
# some .js files under ./slides/browser/ are licensed MPLv1.1
License: MIT and MPLv1.1
URL: http://wiki.docbook.org/topic/DocBookXslStylesheets
URL: http://wiki.docbook.org/DocBookXslStylesheets
Provides: docbook-xsl-ns = %{version}
# xml-common was using /usr/share/xml until 0.6.3-8.
@ -40,7 +40,9 @@ chmod +x epub/bin/dbtoepub
DESTDIR=$RPM_BUILD_ROOT
mkdir -p $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%version
cp -a [[:lower:]]* $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%version/
cp -a VERSION $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%version/
cp -a VERSION $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%version/VERSION.xsl
ln -s VERSION.xsl \
$DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%version/VERSION
ln -s xsl-ns-stylesheets-%{version} \
$DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets
@ -83,6 +85,9 @@ if [ "$1" = 0 ]; then
fi
%changelog
* Thu Jan 03 2013 Ondrej Vasik <ovasik@redhat.com> 1.78.0-2
- resolve missing VERSION.xsl (#891459)
* Thu Dec 20 2012 Ondrej Vasik <ovasik@redhat.com> 1.78.0-1
- new upstream release 1.78.0