summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openlmi-providers.spec41
1 files changed, 30 insertions, 11 deletions
diff --git a/openlmi-providers.spec b/openlmi-providers.spec
index 168d7ea..92f29f9 100644
--- a/openlmi-providers.spec
+++ b/openlmi-providers.spec
@@ -114,21 +114,31 @@ Requires: util-linux
%description -n openlmi-hardware
%{summary}.
-%package -n openlmi-python
-Summary: Python namespace package for pywbem providers
+%package -n openlmi-python-base
+Summary: Python namespace package for OpenLMI python projects
Requires: %{name} = %{version}-%{release}
-BuildArch: noarch
Requires: python-setuptools
Requires: cmpi-bindings-pywbem
+BuildArch: noarch
-%description -n openlmi-python
-The openlmi-python package contains python namespace package for
-all openlmi python providers using cmpi-bindings-pywbem.
+%description -n openlmi-python-base
+The openlmi-python-base package contains python namespace package
+for all OpenLMI related projects running on python.
+
+%package -n openlmi-python-providers
+Summary: Python namespace package for pywbem providers
+Requires: %{name} = %{version}-%{release}
+Requires: openlmi-python-base = %{version}-%{release}
+BuildArch: noarch
+
+%description -n openlmi-python-providers
+The openlmi-python-providers package contains library with common
+code for implementing CIM providers using cmpi-bindings-pywbem.
%package -n openlmi-software
Summary: CIM providers for software management
Requires: %{name} = %{version}-%{release}
-Requires: openlmi-python = %{version}-%{release}
+Requires: openlmi-python-providers = %{version}-%{release}
Provides: cura-software = %{version}-%{release}
Obsoletes: cura-software < 0.0.10-1
BuildArch: noarch
@@ -314,13 +324,19 @@ mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}
%{_datadir}/%{name}/90_LMI_Hardware_Profile_DMTF.mof
%attr(755, root, root) %{_libexecdir}/pegasus/cmpiLMI_Hardware-cimprovagt
-%files -n openlmi-python
+%files -n openlmi-python-base
%doc README COPYING
%dir %{python_sitelib}/lmi
%{python_sitelib}/lmi-*
-%dir %{python_sitelib}/lmi/common
-%{python_sitelib}/lmi/common/*.py
-%{python_sitelib}/lmi/common/*.py[co]
+%dir %{python_sitelib}/lmi/base
+%{python_sitelib}/lmi/base/*.py
+%{python_sitelib}/lmi/base/*.py[co]
+
+%files -n openlmi-python-providers
+%doc README COPYING
+%dir %{python_sitelib}/lmi/providers
+%{python_sitelib}/lmi/providers/*.py
+%{python_sitelib}/lmi/providers/*.py[co]
%files -n openlmi-software
%doc README COPYING
@@ -717,6 +733,9 @@ if [ "$1" -eq 0 ]; then
fi
%changelog
+* Tue Jul 30 2013 Michal Minar <miminar@redhat.com> 0.0.25-11
+- python subpackage split into python-base and python-providers
+
* Mon Jul 29 2013 Peter Schiffer <pschiffe@redhat.com> 0.0.25-11
- Added hardware profile registration