On 07/23/2018 01:12 PM, Jitka Plesníková wrote:
I've added BR glibc-common, because it contains the iconv binary. iconv
is used in spec file.

Jitka

On 07/23/2018 12:57 PM, Florian Weimer wrote:
On 07/23/2018 10:06 AM, notificati...@fedoraproject.org wrote:
+BuildRequires:  glibc-common

glibc-common is an internal implementation detail of glibc.  You
should not add dependencies on it.

For building against the C run-time, you should only specify

   Requires: gcc

or (if necessary)

   Requires: gcc-c++

This is explained here:

   <https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B>

Thanks,
Forian

That's actually a reasonable request, but it cannot be expressed with the current packaging. I filed an enhancement request for glibc:

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

Until this is implemented (hopefully quite soon, and I will also backport this to Fedora 27 and 28), you simply cannot express such fine-grained dependencies, and you need to rely on the tools being included in the buildroot implicitly.

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/LQNDBL7PHX63C2IIQHGQF5RO4C6IB2RD/

Reply via email to