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