remove missing .gml files from installed catalogs [release 20080923-4mamba;Thu Dec 03 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 21:51:35 +01:00
parent 4192b260bd
commit 8e7fd58140

View File

@ -1,6 +1,6 @@
Name: docbook-dtds Name: docbook-dtds
Version: 20080923 Version: 20080923
Release: 3mamba Release: 4mamba
Group: Applications/Publishing Group: Applications/Publishing
Summary: SGML and XML document type definitions for DocBook. Summary: SGML and XML document type definitions for DocBook.
License: Distributable License: Distributable
@ -95,6 +95,12 @@ function build_docbook() {
DESTDIR_XML=%{buildroot}%{_datadir}/xml/docbook/schema/dtd DESTDIR_XML=%{buildroot}%{_datadir}/xml/docbook/schema/dtd
install -d $DESTDIR install -d $DESTDIR
# remove uninstalled .gml files
if [ "$2" = "sgml" ]; then
sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat
fi
install docbook.cat $DESTDIR/catalog install docbook.cat $DESTDIR/catalog
install *.dtd $DESTDIR install *.dtd $DESTDIR
install *.mod $DESTDIR install *.mod $DESTDIR
@ -458,11 +464,14 @@ exit 0
%dir %{_datadir}/sgml/sgml-iso-entities-8879.1986 %dir %{_datadir}/sgml/sgml-iso-entities-8879.1986
/etc/sgml/sgml-docbook.cat /etc/sgml/sgml-docbook.cat
/etc/sgml/xml-docbook.cat /etc/sgml/xml-docbook.cat
%doc --parents 3.1-sgml/ChangeLog #%doc --parents 3.1-sgml/ChangeLog
%doc --parents 4.1-sgml/ChangeLog #%doc --parents 4.1-sgml/ChangeLog
%doc --parents */*.txt #%doc --parents */*.txt
%changelog %changelog
* Thu Dec 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 20080923-4mamba
- remove missing .gml files from installed catalogs
* Thu Jul 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 20080923-3mamba * Thu Jul 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 20080923-3mamba
- create compatibility symlinks to /usr/share/xml/docbook/schema/dtd - create compatibility symlinks to /usr/share/xml/docbook/schema/dtd