remove entries from xmlcatalog only when removing package (post was
adding/postun removing :( )
This commit is contained in:
parent
1d0b008972
commit
098438dd45
@ -1,6 +1,6 @@
|
||||
Name: docbook-style-xsl
|
||||
Version: 1.73.2
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Group: Applications/Text
|
||||
|
||||
Summary: Norman Walsh's XSL stylesheets for DocBook XML
|
||||
@ -106,12 +106,19 @@ CATALOG=%{_sysconfdir}/xml/catalog
|
||||
|
||||
|
||||
%postun
|
||||
CATALOG=%{_sysconfdir}/xml/catalog
|
||||
%{_bindir}/xmlcatalog --noout --del \
|
||||
"file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG
|
||||
|
||||
# remove entries only on removal of package
|
||||
if [ "$1" = 0 ]; then
|
||||
CATALOG=%{_sysconfdir}/xml/catalog
|
||||
%{_bindir}/xmlcatalog --noout --del \
|
||||
"file://%{_datadir}/sgml/docbook/xsl-stylesheets-%{version}" $CATALOG
|
||||
fi
|
||||
|
||||
%changelog
|
||||
* Tue Dec 11 2007 Ondrej Vasik <ovasik@redhat.com> 1.73.2-8
|
||||
- remove entries from xmlcatalog only on removal of package
|
||||
(required because of the change with droping release
|
||||
-caused drop of catalog entries during update)
|
||||
|
||||
* Tue Dec 04 2007 Ondrej Vasik <ovasik@redhat.com> 1.73.2-7
|
||||
- change a few non-constant expressions to constant that
|
||||
could now be handled by passivetex(#366441)
|
||||
|
@ -1,4 +1,3 @@
|
||||
Pouze v docbook-xsl-1.73.2/fo: .index.xsl.swp
|
||||
diff -ur docbook-xsl-1.73.2-orig/fo/param.xsl docbook-xsl-1.73.2/fo/param.xsl
|
||||
--- docbook-xsl-1.73.2-orig/fo/param.xsl 2007-12-03 15:49:14.000000000 +0100
|
||||
+++ docbook-xsl-1.73.2/fo/param.xsl 2007-12-04 15:49:46.000000000 +0100
|
||||
@ -24,6 +23,3 @@ diff -ur docbook-xsl-1.73.2-orig/fo/param.xsl docbook-xsl-1.73.2/fo/param.xsl
|
||||
<xsl:attribute name="start-indent">0pt</xsl:attribute>
|
||||
</xsl:attribute-set>
|
||||
<xsl:attribute-set name="index.entry.properties">
|
||||
Pouze v docbook-xsl-1.73.2/fo: .param.xsl.swp
|
||||
Pouze v docbook-xsl-1.73.2/html: dtbl.xsl.newmethods
|
||||
Pouze v docbook-xsl-1.73.2/lib: dumpfragment.xsl.newmethods
|
||||
|
Loading…
Reference in New Issue
Block a user