72 lines
2.5 KiB
Diff
72 lines
2.5 KiB
Diff
From 0a238d24c721fcc8b009367283b1ffaa77a9abe2 Mon Sep 17 00:00:00 2001
|
|
From: Lukas Slebodnik <lslebodn@redhat.com>
|
|
Date: Tue, 10 Feb 2015 16:33:04 +0100
|
|
Subject: [PATCH 94/99] SPEC: Use new convention for python packages
|
|
|
|
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
|
|
---
|
|
contrib/sssd.spec.in | 20 ++++++++++++--------
|
|
1 file changed, 12 insertions(+), 8 deletions(-)
|
|
|
|
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
|
|
index 35de4449318a763358265c25518e00b34c07da10..ce9291d65411e1ab8db6e4d33afb8f862de0020d 100644
|
|
--- a/contrib/sssd.spec.in
|
|
+++ b/contrib/sssd.spec.in
|
|
@@ -339,14 +339,16 @@ Requires: libipa_hbac = %{version}-%{release}
|
|
%description -n libipa_hbac-devel
|
|
Utility library to validate FreeIPA HBAC rules for authorization requests
|
|
|
|
-%package -n libipa_hbac-python
|
|
+%package -n python-libipa_hbac
|
|
Summary: Python bindings for the FreeIPA HBAC Evaluator library
|
|
Group: Development/Libraries
|
|
License: LGPLv3+
|
|
Requires: libipa_hbac = %{version}-%{release}
|
|
+Provides: libipa_hbac-python = %{version}-%{release}
|
|
+Obsoletes: libipa_hbac-python < 1.12.90
|
|
|
|
-%description -n libipa_hbac-python
|
|
-The libipa_hbac-python contains the bindings so that libipa_hbac can be
|
|
+%description -n python-libipa_hbac
|
|
+The python-libipa_hbac contains the bindings so that libipa_hbac can be
|
|
used by Python applications.
|
|
|
|
%package -n libsss_nss_idmap
|
|
@@ -368,14 +370,16 @@ Requires: libsss_nss_idmap = %{version}-%{release}
|
|
%description -n libsss_nss_idmap-devel
|
|
Utility library for SID based lookups
|
|
|
|
-%package -n libsss_nss_idmap-python
|
|
+%package -n python-libsss_nss_idmap
|
|
Summary: Python bindings for libsss_nss_idmap
|
|
Group: Development/Libraries
|
|
License: LGPLv3+
|
|
Requires: libsss_nss_idmap = %{version}-%{release}
|
|
+Provides: libsss_nss_idmap-python = %{version}-%{release}
|
|
+Obsoletes: libsss_nss_idmap-python < 1.12.90
|
|
|
|
-%description -n libsss_nss_idmap-python
|
|
-The libsss_nss_idmap-python contains the bindings so that libsss_nss_idmap can
|
|
+%description -n python-libsss_nss_idmap
|
|
+The python-libsss_nss_idmap contains the bindings so that libsss_nss_idmap can
|
|
be used by Python applications.
|
|
|
|
%package dbus
|
|
@@ -787,11 +791,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_libdir}/libsss_nss_idmap.so
|
|
%{_libdir}/pkgconfig/sss_nss_idmap.pc
|
|
|
|
-%files -n libsss_nss_idmap-python
|
|
+%files -n python-libsss_nss_idmap
|
|
%defattr(-,root,root,-)
|
|
%{python_sitearch}/pysss_nss_idmap.so
|
|
|
|
-%files -n libipa_hbac-python
|
|
+%files -n python-libipa_hbac
|
|
%defattr(-,root,root,-)
|
|
%{python_sitearch}/pyhbac.so
|
|
|
|
--
|
|
2.4.0
|
|
|