From 58869d934eda3be610613de2a626ad015735f4c5 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Wed, 25 Nov 2020 16:46:52 +0800 Subject: [PATCH] Disable pushd and popd outputs in post scripts --- xhtml1-dtds.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/xhtml1-dtds.spec b/xhtml1-dtds.spec index 9a54cd9..cc38d52 100644 --- a/xhtml1-dtds.spec +++ b/xhtml1-dtds.spec @@ -1,7 +1,7 @@ #Basic Information Name: xhtml1-dtds Version: 1.0 -Release: 20020801.16 +Release: 20020801.17 Summary: Definitions for XHTML 1.0 document type License: W3C URL: http://www.w3.org/TR/2002/REC-xhtml1-20020801/ @@ -62,10 +62,10 @@ popd #Install and uninstall scripts %post -pushd %{_sysconfdir}/xml +pushd %{_sysconfdir}/xml > /dev/null [ -e catalog ] || xmlcatalog --noout --create catalog xmlcatalog --noout --add nextCatalog xhtml1-dtds-%{version}-%{release}.xml "" catalog >/dev/null -popd +popd > /dev/null xmlcatalog --sgml --noout --add %{_sysconfdir}/sgml/xhtml1-dtds-%{version}-%{release}.soc \ %{_datadir}/xml/xhtml/1.0/xhtml.soc >/dev/null @@ -83,6 +83,9 @@ xmlcatalog --sgml --noout --del %{_sysconfdir}/sgml/xhtml1-dtds-%{version}-%{rel %{_datadir}/xml/xhtml/ %changelog +* Wed Nov 25 2020 lingsheng - 1.0-20020801.17 +- Disable pushd and popd outputs in post scripts + * Thu Sep 10 2020 Ge Wang - 1.0-20020801.16 - Modify Source0 Url -- Gitee