- Add a rpmlintrc file to ignore warning about an empty file in the examples of the documentation

- update to version 2.4.138:
 - Changes
   - Bump version. [Raphaël Vinot]
   - Bump deps. [Raphaël Vinot]
- update to version 2.4.137.4:
 - Changes
   - Bump changelog. [Raphaël Vinot]
   - Bump version. [Raphaël Vinot]
   - Bump objects. [Raphaël Vinot]
   - Add kw_params to tags. [Raphaël Vinot]
   - Bump objects. [Raphaël Vinot]
   - Bump template ID in test case. [Raphaël Vinot]
- update to version 2.4.137.3:
 - Changes
   - Bump version. [Raphaël Vinot]
   - Bump changelog. [Raphaël Vinot]
   - Bump objects. [Raphaël Vinot]
   - Fix and improve optional dependencies. [Raphaël Vinot]
   - Make brotli optional. [Raphaël Vinot]
- update to version 2.4.137.2:
 - New
   - Add in ability to create/update/delete MISP Event Reports. [Tom King]
   - Hard delete flag for objects. [Raphaël Vinot]
   - Fail if a duplicate object is added to an event. [Raphaël Vinot]
   - Support brotli compression. [Jakub Onderka]
   - Hard delete flag for objects. [Raphaël Vinot]
   - Fail if a duplicate object is added to an event. [Raphaël Vinot]
   - Add in ability to create/update/delete MISP Event Reports. [Tom King]
   - Add in ability to create/update/delete MISP Event Reports. [Tom King]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymisp?expand=0&rev=77
This commit is contained in:
2021-02-20 14:22:05 +00:00
committed by Git OBS Bridge
parent c18dc1d220
commit aa5dae7797
7 changed files with 250 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pymisp
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,9 +18,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define misp_objects_revision c234a4b36dac02f4a6b0b800cf90b5bce404a474
%define misp_objects_revision 2b1c3532dccad651f960ff71defdbc422c40ef0c
Name: python-pymisp
Version: 2.4.135.3
Version: 2.4.138
Release: 0
Summary: Python API for MISP
License: BSD-2-Clause
@@ -37,17 +37,23 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-jsonschema
Requires: python-oletools
Requires: python-python-dateutil
Requires: python-requests
Recommends: python-extract-msg >= 0.28.0
Recommends: %{name}-doc
Recommends: python-magic
Recommends: python-reportlab
Suggests: python-pydeep
BuildArch: noarch
# SECTION tests
BuildRequires: %{python_module Deprecated}
BuildRequires: %{python_module jsonschema}
BuildRequires: %{python_module oletools}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module python-magic}
BuildRequires: %{python_module reportlab}
BuildRequires: %{python_module requests-mock}
BuildRequires: %{python_module requests}
# /SECTION
@@ -92,7 +98,9 @@ popd
%check
export LANG=en_US.UTF-8
%python_exec setup.py test
# requires optional dependencies which we don't have (extract_msg, RTFDE etc.)
rm tests/test_emailobject.py
%pytest
%files %{python_files}
%doc README.md