From 1950ea68abcd0e80487ac453eb6ceaf62acc645b3a77f940198aca905e26bbc9 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Wed, 4 Sep 2024 06:36:18 +0000 Subject: [PATCH] - 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 OBS-URL: https://build.opensuse.org/package/show/security:csirt-tooling/python-pymisp?expand=0&rev=5 --- python-pymisp.changes | 6 ++++++ python-pymisp.spec | 2 ++ 2 files changed, 8 insertions(+) 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