14
0
forked from pool/python-shodan
Sebastian Wagner
2017-08-03 08:15:46 +00:00
committed by Git OBS Bridge
parent 70f63a0ac6
commit ca68dd9a19
2 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 3 08:15:34 UTC 2017 - sebix+novell.com@sebix.at
- fix build for leap
-------------------------------------------------------------------
Wed Jul 19 19:08:48 UTC 2017 - sebix+novell.com@sebix.at

View File

@@ -13,6 +13,7 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -20,20 +21,20 @@
Name: python-shodan
Version: 1.7.4
Release: 0
License: MIT
Summary: Python library and command-line utility for Shodan
Url: http://github.com/achillean/shodan-python/
License: MIT
Group: Development/Languages/Python
Url: http://github.com/achillean/shodan-python/
Source: https://files.pythonhosted.org/packages/source/s/shodan/shodan-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
Requires: python-XlsxWriter
Requires: python-click
Requires: python-click-plugins
Requires: python-colorama
Requires: python-requests >= 2.2.1
Requires: python-XlsxWriter
Recommends: python-curses
Suggests: %{name}-doc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -44,7 +45,7 @@ BuildArch: noarch
%package -n %{name}-doc
Summary: Documentation files for %name
Group: Documentation/HTML
Provides: %{python_module shodan-doc}
Provides: %{python_module shodan-doc = %{version}}
%description
Shodan is a search engine for Internet-connected devices. Google lets you search for websites, Shodan lets you search for devices. This library provides developers easy access to all of the data stored in Shodan in order to automate tasks and integrate into existing tools.