Accepting request 978943 from Publishing

- Handle update case as well (boo#1199754)

OBS-URL: https://build.opensuse.org/request/show/978943
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlcharent?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2022-05-25 18:34:00 +00:00 committed by Git OBS Bridge
commit 370fb88056
3 changed files with 17 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 24 11:15:56 UTC 2022 - Dr. Werner Fink <werner@suse.de>
- Handle update case as well (boo#1199754)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 18 12:29:42 UTC 2016 - fvogt@suse.com Mon Jul 18 12:29:42 UTC 2016 - fvogt@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package xmlcharent # spec file for package xmlcharent
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -22,7 +22,7 @@ Release: 0
Summary: XML Character Entities Summary: XML Character Entities
License: BSD-3-Clause License: BSD-3-Clause
Group: Productivity/Publishing/XML Group: Productivity/Publishing/XML
Url: http://www.oasis-open.org/docbook/xmlcharent/ URL: http://www.oasis-open.org/docbook/xmlcharent/
Source0: xmlcharent-0.3.tar.bz2 Source0: xmlcharent-0.3.tar.bz2
Source1: xmlcharent.xml Source1: xmlcharent.xml
Source2: xmlcharent.sgml Source2: xmlcharent.sgml
@ -55,7 +55,10 @@ sgml-register-catalog -a %{_datadir}/%{name}/%{name}.sgml
%postun %postun
update-xml-catalog update-xml-catalog
if ! test -e %{_datadir}/%{name}/%{name}.sgml
then
sgml-register-catalog -r %{_datadir}/%{name}/%{name}.sgml sgml-register-catalog -r %{_datadir}/%{name}/%{name}.sgml
fi
%files %files
%defattr(-, root, root) %defattr(-, root, root)

View File

@ -1,5 +1,6 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<group id="xmlcharent">
<rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xmlcharent/0.3/" rewritePrefix="file://__DIR__/entities/"/> <rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xmlcharent/0.3/" rewritePrefix="file://__DIR__/entities/"/>
<public publicId="ISO 8879:1986//ENTITIES Publishing//EN//XML" uri="file://__DIR__/entities/iso-pub.ent"/> <public publicId="ISO 8879:1986//ENTITIES Publishing//EN//XML" uri="file://__DIR__/entities/iso-pub.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Greek Letters//EN//XML" uri="file://__DIR__/entities/iso-grk1.ent"/> <public publicId="ISO 8879:1986//ENTITIES Greek Letters//EN//XML" uri="file://__DIR__/entities/iso-grk1.ent"/>
@ -20,4 +21,5 @@
<public publicId="ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" uri="file://__DIR__/entities/iso-lat2.ent"/> <public publicId="ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" uri="file://__DIR__/entities/iso-lat2.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" uri="file://__DIR__/entities/iso-amsr.ent"/> <public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" uri="file://__DIR__/entities/iso-amsr.ent"/>
<public publicId="ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" uri="file://__DIR__/entities/iso-cyr2.ent"/> <public publicId="ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" uri="file://__DIR__/entities/iso-cyr2.ent"/>
</group>
</catalog> </catalog>