-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2019-07-19 7:49 a.m., Rex Dieter wrote:
> Remi Collet wrote: > >> Le 18/07/2019 à 18:26, Nicolas Chauvet a écrit : >>>> 
> "Build
dependencies on Fedora packages which provide pkg-config files >>>>
SHOULD be expressed >>>> as pkgconfig(foo) and not foo-devel, whether
the dependent package uses >>>> pkg-config or not." >>> >>> This is true
for the fast majority of cases. Specially where there is >>> only one
provider of pkgconfig(foo). >>> >>> But sometime there is a need for a
compat library and then I don't >>> know if my package may uses the main
library of the compat one. >>> pkgconfig(foo) will pick one or the
other, but using the package name >>> is more deterministic to me. >>>
>> >> Indeed, pkgconfig(foo) start to raise issues when multiple
providers >> exists. > > I'd argue that should be a relatively (very?!?)
rare case, and relying on > pkgconfig(foo) is still generally the more
simple and safe approach. > > Of course exceptions exist where you have
"reasons(tm)" to do otherwise. > > In short, IMO, the guidelines to
recommend use of pkgconfig provides are > still good and valid.
Exceptional cases are simply that: exceptions, which > can do otherwise
provided they document the rationale in the .spec file. > > -- Rex > >
-- Rex > __________________________Ito
devel-le...@lists.fedoraproject.org > 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/devel@lists.fedoraproject.org
It would be great if pkgconfig(foo) usage get broadly enforced on Fedora
packaging process

Luya

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEWyB+BQtYiFz4GUNDXlKBdNiiYJoFAl0yqt4ACgkQXlKBdNii
YJqDzAf/TfYre+yENtRDlVPnGtfOOTSF6vlfefoz8lr5e0XqXCnmT2MdrAt55ltC
b6pResxOZBTYR2VO0aHblWdvvYqw8AS5IHujPT5i56+dc218XUSdUnlpJf29KhCK
UxDPskxU1cNT2S3SYQgQkSoAN5TGuwtsb7BdzRvN1yKV5Rdr5dAnrceaTuDXrwxf
Zh31swgXQwKRNiA3B3eZ2a5qsCerstvnJyDdoY/iodBY34a4MvbnmnmVBez5Ewk7
hj5WKv/LtdbdaUEFqUDOQ4jH8jKB2t5DFPhHBYy8SsBFij69GdcO/rOO5PBrmHn3
is3cXDQtMjy4wdB7WH3zU3uqYzFPdQ==
=/PhT
-----END PGP SIGNATURE-----

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org

Reply via email to