Disable pushd and popd outputs in post scripts
This commit is contained in:
parent
82aab242af
commit
ed1c070ec8
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user