1
0

2 Commits

2 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 2 15:02:50 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 18 01:28:58 UTC 2020 - John Vandenberg <jayvdb@gmail.com> Wed Nov 18 01:28:58 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-openidc-client # spec file for package python-openidc-client
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,6 @@
# #
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-openidc-client Name: python-openidc-client
Version: 0.6.0 Version: 0.6.0
Release: 0 Release: 0
@@ -26,9 +24,11 @@ License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/puiterwijk/python-openidc-client URL: https://github.com/puiterwijk/python-openidc-client
Source0: https://github.com/puiterwijk/python-openidc-client/archive/v%{version}.tar.gz Source0: https://github.com/puiterwijk/python-openidc-client/archive/v%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-requests Requires: python-requests
@@ -42,10 +42,10 @@ Python client for OpenID including token caching and management.
%setup -q -n python-openidc-client-%{version} %setup -q -n python-openidc-client-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -54,6 +54,7 @@ Python client for OpenID including token caching and management.
%files %{python_files} %files %{python_files}
%license COPYING %license COPYING
%doc README.md %doc README.md
%{python_sitelib}/* %{python_sitelib}/openidc[-_]client
%{python_sitelib}/openidc[-_]client-%{version}*-info
%changelog %changelog