72 lines
2.5 KiB
Diff
72 lines
2.5 KiB
Diff
From 0bb5eeeedf08dcd6b49e24d3480f2bc5b09c38b0 Mon Sep 17 00:00:00 2001
|
|
From: Lukas Slebodnik <lslebodn@redhat.com>
|
|
Date: Tue, 10 Feb 2015 16:33:04 +0100
|
|
Subject: [PATCH 10/15] 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 bea68f1bbceac232f4ca019111b6262dca3380eb..fc87ff2c9a2012683bb0c989c992b8706851148a 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.1.0
|
|
|