diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index caa6e16..79c34d3 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Mar 9 12:34:30 UTC 2021 - Dominique Leuenberger + +- Do not require apparmor-abstractions: with the mini package being + used only during build (and never on end user workstations), + apparmor is not going to be anabled (build is in chroot/vm). + Keeping the dep-chain of the -mini flavor as small as possible. +- Add extra safeguard Requires: this-is-only-for-build-envs: this + symbol is not provided by any package outside of OBS, but OBS + knows to ignore this dependency. This is just an additional + safe-guard to stop users from installing this package, besides it + not being part of the published distro repositories. + ------------------------------------------------------------------- Fri Mar 5 12:35:16 UTC 2021 - Dominique Leuenberger diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index a45800a..e94769c 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -29,7 +29,6 @@ BuildRequires: zlib-devel %if 0%{?suse_version} >= 1500 BuildRequires: apparmor-abstractions BuildRequires: apparmor-rpm-macros -Requires: apparmor-abstractions %endif Requires(post): update-alternatives Requires(preun): update-alternatives @@ -103,6 +102,9 @@ Patch101: ijs_exec_server_dont_use_sh.patch # because ghostscript-mini (and ghostscript-mini-devel) are not published # in openSUSE products, cf. https://build.opensuse.org/request/show/877083 Provides: ghostscript_any = %{version} +# the "this-is-only-for-build-envs" dependency is an additional safegaurd to ensure this +# package never finds its way onto a productive workstation +Requires: this-is-only-for-build-envs Conflicts: ghostscript Conflicts: ghostscript-x11 Conflicts: ghostscript-devel