From e44dd353cd99f1f60dfa05d8389af98750c7b4a54b2218620b578b7bbe850091 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 24 Sep 2018 08:40:46 +0000 Subject: [PATCH] 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 --- svg-schema.changes | 5 +++++ svg-schema.spec | 15 ++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/svg-schema.changes b/svg-schema.changes index dd35360..691ae7a 100644 --- a/svg-schema.changes +++ b/svg-schema.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 24 08:33:37 UTC 2018 - Martin Pluskal + +- Use correct form of requires(pre) + ------------------------------------------------------------------- Sun Sep 23 14:32:52 UTC 2018 - thomas.schraitle@suse.com diff --git a/svg-schema.spec b/svg-schema.spec index 8617e8d..be0cbe9 100644 --- a/svg-schema.spec +++ b/svg-schema.spec @@ -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