[opensuse-buildservice] obs automatic provides
Hi all, when I include in a package a library after building that package automatically provides this lib. My problem is that I would have than "have choices for libfoo" Is there a way I can disable the automatic provides? Thank you :) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Jun 04, 2013 at 06:38:46PM +0300, Damian Ivanov wrote:
when I include in a package a library after building that package automatically provides this lib. My problem is that I would have than "have choices for libfoo" Is there a way I can disable the automatic provides?
This is a rpmbuild feature: http://www.rpm.org/max-rpm-snapshot/s1-rpm-depend-auto-depend.html Regards, Martin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Mittwoch, 5. Juni 2013, 09:07:30 schrieb Martin Koegler:
On Tue, Jun 04, 2013 at 06:38:46PM +0300, Damian Ivanov wrote:
when I include in a package a library after building that package automatically provides this lib. My problem is that I would have than "have choices for libfoo" Is there a way I can disable the automatic provides?
This is a rpmbuild feature: http://www.rpm.org/max-rpm-snapshot/s1-rpm-depend-auto-depend.html
Yes, but the better way here is to make the choice clear. Either by Prefer lines in prjconf or via changed requires or via #!BuildIgnore: ... lines in spec file. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Thanks for the answer.
AutoReqProv: no
is exactly what I've been searching for. Thank you. :)
2013/6/5 Adrian Schröter
Am Mittwoch, 5. Juni 2013, 09:07:30 schrieb Martin Koegler:
On Tue, Jun 04, 2013 at 06:38:46PM +0300, Damian Ivanov wrote:
when I include in a package a library after building that package automatically provides this lib. My problem is that I would have than "have choices for libfoo" Is there a way I can disable the automatic provides?
This is a rpmbuild feature: http://www.rpm.org/max-rpm-snapshot/s1-rpm-depend-auto-depend.html
Yes, but the better way here is to make the choice clear. Either by Prefer lines in prjconf or via changed requires or via #!BuildIgnore: ... lines in spec file. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Damian Ivanov
Thanks for the answer. AutoReqProv: no is exactly what I've been searching for.
No, it isn't. You want to use Prefer in the prjconf, as Adrian suggested. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
I use AutoReqProv on packages that include the package + all libraries
found by ldd. So nothing for mainline SUSE. Just an experiment. And
defining every lib in prjconf is too much :)
2013/6/5 Andreas Schwab
Damian Ivanov
writes: Thanks for the answer. AutoReqProv: no is exactly what I've been searching for.
No, it isn't. You want to use Prefer in the prjconf, as Adrian suggested.
Andreas.
-- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Adrian Schröter
-
Andreas Schwab
-
Damian Ivanov
-
Martin Koegler