forked from pool/python-fritzconnection
Accepting request 1286226 from devel:languages:python
- Switch to pyproject macros. - No more greedy globs in %files. - Remove unneeded Requires on setuptools. OBS-URL: https://build.opensuse.org/request/show/1286226 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fritzconnection?expand=0&rev=11
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 17 04:15:19 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
- No more greedy globs in %files.
|
||||
- Remove unneeded Requires on setuptools.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 29 21:19:51 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-fritzconnection
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -22,18 +22,18 @@ Version: 1.14.0
|
||||
Release: 0
|
||||
Summary: A Python module to talk to a AVM fritzbox
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/kbr/fritzconnection/
|
||||
Source: https://github.com/kbr/fritzconnection/archive/%{version}.tar.gz#/fritzconnection-%{version}.tar.gz
|
||||
BuildRequires: %{python_module lxml}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-lxml
|
||||
Requires: python-requests
|
||||
Requires: python-setuptools
|
||||
BuildArch: noarch
|
||||
Obsoletes: python310-fritzconnection < 1.9.0
|
||||
Obsoletes: python39-fritzconnection < 1.9.0
|
||||
@@ -50,11 +50,11 @@ and change configuration settings and state.
|
||||
|
||||
%build
|
||||
export LC_ALL=C.utf-8
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
export LC_ALL=C.utf-8
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -75,6 +75,7 @@ rm fritzconnection/tests/test_functional.py
|
||||
%{_bindir}/fritzphonebook
|
||||
%{_bindir}/fritzstatus
|
||||
%{_bindir}/fritzwlan
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/fritzconnection
|
||||
%{python_sitelib}/fritzconnection-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user