diff --git a/docbook-dtds.spec b/docbook-dtds.spec index b248649..de51b3e 100644 --- a/docbook-dtds.spec +++ b/docbook-dtds.spec @@ -5,7 +5,7 @@ Name: docbook-dtds Version: 1.0 -Release: 74%{?dist} +Release: 75%{?dist} Summary: SGML and XML document type definitions for DocBook @@ -429,15 +429,15 @@ ent/iso-cyr2.ent sgmldir=/usr/share/sgml/docbook/$fmt-dtd-$ver ## SGML catalog # Update the centralized catalog corresponding to this version of the DTD - $catcmd --sgml --del /etc/sgml/catalog /etc/sgml/$fmt-docbook-$ver.cat + $catcmd --sgml --del /etc/sgml/catalog /etc/sgml/$fmt-docbook-$ver.cat >/dev/null rm -f /etc/sgml/$fmt-docbook-$ver.cat ## XML catalog if [ $fmt = xml -a -w $xmlcatalog ]; then for f in $entities; do case $ver in 4.[45]) f=${f/-/} ;; esac - $catcmd --del $sgmldir/$f $xmlcatalog + $catcmd --del $sgmldir/$f $xmlcatalog >/dev/null done - $catcmd --del $sgmldir $xmlcatalog + $catcmd --del $sgmldir $xmlcatalog >/dev/null fi done @@ -472,6 +472,10 @@ do done %changelog +* Tue Feb 05 2020 Ondrej Vasik - 1.0-75 +- do not print an error when uninstalling and no other catalogs + are present (#1357273) + * Tue Jan 28 2020 Fedora Release Engineering - 1.0-74 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild