Am Freitag, 3. März 2017, 13:54:30 CET schrieb Dr. Werner Fink:
On Fri, Mar 03, 2017 at 01:46:04PM +0100, Dominique Leuenberger / DimStar wrote:
On Fri, 2017-03-03 at 13:38 +0100, Dr. Werner Fink wrote:
Did you try with Requires(pre): shadow (instead of /usr/sbin/groupadd) ?
This was my first thought. Nevertheless, the resolver like zypper or that of the auto build system should handle this. Beside this I wonder why shadow had been skipped from the pre-installed packages as well. And if a (pre)require can not be resolved I expect an error not only for /usr/sbin/groupadd but also for the other paths I used in the spec file.
OBS for most parts ignores File-Requires as far as I remember.
A couple of them are translated using project configuration:
FileProvides: /usr/sbin/groupadd shadow ^^^ NOTE: until a couple minutes ago this translated to pwdutils
this should also be valid, as pwdutils is provided by shadow
FileProvides: /usr/sbin/useradd shadow FileProvides: /sbin/netconfig sysconfig-netconfig FileProvides: /usr/bin/docbook2man docbook-utils FileProvides: /usr/bin/mkisofs cdrkit-cdrtools-compat #FileProvides: /usr/bin/mkisofs mkisofs FileProvides: /usr/sbin/lockdev lockdev FileProvides: /bin/logger util-linux-systemd FileProvides: /bin/csh tcsh FileProvides: /usr/bin/csh tcsh FileProvides: /usr/bin/mimencode metamail FileProvides: /usr/bin/pkg-config pkg-config FileProvides: /usr/bin/sg_inq sg3_utils FileProvides: /usr/bin/tput ncurses-utils FileProvides: /usr/bin/eu-nm elfutils FileProvides: /usr/bin/Xvfb xorg-x11-server FileProvides: /usr/bin/xmllint libxml2-tools FileProvides: /sbin/setcap libcap-progs FileProvides: /usr/bin/setfacl acl FileProvides: /usr/bin/fipscheck fipscheck FileProvides: /usr/bin/python python-base
Then the guy or lady which had removed shadow from the default pre installation of the build system might add the lines
FileProvides: /usr/sbin/groupadd shadow
AFAICS for /usr/sbin/useradd this had been done
YES PLEASE - just saw the mess in my packages as well! Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org