Fix the postun error
(cherry picked from commit c5e0f99b51d1837007d81264e3d9d42527227165)
This commit is contained in:
parent
6e20524d8a
commit
f4c2fc636d
@ -1,7 +1,7 @@
|
|||||||
Name: docbook5-style-xsl
|
Name: docbook5-style-xsl
|
||||||
Summary: Norman Walsh's XSL stylesheets for DocBook 5.X
|
Summary: Norman Walsh's XSL stylesheets for DocBook 5.X
|
||||||
Version: 1.79.2
|
Version: 1.79.2
|
||||||
Release: 8
|
Release: 9
|
||||||
License: MIT and MPLv1.1
|
License: MIT and MPLv1.1
|
||||||
URL: https://github.com/gooselinux/docbook5-style-xsl
|
URL: https://github.com/gooselinux/docbook5-style-xsl
|
||||||
Source0: https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F{%version}/docbook-xsl-%{version}.tar.bz2
|
Source0: https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F{%version}/docbook-xsl-%{version}.tar.bz2
|
||||||
@ -55,7 +55,9 @@ rm -rf %{buildroot}%{_datadir}/sgml/docbook/xsl-ns-stylesheets/install.sh
|
|||||||
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" %{_sysconfdir}/xml/catalog
|
"file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" %{_sysconfdir}/xml/catalog
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
[ "$1" = 0 ] && %{_bindir}/xmlcatalog --noout --del "file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" %{_sysconfdir}/xml/catalog
|
if [ "$1" = 0 ]; then
|
||||||
|
%{_bindir}/xmlcatalog --noout --del "file://%{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}" %{_sysconfdir}/xml/catalog
|
||||||
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
@ -68,5 +70,8 @@ rm -rf %{buildroot}%{_datadir}/sgml/docbook/xsl-ns-stylesheets/install.sh
|
|||||||
%doc BUGS README TODO NEWS RELEASE-NOTES.* extensions/*.txt
|
%doc BUGS README TODO NEWS RELEASE-NOTES.* extensions/*.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 20 2022 yaoxin <yaoxin30@h-parters.com> - 1.79.2-9
|
||||||
|
- Fix the postun error
|
||||||
|
|
||||||
* Tue Dec 3 2019 caomeng<caomeng5@huawei.com> -1.79.2-8
|
* Tue Dec 3 2019 caomeng<caomeng5@huawei.com> -1.79.2-8
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user