Hello.
I wanted to ship the following snippet in python-hypothesis:
--------------------------------------------------
%check
%pytest -v -n auto \
-k "not test_registered_from_entrypoint" \
--ignore tests/codemods \
--ignore tests/dpcontracts \
--ignore tests/redis \
%ifarch s390x
-k "not test_data_frames_with_timestamp_columns"
%endif
--------------------------------------------------
However, for some reason, the s390x part was not present on s390x. I've been
banging my head on the desk for some time trying to figure out why it doesn't
wok and apparently, it is because the package is noarch.
I've got around the problem by using:
%if "%{_arch}" == "s390x"
-k "not test_data_frames_with_timestamp_columns"
%endif
Is that how it is supposed to work?
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-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/packaging@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure