[Bug 1111691] Review Request: qore - multithreaded programming/scripting language

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1111691



--- Comment #45 from Andy Mender <andymenderunix@xxxxxxxxx> ---
> I would like to understand what you mean with the Requires lines - currently I have:

> qore -> requires libqore, qore-stdlib
> libqore -> requires nothing
> qore-doc () -> requires nothing
> qore-devel (C++ development package) -> requires libqore
> qore-devel-doc (C++ development docs) -> requires nothing
> qore-misc-tools -> requires qore (which in turn requires libqore and qore-stdlib)

Apologies, I misunderstood the original intention behind the main "qore"
package. I thought it's more of a meta/toolchain package.

> qore-devel:
> The Qore library can be used without qore and the qore-stdlib packages to allow for developing programs supporting embedded logic in them; the qore and qore-stdlib packages are both generally useful and in the vast majority of cases would also be used, however in a theoretical "lean" use case implementing only embedded logic in an application where the qore standard library is not required or needed, and external scripting support with qore is irrelevant, they would not be installed and requiring them would just take up extra space with no benefit.

Usually -devel packages require the main package. However, since qore-devel
requires libqore, I think not requiring the main package is alright.

> qore-doc and qore-devel-doc:
> Regarding requiring anything for the doc packages, I followed originally the same approach as with other languages such as Python, where the doc packages can be installed standalone as well - ex: https://src.fedoraproject.org/rpms/python3-docs/blob/master/f/python3-docs.spec - which has no dependencies on external packaging.

Good point! I see python3-docs uses the soft-dependency tag "Recommends". You
can use something similar if you see fit :).

> The scripts in this package require the qore executable to run, and the qore pkg in turn depends on libqore & qore-stdlib, so those other two package are indirect dependencies through qore.  libqore is not sufficient for the qore-misc-tools package, but needs to be in place so that the qore executable will run.

I'm trying to read a bit deeper into this section from the Packaging
Guidelines:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_requiring_base_package
I think the problem might be lines like these (using the %{?_isa} macro):
Requires: %{name}%{?_isa} = %{version}-%{release}

Can you try dropping the %{?_isa} macro? Perhaps that's causing issues?


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux