diff --git a/python-poetry-core.changes b/python-poetry-core.changes index ce77082..f7f1a96 100644 --- a/python-poetry-core.changes +++ b/python-poetry-core.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 10 10:23:44 UTC 2025 - Ben Greiner + +- Unset source date epoch for tests + ------------------------------------------------------------------- Fri Jan 10 03:12:41 UTC 2025 - Steve Kowalik diff --git a/python-poetry-core.spec b/python-poetry-core.spec index 2e697d7..b0db9b0 100644 --- a/python-poetry-core.spec +++ b/python-poetry-core.spec @@ -67,10 +67,9 @@ cp -p src/poetry/core/_vendor/tomli/LICENSE vendoredlicenses/tomli.L %check # gh#python-poetry/poetry#1645 git init -# date time issues -- wheel gets built with the current time -donttest="test_dist_info_date_time_default_value or test_sdist_mtime_zero " -donttest+="or test_sdist_members_mtime_default" -%pytest -k "not ($donttest)" +# tests expect the default 2016-01-01 for test builds, not the epoch set by OBS (serverside) +unset SOURCE_DATE_EPOCH +%pytest %files %{python_files} %doc README.md