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