rpms/docbook-style-xsl/devel docbook-style-xsl.spec, 1.44, 1.45 docbook-xsl-non-constant-expressions.patch, 1.1, 1.2

Ondrej Vasik (ovasik) fedora-extras-commits at redhat.com
Tue Dec 11 13:09:03 UTC 2007


Author: ovasik

Update of /cvs/extras/rpms/docbook-style-xsl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7283

Modified Files:
	docbook-style-xsl.spec 
	docbook-xsl-non-constant-expressions.patch 
Log Message:
remove entries from xmlcatalog only when removing package (post was adding/postun removing :( )


Index: docbook-style-xsl.spec
===================================================================
RCS file: /cvs/extras/rpms/docbook-style-xsl/devel/docbook-style-xsl.spec,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- docbook-style-xsl.spec	4 Dec 2007 15:07:09 -0000	1.44
+++ docbook-style-xsl.spec	11 Dec 2007 13:08:23 -0000	1.45
@@ -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 @@
 
 
 %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 at 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 at redhat.com> 1.73.2-7
 - change a few non-constant expressions to constant that
   could now be handled by passivetex(#366441)

docbook-xsl-non-constant-expressions.patch:

Index: docbook-xsl-non-constant-expressions.patch
===================================================================
RCS file: /cvs/extras/rpms/docbook-style-xsl/devel/docbook-xsl-non-constant-expressions.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- docbook-xsl-non-constant-expressions.patch	4 Dec 2007 15:07:09 -0000	1.1
+++ docbook-xsl-non-constant-expressions.patch	11 Dec 2007 13:08:23 -0000	1.2
@@ -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 @@
    <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




More information about the fedora-extras-commits mailing list