diff --git a/pyfxa-0.7.9.tar.gz b/pyfxa-0.7.9.tar.gz deleted file mode 100644 index c16bd3a..0000000 --- a/pyfxa-0.7.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:753b161566aa5fa632a4d273f564a573126560eb2d993bb6660386dd13d2562c -size 43683 diff --git a/pyfxa-0.8.1.tar.gz b/pyfxa-0.8.1.tar.gz new file mode 100644 index 0000000..be49d4b --- /dev/null +++ b/pyfxa-0.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df3c575b314e8d67275fc8404294731a5cd39a75e36639fd8c5f8c76c1ee1a4c +size 39903 diff --git a/python-PyFxA.changes b/python-PyFxA.changes index 78a158f..445ffe9 100644 --- a/python-PyFxA.changes +++ b/python-PyFxA.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Nov 17 15:56:25 UTC 2025 - John Paul Adrian Glaubitz + +- Update to version 0.8.1 + * Fixes issue with BrowserID removal +- from version 0.8.0 + * Remove BrowserID Support +- Add support for libalternatives +- Use Python 3.11 on SLE-15 by default +- Update BuildRequires and Requires from pyproject.toml + ------------------------------------------------------------------- Tue Nov 5 12:22:50 UTC 2024 - pgajdos@suse.com diff --git a/python-PyFxA.spec b/python-PyFxA.spec index 41e1732..d060fa9 100644 --- a/python-PyFxA.spec +++ b/python-PyFxA.spec @@ -16,16 +16,20 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif +%{?sle15_python_module_pythons} Name: python-PyFxA -Version: 0.7.9 +Version: 0.8.1 Release: 0 Summary: Firefox Accounts client library for Python License: MPL-2.0 Group: Development/Languages/Python URL: https://github.com/mozilla/PyFxA Source: https://files.pythonhosted.org/packages/source/P/PyFxA/pyfxa-%{version}.tar.gz -BuildRequires: %{python_module PyBrowserID} BuildRequires: %{python_module PyJWT} BuildRequires: %{python_module cryptography} BuildRequires: %{python_module hatchling} @@ -40,13 +44,17 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-PyBrowserID Requires: python-PyJWT Requires: python-cryptography Requires: python-hawkauthlib Requires: python-requests >= 2.4.2 +%if %{with libalternatives} +Requires: alts +BuildRequires: alts +%else Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives +%endif BuildArch: noarch %python_subpackages @@ -79,11 +87,16 @@ includedTests="\ not test_monkey_patch_for_gevent" %pytest -k "${includedTests}" fxa/tests/ +%if %{with libalternatives} +%pre +%python_libalternatives_reset_alternative fxa-client +%else %post %python_install_alternative fxa-client %postun %python_uninstall_alternative fxa-client +%endif %files %{python_files} %doc CHANGES.txt README.rst