!13 Disable pushd and popd outputs in post scripts

From: @ultra_planet
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2020-11-25 17:27:23 +08:00 committed by Gitee
commit a36972de24

View File

@ -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 <lingsheng@huawei.com> - 1.0-20020801.17
- Disable pushd and popd outputs in post scripts
* Thu Sep 10 2020 Ge Wang <wangge20@huawei.com> - 1.0-20020801.16
- Modify Source0 Url