Compare commits

..

No commits in common. 'c9' and 'c10-beta' have entirely different histories.
c9 ... c10-beta

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

Loading…
Cancel
Save