## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 srcname msal-extensions %global forgeurl https://github.com/AzureAD/microsoft-authentication-extensions-for-python/ Version: 1.0.0 %global tag %{version} %forgemeta Name: python-%{srcname} Release: %autorelease Summary: Microsoft Authentication extensions for MSAL Python License: MIT URL: %forgeurl Source0: %forgesource BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: The Microsoft Authentication Extensions for Python offers secure mechanisms for client applications to perform cross-platform token cache serialization and persistence. It gives additional support to the Microsoft Authentication Library for Python (MSAL). MSAL Python supports an in-memory cache by default and provides the SerializableTokenCache to perform cache serialization. You can read more about this in the MSAL Python documentation. Developers are required to implement their own cache persistance across multiple platforms and Microsoft Authentication Extensions makes this simpler.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{_description} %prep %forgeautosetup -p1 # Remove DOS line endings sed "s|\r||g" README.md >README.md.new && \ touch -r README.md README.md.new && \ mv README.md.new README.md %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files msal_extensions %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md %changelog * Fri Jan 20 2023 Fedora Release Engineering 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Python Maint 1.0.0-2 - Rebuilt for Python 3.11 * Tue Apr 26 2022 Major Hayden 1.0.0-1 - Update to 1.0.0 * Fri Jan 21 2022 Fedora Release Engineering 0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jan 04 2022 Major Hayden 0.3.1-1 - Update to 0.3.1 * Fri Jul 23 2021 Fedora Release Engineering 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint 0.3.0-2 - Rebuilt for Python 3.10 * Mon Feb 15 2021 Mohamed El Morabity 0.3.0-1 - Update to 0.3.0 * Wed Jan 27 2021 Fedora Release Engineering 0.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering 0.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 01 2020 Mohamed El Morabity 0.2.2-1 - First import