forked from pool/python-python-keycloak
- 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:
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user