[Craft] [Bug 426724] Missing support for adding dependencies to a specific package version

Ralf Habacker bugzilla_noreply at kde.org
Tue Sep 22 10:14:09 BST 2020


https://bugs.kde.org/show_bug.cgi?id=426724

--- Comment #2 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Hannah von Reth from comment #1)
> The best solution currently is
> https://github.com/owncloud/craft-blueprints-owncloud/blob/master/owncloud/
> owncloud-client/owncloud-client.py#L44

Thanks for pointer. 

A remaining question is in which case 'RuntimeDependencies' or
'BuildDependencies' should be used ?
0
For obs, I usually specify build time dependencies (usually the development
package) and runtime dependencies only when needed, as runtime dependencies are
resolved at the shared library level by default during installation (use rpm -q
--provides and rpm -q --requires).

I assume that craft has no such support and I have to use 'RuntimeDependencies'
to install the library package for qt5webkit and 'BuildDependencies' to install
the development package ?

Since in the blueprint (own cloud client) mentioned above 'RuntimeDependencies'
are used, I assume that this will install the development package when building
the package, which have this dependency and the runtime package when installing
- is that correct?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kde-windows mailing list