Remove keycloak-httpd-client-install subpackage

This commit is contained in:
jpzhang 2020-09-11 19:52:18 +08:00
parent 0c792f1448
commit 85d57671f0

View File

@ -1,12 +1,12 @@
Name: keycloak-httpd-client-install
Version: 0.8
Release: 8
Release: 9
Summary: Provides tools to configure Apache HTTPD as Keycloak client
License: GPLv3
URL: https://github.com/jdennis/keycloak-httpd-client-install
Source0: https://github.com/jdennis/keycloak-httpd-client-install/releases/download/RELEASE_0_8/keycloak-httpd-client-install-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel python3-devel
BuildRequires: python3-devel
%description
Keycloak is a federated Identity Provider (IdP) that supports a
@ -14,17 +14,6 @@ variety of authentication protocols. Apache HTTPD supports a variety
of authentication modules which have the capability of connecting to
a Keycloak IdP instance to perform authentication.
%package -n python2-keycloak-httpd-client-install
Summary: Provides tools to configure Apache HTTPD as Keycloak client
Requires: keycloak-httpd-client-install = %{version}-%{release}
Requires: python2-jinja2 python2-requests python2-requests-oauthlib
%description -n python2-keycloak-httpd-client-install
Keycloak is a federated Identity Provider (IdP) that supports a
variety of authentication protocols. Apache HTTPD supports a variety
of authentication modules which have the capability of connecting to
a Keycloak IdP instance to perform authentication.
%package -n python3-keycloak-httpd-client-install
Summary: Provides tools to configure Apache HTTPD as Keycloak client
Requires: keycloak-httpd-client-install = %{version}-%{release}
@ -47,11 +36,9 @@ and python3-keycloak-httpd-client-install.
%autosetup -n keycloak-httpd-client-install-%{version} -p1
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
mkdir -p -m 755 %{buildroot}/%{_mandir}/man8
@ -62,8 +49,6 @@ chmod 644 %{buildroot}/%{_mandir}/man8/keycloak-httpd-client-install.8
%license LICENSE.txt
%{_datadir}/keycloak-httpd-client-install/
%files -n python2-keycloak-httpd-client-install
%{python2_sitelib}/*
%files -n python3-keycloak-httpd-client-install
%{python3_sitelib}/*
@ -74,5 +59,8 @@ chmod 644 %{buildroot}/%{_mandir}/man8/keycloak-httpd-client-install.8
%doc README.md doc/ChangeLog
%changelog
* Fri Sep 11 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 0.8-9
- Remove python2-keycloak-httpd-client-install subpackage
* Wed Apr 15 2020 sunguoshuai <sunguoshuai@huawei.com> - 0.8-8
- Package init