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

Petr Menšík <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #7 from Petr Menšík <[email protected]> ---
I would recommend using %bcond_with tests. That way it can enabled during build
time. Makes it easy to do test local build by:
fedpkg local --with tests

But will stay disabled by default, where it requires something extra to pass.
I did something similar on cpp-httplib package with %bcond_with online:
https://src.fedoraproject.org/rpms/cpp-httplib/blob/rawhide/f/cpp-httplib.spec#_5

That makes it possible to change behaviour slightly by defining --with
parameter.
fedpkg mockbuild allows it too, in case it can work even from chroot.


-- 
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
https://bugzilla.redhat.com/show_bug.cgi?id=2214269

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202214269%23c7
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to