!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:
commit
a36972de24
@ -1,7 +1,7 @@
|
|||||||
#Basic Information
|
#Basic Information
|
||||||
Name: xhtml1-dtds
|
Name: xhtml1-dtds
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 20020801.16
|
Release: 20020801.17
|
||||||
Summary: Definitions for XHTML 1.0 document type
|
Summary: Definitions for XHTML 1.0 document type
|
||||||
License: W3C
|
License: W3C
|
||||||
URL: http://www.w3.org/TR/2002/REC-xhtml1-20020801/
|
URL: http://www.w3.org/TR/2002/REC-xhtml1-20020801/
|
||||||
@ -62,10 +62,10 @@ popd
|
|||||||
|
|
||||||
#Install and uninstall scripts
|
#Install and uninstall scripts
|
||||||
%post
|
%post
|
||||||
pushd %{_sysconfdir}/xml
|
pushd %{_sysconfdir}/xml > /dev/null
|
||||||
[ -e catalog ] || xmlcatalog --noout --create catalog
|
[ -e catalog ] || xmlcatalog --noout --create catalog
|
||||||
xmlcatalog --noout --add nextCatalog xhtml1-dtds-%{version}-%{release}.xml "" catalog >/dev/null
|
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 \
|
xmlcatalog --sgml --noout --add %{_sysconfdir}/sgml/xhtml1-dtds-%{version}-%{release}.soc \
|
||||||
%{_datadir}/xml/xhtml/1.0/xhtml.soc >/dev/null
|
%{_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/
|
%{_datadir}/xml/xhtml/
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Sep 10 2020 Ge Wang <wangge20@huawei.com> - 1.0-20020801.16
|
||||||
- Modify Source0 Url
|
- Modify Source0 Url
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user