Stable release of the SUSE XSL stylesheets 2.0.6.3

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/suse-xsl-stylesheets?expand=0&rev=109
This commit is contained in:
Stefan Knorr 2016-09-30 12:43:15 +00:00 committed by Git OBS Bridge
parent 349b4f2685
commit 107e25789e
4 changed files with 38 additions and 11 deletions

View File

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

View File

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Sep 30 11:44:57 UTC 2016 - sknorr@suse.com
Stable release of the SUSE XSL stylesheets 2.0.6.3:
Find issues in our GitHub tracker at
https://github.com/openSUSE/suse-xsl/issues/NUMBER
* Packaging
- Update post/postun segments of spec file to install the catalog
* Catalog
- Remove mentions of NovDoc, as NovDoc is now part of a separate
package
* Stylesheets (common)
- Updated translations for `suse2013` stylesheets
-------------------------------------------------------------------
Thu Sep 15 15:06:10 UTC 2016 - sknorr@suse.com

View File

@ -17,7 +17,7 @@
Name: suse-xsl-stylesheets
Version: 2.0.6.2
Version: 2.0.6.3
Release: 0
###############################################################
@ -34,6 +34,7 @@ Release: 0
#
################################################################
%define susexsl_catalog catalog-for-%{name}.xml
%define db_xml_dir %{_datadir}/xml/docbook
%define suse_styles_dir %{db_xml_dir}/stylesheet
@ -142,14 +143,20 @@ make install DESTDIR=%{buildroot} LIBDIR=%{_libdir}
#----------------------
%post
%reconfigure_fonts_post
if [ ! -f %{_sysconfdir}/xml/suse-catalog.xml -a -x %{_bindir}/edit-xml-catalog ] ; then
# susexsl entry
edit-xml-catalog --group --catalog %{_sysconfdir}/xml/suse-catalog.xml \
--del %{name}
edit-xml-catalog --group --catalog %{_sysconfdir}/xml/suse-catalog.xml \
--del suse_schemas
# XML Catalogs
#
# remove existing entries first - needed for
# zypper in, since it does not call postun
# delete ...
if [ "2" = "$1" ]; then
edit-xml-catalog --group --catalog %{_sysconfdir}/xml/suse-catalog.xml \
--del %{name} || true
fi
# ... and (re)add it again
edit-xml-catalog --group --catalog %{_sysconfdir}/xml/suse-catalog.xml \
--add %{_sysconfdir}/xml/%{susexsl_catalog}
%reconfigure_fonts_post
exit 0
#----------------------
@ -157,6 +164,8 @@ exit 0
%postun
if [ "0" = "$1" ]; then
%reconfigure_fonts_post
edit-xml-catalog --group --catalog %{_sysconfdir}/xml/suse-catalog.xml \
--del %{name} || true
fi
exit 0