| |
@@ -1,72 +1,70 @@
|
| |
- %global srcname flask_oidc
|
| |
- %global tar_name flask-oidc
|
| |
- %global sum An openID Connect support for Flask
|
| |
+ %global project_name flask-oidc
|
| |
+ %global mod_name flask_oidc
|
| |
|
| |
- Name: python-%{tar_name}
|
| |
- Version: 1.5.0
|
| |
- Release: 5%{?dist}
|
| |
- Summary: %{sum}
|
| |
+ Name: python-%{project_name}
|
| |
+ Version: 2.0.1
|
| |
+ Release: 1%{?dist}
|
| |
+ Summary: OpenID Connect extension for Flask
|
| |
|
| |
License: BSD-2-Clause
|
| |
URL: https://github.com/fedora-infra/flask-oidc
|
| |
- Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
| |
+ Source0: %pypi_source %{mod_name}
|
| |
|
| |
BuildArch: noarch
|
| |
+ BuildRequires: python3-devel
|
| |
+ BuildRequires: poetry
|
| |
+ BuildRequires: python3-pytest
|
| |
+ BuildRequires: python3-pytest-cov
|
| |
+ BuildRequires: python3-responses
|
| |
|
| |
- %description
|
| |
+ %global _description %{expand:
|
| |
OpenID Connect support for Flask.
|
| |
This library should work with any standards compliant
|
| |
- OpenID Connect provider. It has been tested with:
|
| |
- Google+ Login, Ipsilon
|
| |
-
|
| |
- %package -n python3-%{tar_name}
|
| |
- Summary: %{sum}
|
| |
-
|
| |
- Requires: python3-setuptools
|
| |
- Requires: python3-flask
|
| |
- Requires: python3-itsdangerous
|
| |
- Requires: python3-oauth2client
|
| |
- Requires: python3-six
|
| |
- BuildRequires: python3-pip
|
| |
- BuildRequires: python3-jwt
|
| |
- BuildRequires: python3-wheel
|
| |
- BuildRequires: python3-flask
|
| |
- BuildRequires: python3-itsdangerous
|
| |
- BuildRequires: python3-oauth2client
|
| |
- BuildRequires: python3-six
|
| |
- BuildRequires: python3-devel
|
| |
- BuildRequires: python3-setuptools
|
| |
- BuildRequires: python3-nose
|
| |
- BuildRequires: python3-mock
|
| |
-
|
| |
-
|
| |
- %{?python_provide:%python_provide python3-%{tar_name}}
|
| |
-
|
| |
- %description -n python3-%{tar_name}
|
| |
- Currently designed around Google’s oauth2client library and OpenID Connect
|
| |
- implementation. May or may not interoperate with other OpenID Connect
|
| |
- identity providers, for example, Microsoft’s Azure Active Directory
|
| |
+ OpenID Connect provider. It has been tested with
|
| |
+ Ipsilon.}
|
| |
+
|
| |
+ %description %_description
|
| |
+
|
| |
+ %package -n python3-%{project_name}
|
| |
+ Summary: %{summary}
|
| |
+
|
| |
+ %description -n python3-%{project_name} %_description
|
| |
+
|
| |
|
| |
%prep
|
| |
- %autosetup -n %{tar_name}-%{version}
|
| |
+ %autosetup -p1 -n %{mod_name}-%{version}
|
| |
+
|
| |
+
|
| |
+ %generate_buildrequires
|
| |
+ %pyproject_buildrequires -t
|
| |
+
|
| |
|
| |
%build
|
| |
- %py3_build
|
| |
+ %pyproject_wheel
|
| |
|
| |
%install
|
| |
- %py3_install
|
| |
+ %pyproject_install
|
| |
+ %pyproject_save_files %{mod_name}
|
| |
|
| |
%check
|
| |
- %{__python3} setup.py test
|
| |
+ %pytest --cov %{mod_name} tests
|
| |
|
| |
- %files -n python3-%{tar_name}
|
| |
+ %files -n python3-%{project_name} -f %{pyproject_files}
|
| |
%doc README.rst
|
| |
%license LICENSE.txt
|
| |
- %{python3_sitelib}/%{srcname}/
|
| |
- %{python3_sitelib}/*.egg-info/
|
| |
- %{_bindir}/oidc-register
|
| |
+
|
| |
|
| |
%changelog
|
| |
+ * Tue Aug 22 2023 Packit <hello@packit.dev> - 2.0.1-1
|
| |
+ - Version 2.0.1 (Aurélien Bompard)
|
| |
+ - Add the extlinks extension to sphinx (Aurélien Bompard)
|
| |
+ - Disable user info collection if the `client_secrets` don't contain the URL (Aurélien Bompard)
|
| |
+ - Fix README (Aurélien Bompard)
|
| |
+ - Add test status in README (Aurélien Bompard)
|
| |
+ - Add Packit config (Aurélien Bompard)
|
| |
+ - Handle older versions of Werkzeug (Aurélien Bompard)
|
| |
+ - Some doc fixes (Aurélien Bompard)
|
| |
+
|
| |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-5
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
| |
|
| |
Upstream tag: 2.0.1
Upstream commit: 06f45c0c
If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):