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>

View File

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