14
0

- Enable tests

- Clean up the spec file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-keycloak?expand=0&rev=2
This commit is contained in:
2022-04-30 09:26:48 +00:00
committed by Git OBS Bridge
parent 0439ca0e74
commit 6f10a137b2
2 changed files with 19 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Apr 30 09:26:19 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Enable tests
- Clean up the spec file
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 21 12:50:55 UTC 2022 - Michael Ströder <michael@stroeder.com> Thu Apr 21 12:50:55 UTC 2022 - Michael Ströder <michael@stroeder.com>

View File

@@ -1,5 +1,5 @@
# #
# spec file for package python-python-keycloak # spec file
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
@@ -28,7 +28,11 @@ Group: Development/Languages/Python
URL: https://github.com/marcospereirampj/python-keycloak URL: https://github.com/marcospereirampj/python-keycloak
Source: https://files.pythonhosted.org/packages/source/p/python-keycloak/%{modname}-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/python-keycloak/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module base} BuildRequires: %{python_module base}
BuildRequires: %{python_module httmock}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module python-jose}
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-python-jose >= 1.4.0 Requires: python-python-jose >= 1.4.0
@@ -41,18 +45,22 @@ BuildArch: noarch
Python package providing access to the Keycloak API Python package providing access to the Keycloak API
%prep %prep
%setup -q -n %{modname}-%{version} %autosetup -p1 -n %{modname}-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%fdupes %{buildroot} %fdupes %{buildroot}
%check
%pyunittest discover -v
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/keycloak
%{python_sitelib}/python_keycloak-%{version}*-info
%changelog %changelog