## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global commit 0e2ed814497fd850a76c875123a0b0cdfd12ee70 %global shortcommit %{sub %{commit} 1 7} Name: python-openidc-client Version: 0.6.0^1.%{shortcommit} Release: %autorelease Summary: Python OpenID Connect client with token caching and management License: MIT URL: https://github.com/puiterwijk/python-openidc-client Source: %{url}/archive/%{commit}/python-openidc-client-%{shortcommit}.tar.gz # https://github.com/puiterwijk/python-openidc-client/pull/10 # Fully fix support for server not sending refresh token Patch: 0001-feat-really-support-not-receiving-refresh-token.patch BuildArch: noarch %description %{summary}. %package -n python3-openidc-client Summary: %{summary} BuildRequires: python3-devel %description -n python3-openidc-client %{summary}. %prep %autosetup -p 1 -n python-openidc-client-%{commit} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l openidc_client %check %{py3_test_envvars} %{python3} -m unittest -v tests.test_openidcclient %files -n python3-openidc-client -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Fri Jan 03 2025 Carl George - 0.6.0^1.0e2ed81-2 - Convert to pyproject macros * Fri Jan 03 2025 Carl George - 0.6.0^1.0e2ed81-1 - Update version to comply with snapshot guidelines * Fri Jul 19 2024 Fedora Release Engineering - 0.6.0-24.20220119git0e2ed81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.6.0-23.20220119git0e2ed81 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.6.0-22.20220119git0e2ed81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.6.0-21.20220119git0e2ed81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.6.0-20.20220119git0e2ed81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.6.0-19.20220119git0e2ed81 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.6.0-18.20220119git0e2ed81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.6.0-17.20220119git0e2ed81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 16 2022 Adam Williamson - 0.6.0-16.20220119git0e2ed81 - Update to newer git snapshot with fix for not receiving refresh token - Backport PR #10 to completely fix not receiving refresh token * Mon Jun 13 2022 Python Maint - 0.6.0-15.20180605gitcd8d91c - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.6.0-14.20180605gitcd8d91c - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.6.0-13.20180605gitcd8d91c - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 03 2021 Python Maint - 0.6.0-12.20180605gitcd8d91c - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.6.0-11.20180605gitcd8d91c - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.6.0-10.20180605gitcd8d91c - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat May 23 2020 Miro Hrončok - 0.6.0-9.20180605gitcd8d91c - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.6.0-8.20180605gitcd8d91c - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Sep 09 2019 Miro Hrončok - 0.6.0-7.20180605gitcd8d91c - Subpackage python2-openidc-client has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Fri Aug 16 2019 Miro Hrončok - 0.6.0-6.20180605gitcd8d91c - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.6.0-5.20180605gitcd8d91c - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.6.0-4.20180605gitcd8d91c - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.6.0-3.20180605gitcd8d91c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 17 2018 Miro Hrončok - 0.6.0-2.20180605gitcd8d91c - Rebuilt for Python 3.7 * Tue Jun 05 2018 Patrick Uiterwijk - 0.6.0-1.20180605gitcd8d91c - Rebase to 0.6.0 * Sat Mar 24 2018 Patrick Uiterwijk - 0.5.0-1.20180324git188c560 - Fixes python3 compatibility - Rebase to 0.5.0 * Fri Feb 09 2018 Fedora Release Engineering - 0.4.0-2.20171113git54dee6e - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Nov 13 2017 Mohan Boddu - 0.4.0-1.20171113git54dee6e - Add Requests AuthBase wrapper - Allow specifying to not get new tokens in auther * Thu Jul 27 2017 Fedora Release Engineering - 0-4.20170523git77cb3ee - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue May 23 2017 Mohan Boddu - 0-3.20170523git77cb3ee - Following the upstream release numbers - Allow providing HTTP method - Make refresh_token also update the cache * Mon Mar 27 2017 Mohan Boddu - 0-3.20170327git5456800 - Changed the version number to use date - Using package name in URL * Fri Mar 24 2017 Mohan Boddu - 0-2.git5456800 - Skip tests on setup.py install - Adding Requires on python{2,3}-requests - Adding %py{2,3}_build macros - Adding %py{2,3}_install macros * Mon Mar 20 2017 Mohan Boddu - 0-1 - Initial packaging of python-openidc-client ## END: Generated by rpmautospec