summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-07-30 15:14:30 +0200
committerMichal Minar <miminar@redhat.com>2013-07-30 15:45:41 +0200
commitf975f3a685ee789ad97adbb7075551cf9cb489b9 (patch)
tree1dd858b1c60598c3060ada500d2764ef5aa02eeb
parent51a2afd99898bb803a245c0b8a1cabeb37697661 (diff)
downloadopenlmi-providers-f975f3a685ee789ad97adbb7075551cf9cb489b9.tar.gz
openlmi-providers-f975f3a685ee789ad97adbb7075551cf9cb489b9.tar.xz
openlmi-providers-f975f3a685ee789ad97adbb7075551cf9cb489b9.zip
spec file updated to split python package
openlmi-python subpackage no longer exists openlmi-python-base and openlmi-python-providers made instead
-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