Accepting request 637390 from home:pluskalm:branches:Publishing

- Use correct form of requires(pre)

OBS-URL: https://build.opensuse.org/request/show/637390
OBS-URL: https://build.opensuse.org/package/show/Publishing/svg-schema?expand=0&rev=8
This commit is contained in:
Martin Pluskal 2018-09-24 08:40:46 +00:00 committed by Git OBS Bridge
parent 4b6a7b7a32
commit e44dd353cd
2 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 24 08:33:37 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
- Use correct form of requires(pre)
-------------------------------------------------------------------
Sun Sep 23 14:32:52 UTC 2018 - thomas.schraitle@suse.com

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# 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/
#
@ -32,7 +32,6 @@
%define xml_mod_custom_dir %{xml_mod_dir}/custom
%define xml_mod_style_dir %{xml_mod_dir}/stylesheet
%define xml_mod_style_prod_dir %{xml_mod_style_dir}
%define xml_sysconf_dir %{_sysconfdir}/xml
#
Name: svg-schema
@ -53,14 +52,13 @@ BuildRequires: fdupes
BuildRequires: sgml-skel >= 0.7
BuildRequires: unzip
Requires: sgml-skel >= 0.7
# FIXME: use proper Requires(pre/post/preun/...)
PreReq: %{_bindir}/xmlcatalog
PreReq: %{regcat}
PreReq: awk
PreReq: grep
PreReq: sed
Requires(post): sgml-skel >= 0.7
Requires(postun): sgml-skel >= 0.7
Requires(pre): %{_bindir}/xmlcatalog
Requires(pre): %{regcat}
Requires(pre): awk
Requires(pre): grep
Requires(pre): sed
BuildArch: noarch
%description
@ -72,7 +70,6 @@ Contains the following DTDs:
* "Scalable Vector Graphics" (SVG) 1.1 Specification, W3C
Recommendation 14 January 2003
%package doc
Summary: Documentation of SVG Schemas
Group: Productivity/Graphics/Other