Re: CheckRequire: in spec?

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

 



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

On Wed, 2018-02-14 at 09:39 +0100, Marian Csontos wrote:
> I wonder, when there is a %check in spec, and the testsuite requires 
> more packages than BuildRequires, is there a way to have them installed 
> only if check is running?

This has been brought up few time... There is nothing like that. The consensus,
IIRC, was to use %bcond_without check and have
%if %{with check}
BuildRequires: ...
%endif

same for %check section itself. I think someone wanted to implement this
generally in RPM, but this didn't happen.

> Or shall I just throw them in as BuildRequire`s?

Yes.
- -- 
- -Igor Gnatenko
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAlqD+cEACgkQaVcUvRu8
X0zwmA//XPNf9ZitR5HU0azJJxifIv982/ZiDhEZh/newKtni2FMNE4Q53n734yT
rx+pyYsaR2stbASR4DrOUTq/6MjEkCFhLs5Dm+bRi1TC34t6QD8/VHh6qu2KAWqM
OPEUE85rEGW8E3glv4aZCNll6TBlJcok2XvnP0LgfcNtQLhvc/GLzGMjtkze2t+H
B3iWXj/g10WhCGQ6TV7xxCdlBoDEkusLWHGyxpD/mOKdN7JW9Tkplmz5kJirOmf5
+yMQhG6O3lzfL3bXw8JMJ2FocSYL+rD8agbu59xSE2QMGx0zwWjzvh5M6+ji7UPF
UQUf9JhHrf42SRYDbP11P2u3k6Y9IwioPqa+BUfqJEMO9cEM8yk0OIoPPuUjLCKt
3TAqmd6tYgp4K3wMvrc3tofFccPnLdYIHWsLHuiVKIV3qZn19d3acK/kL66bULk2
laG2hFaDD9/DLoEoome/FnqIpW25Czmpr24aotaF0wskCVSmC9PCsfqw2KJk4ugZ
tVAu9IDkCOIL7qzx/Eg6AH2AQa/BN2L1B6kt1i8DLmkdO9Oer5ZK0Uc+9MR8Mxvd
zpNr15kJzuyytqxcQsrbrYX4nci2iacBIWPJZEYYyU2Uw/PbiAhizY8VA2WO7Xd8
zjqo8M2CaFzQlZtxXsv6XDg5AEXCMA/pI/YR7+vlIkM6PMDMuOc=
=1auY
-----END PGP SIGNATURE-----
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux