From 18ceb6caef878e0de8b22297a63161423653684d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Dec 2022 14:42:54 +0100 Subject: [PATCH] CI tests: Build pythontest.spec with and without %clamp_mtime_to_source_date_epoch --- tests/pythontest.spec | 5 +++++ tests/tests.yml | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/pythontest.spec b/tests/pythontest.spec index 3b707c5..50c136a 100644 --- a/tests/pythontest.spec +++ b/tests/pythontest.spec @@ -71,3 +71,8 @@ test $PY -ge $INODES %pycached %{python3_sitelib}/directory/file.py %pycached %{python36_sitelib}/directory/file.py %{python27_sitelib}/directory/file.py* + + +%changelog +* Thu Jan 01 2015 Fedora Packager - 0-0 +- This changelog entry exists and is deliberately set in the past diff --git a/tests/tests.yml b/tests/tests.yml index 11bb3ae..ac03d2e 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -16,9 +16,12 @@ - pytest: dir: . run: PYTHONPATH=/usr/lib/rpm/redhat ALTERNATE_PYTHON_VERSION=3.6 pytest -v - - manual_byte_compilation: + - manual_byte_compilation_clamp_mtime_off: dir: . - run: rpmbuild -ba pythontest.spec + run: rpmbuild --define 'clamp_mtime_to_source_date_epoch 0' -ba pythontest.spec + - manual_byte_compilation_clamp_mtime_on: + dir: . + run: rpmbuild --define 'clamp_mtime_to_source_date_epoch 1' -ba pythontest.spec required_packages: - rpm-build - python-rpm-macros