15
0

- Add *.rpmlintrc to make rpmlint output useful.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nitrokey?expand=0&rev=8
This commit is contained in:
2025-03-28 14:57:38 +00:00
committed by Git OBS Bridge
parent d7980ece36
commit 1667a3dad5
3 changed files with 19 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 28 14:57:14 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Add *.rpmlintrc to make rpmlint output useful.
-------------------------------------------------------------------
Fri Mar 28 08:51:34 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@@ -0,0 +1,2 @@
addFilter("python-bytecode-inconsistent-mtime /usr/lib.*/__pycache__/.*\.pyc")
addFilter("non-executable-script /usr/lib.*/trussed/.*\.py")

View File

@@ -23,13 +23,23 @@ Release: 0
Summary: Nitrokey Python SDK
License: Apache-2.0
URL: https://github.com/Nitrokey/nitrokey-sdk-py
Source: https://files.pythonhosted.org/packages/source/n/nitrokey/nitrokey-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/source/n/nitrokey/nitrokey-%{version}.tar.gz
Source99: python-nitrokey.rpmlintrc
BuildRequires: %{python_module base >= 3.9.2}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-crcmod
Requires: python-cryptography
Requires: python-fido2
Requires: python-hidapi
Requires: python-protobuf
Requires: python-pyserial
Requires: python-requests
Requires: python-semver
Requires: python-tlv8
BuildArch: noarch
%python_subpackages
@@ -48,7 +58,7 @@ The Nitrokey Python SDK can be used to use and configure Nitrokey devices.
%files %{python_files}
%doc README.md
%license LICENSES LICENSES/Apache-2.0.txt LICENSES/MIT.txt
%license LICENSES/Apache-2.0.txt LICENSES/MIT.txt
%{python_sitelib}/nitrokey
%{python_sitelib}/nitrokey-%{version}.dist-info