public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/keycloak-httpd-client-install] rawhide: Rebase to 1.4 release
@ 2026-11-18 13:28 Tomas Halman
0 siblings, 0 replies; only message in thread
From: Tomas Halman @ 2026-11-18 13:28 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/keycloak-httpd-client-install
Branch : rawhide
Commit : 41a1ca76d7fe380129bb351baf0c63d2a7b802eb
Author : Tomas Halman <thalman@redhat.com>
Date : 2026-11-16T16:29:52+01:00
Stats : +11/-81 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/keycloak-httpd-client-install/c/41a1ca76d7fe380129bb351baf0c63d2a7b802eb?branch=rawhide
Log:
Rebase to 1.4 release
---
diff --git a/.gitignore b/.gitignore
index 7c8cc03..575e2ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/keycloak-httpd-client-install-0.8.tar.gz
/RELEASE_1_1.tar.gz
/keycloak-httpd-client-install-1.3.tar.gz
+/keycloak-httpd-client-install-1.4.tar.gz
diff --git a/keycloak-httpd-client-install.spec b/keycloak-httpd-client-install.spec
index 91c3e62..2fd0ae3 100644
--- a/keycloak-httpd-client-install.spec
+++ b/keycloak-httpd-client-install.spec
@@ -1,18 +1,8 @@
%global srcname keycloak-httpd-client-install
%global summary Tools to configure Apache HTTPD as Keycloak client
-%if (0%{?fedora} > 0 && 0%{?fedora} < 30) || (0%{?rhel} > 0 && 0%{?rhel} <= 7)
- %bcond_without python2
- %bcond_without python3
-%endif
-
-%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
- %bcond_with python2
- %bcond_without python3
-%endif
-
Name: %{srcname}
-Version: 1.3
+Version: 1.4
Release: %autorelease
Summary: %{summary}
@@ -21,15 +11,13 @@ URL: https://github.com/latchset/keycloak-httpd-client-install
Source0: https://github.com/latchset/keycloak-httpd-client-install/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
-%if %{with python2}
-BuildRequires: python2-devel
-%endif
-# ^^^ with_python2
-
-%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: (python3-setuptools if python3-devel >= 3.12)
-%endif
+# runtime deps for import check
+BuildRequires: python3-requests
+BuildRequires: python3-requests-oauthlib
+BuildRequires: python3-jinja2
+BuildRequires: python3-lxml
Requires: %{_bindir}/keycloak-httpd-client-install
@@ -41,26 +29,6 @@ libraries and tools which can automate and simplify configuring an
Apache HTTPD authentication module and registering as a client of a
Keycloak IdP.
-%if %{with python2}
-%package -n python2-%{srcname}
-Summary: %{summary}
-
-%{?python_provide:%python_provide python2-%{srcname}}
-
-Requires: %{name} = %{version}-%{release}
-Requires: python2-requests
-Requires: python2-requests-oauthlib
-Requires: python2-jinja2
-Requires: %{_bindir}/keycloak-httpd-client-install
-
-%description -n python2-%{srcname}
-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
-
-%if 0%{?with_python3}
%package -n python3-%{srcname}
Summary: %{summary}
@@ -77,41 +45,17 @@ 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
-
%prep
%autosetup -n %{name}-%{version} -p1
%build
-%if %{with python2}
-%py2_build
-%endif
-# ^^^ with_python2
-
-%if 0%{?with_python3}
%py3_build
-%endif
%install
-%if %{with python2}
-# Must do the python2 install first because the scripts in /usr/bin are
-# overwritten with every setup.py install, and in general we want the
-# python3 version to be the default.
-%py2_install
-%endif
-# ^^^ with_python2
-
-%if 0%{?with_python3}
-# py3_install won't overwrite files if they have a timestamp greater-than
-# or equal to the py2 installed files. If both the py2 and py3 builds execute
-# quickly the files end up with the same timestamps thus leaving the py2
-# 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
%py3_install
-%endif
+
+%check
+%py3_check_import keycloak_httpd_client
install -d -m 755 %{buildroot}/%{_mandir}/man8
install -c -m 644 doc/keycloak-httpd-client-install.8 %{buildroot}/%{_mandir}/man8
@@ -121,26 +65,11 @@ install -c -m 644 doc/keycloak-httpd-client-install.8 %{buildroot}/%{_mandir}/ma
%doc README.md doc/ChangeLog
%{_datadir}/%{srcname}/
-%if %{with python2}
-# Note that there is no %%files section for the unversioned python module if we are building for several python runtimes
-%files -n python2-%{srcname}
-%{python2_sitelib}/*
-
-%if ! 0%{?with_python3}
-%{_bindir}/keycloak-httpd-client-install
-%{_bindir}/keycloak-rest
-%{_mandir}/man8/*
-%endif
-%endif
-# ^^^ with_python2
-
-%if 0%{?with_python3}
%files -n python3-%{srcname}
%{python3_sitelib}/*
%{_bindir}/keycloak-httpd-client-install
%{_bindir}/keycloak-rest
%{_mandir}/man8/*
-%endif
%changelog
%autochangelog
diff --git a/sources b/sources
index 6846279..7e413c7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (keycloak-httpd-client-install-1.3.tar.gz) = 3bb301e71a6500f1bcde3507d3fdbde3ac98c9381bd67b8f1efa50ced2bfe27c7c994d1a08592812d2ea33ef4f96a30edf1e0a035574d5dcf5c395fdb04b78f6
+SHA512 (keycloak-httpd-client-install-1.4.tar.gz) = 227df243a804f4bc7b0ef0ae696d31b97d251b01d5ba3b9a6ab086be0252f526e72c3524ed428dd8b74af6dbeb43591d2da19ace2a5e1f04823c53ef3fdf5676
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-18 13:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18 13:28 [rpms/keycloak-httpd-client-install] rawhide: Rebase to 1.4 release Tomas Halman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox