On Mon, Apr 03, Jan Engelhardt wrote:
On Monday 2017-04-03 14:50, Thorsten Kukuk wrote:
On Mon, Apr 03, Peter Czanik wrote:
%if 0%{?suse_version} >= 1330 Requires(XXX): user(news) Requires(XXX): group(news) %endif
Where XXX is either pre or post, depending on your spec file.
In what case would you need it for %post?
For the same as in %pre: if you call chown news:news, the user and group must be there. pre/post are here important for the solver, in which order he has to install and deinstall packages. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & CaaSP SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org