Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-shodan for openSUSE:Factory 
checked in at 2025-06-16 11:13:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-shodan (Old)
 and      /work/SRC/openSUSE:Factory/.python-shodan.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-shodan"

Mon Jun 16 11:13:10 2025 rev:34 rq:1285967 version:1.31.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-shodan/python-shodan.changes      
2025-05-20 22:46:30.382412099 +0200
+++ /work/SRC/openSUSE:Factory/.python-shodan.new.19631/python-shodan.changes   
2025-06-16 11:13:22.445513482 +0200
@@ -1,0 +2,6 @@
+Mon Jun 16 06:16:48 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Switch to pyroject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-shodan.spec ++++++
--- /var/tmp/diff_new_pack.nabvUf/_old  2025-06-16 11:13:23.013536953 +0200
+++ /var/tmp/diff_new_pack.nabvUf/_new  2025-06-16 11:13:23.013536953 +0200
@@ -16,19 +16,19 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %{!?license: %global license %doc}
 Name:           python-shodan
 Version:        1.31.0
 Release:        0
 Summary:        Python library and command-line utility for Shodan
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://github.com/achillean/shodan-python/
 Source:         
https://files.pythonhosted.org/packages/source/s/shodan/shodan-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM remove-click-plugins.patch -- remove dependency to 
unmaintained click-plugins
 Patch0:         
https://github.com/achillean/shodan-python/pull/236.patch#/remove-click-plugins.patch
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-Sphinx
@@ -36,7 +36,6 @@
 Requires:       python-click
 Requires:       python-colorama
 Requires:       python-requests >= 2.2.1
-Requires:       python-setuptools
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 Recommends:     python-curses
@@ -60,7 +59,7 @@
 sed -i '1s/^#!.*//' shodan/cli/worldmap.py
 
 %build
-%python_build
+%pyproject_wheel
 pushd docs
 %make_build html
 rm -r _build/html/.buildinfo _build/html/_sources/
@@ -68,7 +67,7 @@
 popd
 
 %install
-%python_install
+%pyproject_install
 install -Dm 644 docs/_build/man/shodan-python.1 
%{buildroot}%{_mandir}/man1/shodan.1
 %python_clone -a %{buildroot}%{_bindir}/shodan
 %python_clone -a %{buildroot}%{_mandir}/man1/shodan.1
@@ -89,7 +88,8 @@
 %doc AUTHORS README.rst
 %license LICENSE
 %python_alternative %{_bindir}/shodan
-%{python_sitelib}/*
+%{python_sitelib}/shodan
+%{python_sitelib}/shodan-%{version}.dist-info
 %python_alternative %{_mandir}/man1/shodan.1%{ext_man}
 
 %files -n %{name}-doc

Reply via email to