diff --git a/python-pymisp.changes b/python-pymisp.changes index c337204..d6f18ae 100644 --- a/python-pymisp.changes +++ b/python-pymisp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 4 06:36:07 UTC 2024 - Sebastian Wagner + +- remove the date from python-publicsuffixlist's version. the package python-publicsuffixlist in openSUSE uses the suffix list from the package publicsuffixlist, not the list packaged by python-publicsuffixlist +sed -i -r '/publicsuffixlist/ s/(version *= *"\^[0-9]+\.[0-9]\.[0-9]+)\.[0-9]{8}/\1/' pyproject.toml + ------------------------------------------------------------------- Wed Sep 4 05:48:37 UTC 2024 - Sebastian Wagner diff --git a/python-pymisp.spec b/python-pymisp.spec index 264e08b..8fd68c0 100644 --- a/python-pymisp.spec +++ b/python-pymisp.spec @@ -99,6 +99,8 @@ find pymisp examples -name "*.py" -type f -exec sed -i '1s/^#!.*//' '{}' \+ find examples pymisp/data/misp-objects pymisp/tools -name "*.py" -type f -exec chmod -x '{}' \+ # https://github.com/MISP/PyMISP/issues/1295 sed -i '/CHANGELOG.txt/d' pyproject.toml +# remove the date from python-publicsuffixlist's version. the package python-publicsuffixlist in openSUSE uses the suffix list from the package publicsuffixlist, not the list packaged by python-publicsuffixlist +sed -i -r '/publicsuffixlist/ s/(version *= *"\^[0-9]+\.[0-9]\.[0-9]+)\.[0-9]{8}/\1/' pyproject.toml %build %pyproject_wheel