On Fri, Mar 17, Michal Kubecek wrote:
On Friday, 17 March 2017 8:35 Thorsten Kukuk wrote:
So I would like to move that directories to an own RPM, prefereable "insserv-compat". Why "insserv-compat"? And what does this mean for existing packages?
- packages having correct insserv requires will not notice this - packages with broken insserv requires, but which builds currently by accident, will continue to build by accident.
Is it documented somewhere what exactly are "correct insserv requires"?
Yes, it is: https://en.opensuse.org/openSUSE:Packaging_init_scripts
Just few weeks ago I had to add "Requires(pre): %{insserv_prereq}" to make some of my packages build again. Should I remove the "(pre)" part to make sure it keeps working after the change you plan? Or should I add something else?
The correct Requires depends on, in which pre/post install sections you are calling insserv. But normally, "Requires(pre)" is correct and "Requires:" is wrong. Because you use insserv already in a %pre* section, so insserv needs to be installed before your package will be installed. 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-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org