|
|
|
@ -13,12 +13,12 @@
|
|
|
|
|
|
|
|
|
|
Name: %{srcname}
|
|
|
|
|
Version: 1.1
|
|
|
|
|
Release: 22%{?dist}
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
|
|
%global git_tag RELEASE_%(r=%{version}; echo $r | tr '.' '_')
|
|
|
|
|
|
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
|
License: GPLv3
|
|
|
|
|
URL: https://github.com/jdennis/keycloak-httpd-client-install
|
|
|
|
|
Source0: https://github.com/jdennis/keycloak-httpd-client-install/archive/%{git_tag}.tar.gz
|
|
|
|
|
|
|
|
|
@ -26,12 +26,10 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
%endif
|
|
|
|
|
# ^^^ with_python2
|
|
|
|
|
%endif # with_python2
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: (python3-setuptools if python3-devel >= 3.12)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Requires: %{_bindir}/keycloak-httpd-client-install
|
|
|
|
@ -60,8 +58,7 @@ Requires: %{_bindir}/keycloak-httpd-client-install
|
|
|
|
|
Keycloak is an authentication server. This package contains libraries and
|
|
|
|
|
programs which can invoke the Keycloak REST API and configure clients
|
|
|
|
|
of a Keycloak server.
|
|
|
|
|
%endif
|
|
|
|
|
# ^^^ with_python2
|
|
|
|
|
%endif # with_python2
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%package -n python3-%{srcname}
|
|
|
|
@ -73,7 +70,6 @@ Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: python3-requests
|
|
|
|
|
Requires: python3-requests-oauthlib
|
|
|
|
|
Requires: python3-jinja2
|
|
|
|
|
Requires: python3-lxml
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{srcname}
|
|
|
|
|
Keycloak is an authentication server. This package contains libraries and
|
|
|
|
@ -88,8 +84,7 @@ of a Keycloak server.
|
|
|
|
|
%build
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
%py2_build
|
|
|
|
|
%endif
|
|
|
|
|
# ^^^ with_python2
|
|
|
|
|
%endif # with_python2
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%py3_build
|
|
|
|
@ -101,8 +96,7 @@ of a Keycloak server.
|
|
|
|
|
# overwritten with every setup.py install, and in general we want the
|
|
|
|
|
# python3 version to be the default.
|
|
|
|
|
%py2_install
|
|
|
|
|
%endif
|
|
|
|
|
# ^^^ with_python2
|
|
|
|
|
%endif # with_python2
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
# py3_install won't overwrite files if they have a timestamp greater-than
|
|
|
|
@ -111,8 +105,7 @@ of a Keycloak server.
|
|
|
|
|
# version in the py3 install. Therefore remove any files susceptible to this.
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
rm %{buildroot}%{_bindir}/keycloak-httpd-client-install
|
|
|
|
|
%endif
|
|
|
|
|
# ^^^ with_python2
|
|
|
|
|
%endif # with_python2
|
|
|
|
|
%py3_install
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@ -134,8 +127,7 @@ install -c -m 644 doc/keycloak-httpd-client-install.8 %{buildroot}/%{_mandir}/ma
|
|
|
|
|
%{_bindir}/keycloak-rest
|
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
# ^^^ with_python2
|
|
|
|
|
%endif # with_python2
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%files -n python3-%{srcname}
|
|
|
|
@ -146,51 +138,12 @@ install -c -m 644 doc/keycloak-httpd-client-install.8 %{buildroot}/%{_mandir}/ma
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.1-22
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.1-22
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-21
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-20
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Oct 4 2023 Tomas Halman <thalman@redhat.com> - 1.1-19
|
|
|
|
|
- Resolves: rhbz#2115262 keycloak-httpd-client-install missing dependency to python-lxml
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.1-17
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Tue Mar 7 2023 Tomas Halman <thalman@redhat.com> - 1.1-16
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-15
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 4 2023 keycloak-httpd-client-install fails to build with Python 3.12 - 1.1.14
|
|
|
|
|
- Resolves: rhbz#2155009 - keycloak-httpd-client-install fails to build with
|
|
|
|
|
Python 3.12: ModuleNotFoundError: No module named 'distutils'
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1-12
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.1-10
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1-9
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1-9
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|