forked from pool/python-pymisp
- update to version 2.4.170.1:
- Changes
- Disable fail fast in GHA.
- Fix
- Update lief code to v0.13.
- update to version 2.4.170:
- Changes
- Other
- Add: support breakOnDuplicate option for attributes:add()
- Update reportlab_generator.py.
- update to version 2.4.169.3:
- Changes
- Fix
- Invalid check if taxo is enabled.
- update to version 2.4.169.2:
- Changes
- Include event reports by default in feed.
- Fix
- Use proper parameter to trigger the request in search_galaxy_clusters.
- Use POST in search galaxy cluster.
- Other
- Rename include_event_reports kwarg to with_event_reports, in-line with
other kwarg naming.
- Add kwarg to allow the inclusion of event reports into to_feed(),
honour with_distribution and valid_distributions kwargs.
- update to version 2.4.169.1:
- Changes
- Add greynoise-ip object.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymisp?expand=0&rev=107
10 lines
501 B
Bash
10 lines
501 B
Bash
#!/bin/bash
|
|
|
|
version=$(awk '/^Version:/ {print $2}' python-pymisp.spec)
|
|
echo "Detected version $version"
|
|
revision=$(wget "https://github.com/MISP/PyMISP/tree/v$version/pymisp/data" -O - | awk '/\/MISP\/misp-objects\/tree\//' | grep -Eo 'misp-objects/tree/[[:alnum:]]{40}' | egrep -Eo "[[:alnum:]]{40}")
|
|
echo "Detected revision $revision"
|
|
sed -i "s/^\%define misp_objects_revision.*$/%define misp_objects_revision $revision/" python-pymisp.spec
|
|
rm misp-objects.tar.gz
|
|
osc service runall download_files
|