14
0
Tomáš Chvátal
2019-08-12 14:53:06 +00:00
committed by Git OBS Bridge
parent e7703d2ab9
commit 98aaf95f89

View File

@@ -1,6 +1,7 @@
#
# spec file for package python-pyshark
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -12,7 +13,8 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -20,20 +22,20 @@
Name: python-pyshark
Version: 0.4.2.3
Release: 0
License: MIT
Summary: A Python wrapper for tshark output parsing
Url: https://github.com/KimiNewt/pyshark
License: MIT
Group: Development/Languages/Python
URL: https://github.com/KimiNewt/pyshark
#Git-Clone: https://github.com/KimiNewt/pyshark.git
Source: https://github.com/KimiNewt/pyshark/archive/v%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module Logbook}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module py}
BuildRequires: %{python_module pytest}
BuildRequires: wireshark
BuildRequires: %{python_module py}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: wireshark
Requires: python-Logbook
Requires: python-lxml
Requires: python-py
@@ -56,11 +58,12 @@ wireshark dissectors.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest ../tests
%python_expand PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{$python_version} ../tests
%files %{python_files}
%license ../LICENSE.txt
%doc ../README.md
%{python3_sitelib}/*
%{python_sitelib}/*
%changelog