do not register openjade catalogs in docbook-dtds catalogs(it is done there
- #601188)
This commit is contained in:
parent
b6e39bcf62
commit
0c8b202b4c
@ -1,6 +1,6 @@
|
|||||||
Name: docbook-style-dsssl
|
Name: docbook-style-dsssl
|
||||||
Version: 1.79
|
Version: 1.79
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
|
|
||||||
Summary: Norman Walsh's modular stylesheets for DocBook
|
Summary: Norman Walsh's modular stylesheets for DocBook
|
||||||
@ -8,12 +8,9 @@ Summary: Norman Walsh's modular stylesheets for DocBook
|
|||||||
License: Copyright only
|
License: Copyright only
|
||||||
URL: http://docbook.sourceforge.net/
|
URL: http://docbook.sourceforge.net/
|
||||||
|
|
||||||
%define openjadever 1.3.2
|
|
||||||
Requires: openjade = %{openjadever}
|
|
||||||
Requires: docbook-dtds
|
Requires: docbook-dtds
|
||||||
|
Requires: openjade
|
||||||
Requires: sgml-common
|
Requires: sgml-common
|
||||||
#We need this specific version of openjade because of catalog location
|
|
||||||
Requires: openjade = %{openjadever}
|
|
||||||
Requires(post): sgml-common
|
Requires(post): sgml-common
|
||||||
Requires(preun): sgml-common
|
Requires(preun): sgml-common
|
||||||
|
|
||||||
@ -59,21 +56,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
rel=$(echo /etc/sgml/sgml-docbook-3.0-*.cat)
|
|
||||||
rel=${rel##*-}
|
|
||||||
rel=${rel%.cat}
|
|
||||||
for centralized in /etc/sgml/*-docbook-*.cat
|
for centralized in /etc/sgml/*-docbook-*.cat
|
||||||
do
|
do
|
||||||
/usr/bin/install-catalog --remove $centralized \
|
|
||||||
/usr/share/sgml/docbook/dsssl-stylesheets-*/catalog \
|
|
||||||
>/dev/null 2>/dev/null
|
|
||||||
done
|
|
||||||
|
|
||||||
for centralized in /etc/sgml/*-docbook-*$rel.cat
|
|
||||||
do
|
|
||||||
/usr/bin/install-catalog --add $centralized \
|
|
||||||
/usr/share/sgml/openjade-%{openjadever}/catalog \
|
|
||||||
> /dev/null 2>/dev/null
|
|
||||||
/usr/bin/install-catalog --add $centralized \
|
/usr/bin/install-catalog --add $centralized \
|
||||||
/usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog \
|
/usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog \
|
||||||
> /dev/null 2>/dev/null
|
> /dev/null 2>/dev/null
|
||||||
@ -83,13 +67,17 @@ done
|
|||||||
%preun
|
%preun
|
||||||
if [ "$1" = "0" ]; then
|
if [ "$1" = "0" ]; then
|
||||||
for centralized in /etc/sgml/*-docbook-*.cat
|
for centralized in /etc/sgml/*-docbook-*.cat
|
||||||
do /usr/bin/install-catalog --remove $centralized /usr/share/sgml/openjade-%{openjadever}/catalog > /dev/null 2>/dev/null
|
do
|
||||||
/usr/bin/install-catalog --remove $centralized /usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog > /dev/null 2>/dev/null
|
/usr/bin/install-catalog --remove $centralized /usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog > /dev/null 2>/dev/null
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 07 2010 Ondrej Vasik <ovasik@redhat.com> - 1.79-11
|
||||||
|
- do not register openjade catalogs in docbook-dtds catalogs
|
||||||
|
(it is done there - #601188)
|
||||||
|
|
||||||
* Tue Feb 02 2010 Ondrej Vasik <ovasik@redhat.com> - 1.79-10
|
* Tue Feb 02 2010 Ondrej Vasik <ovasik@redhat.com> - 1.79-10
|
||||||
- fix merge review issues(#225703)
|
- fix merge review issues(#225703)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user