diff options
author | Michal Minar <miminar@redhat.com> | 2013-12-17 12:36:28 +0100 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2014-01-06 14:57:27 +0100 |
commit | 3884ebbff4e2592369d6bd8985c6d97cc45c52e4 (patch) | |
tree | c8aca264527d80dd8a2edb326d88a34cab96f5aa | |
parent | 93ff08022f2b1be5cb6afa9b5f199442b66aefd2 (diff) | |
download | openlmi-providers-3884ebbff4e2592369d6bd8985c6d97cc45c52e4.tar.gz openlmi-providers-3884ebbff4e2592369d6bd8985c6d97cc45c52e4.tar.xz openlmi-providers-3884ebbff4e2592369d6bd8985c6d97cc45c52e4.zip |
python: install test utilities in new subpackage
Added openlmi-python-test subpackage with contents taken from
src/python/lmi/test. This allows for testing code charing among verious
openlmi* git repositories.
(cherry picked from commit 88c9ad30d00a1fdfdae892eaef52f1219415ca3e)
Conflicts:
openlmi-providers.spec
-rw-r--r-- | openlmi-providers.spec | 20 | ||||
-rw-r--r-- | src/python/setup.py | 2 |
2 files changed, 21 insertions, 1 deletions
diff --git a/openlmi-providers.spec b/openlmi-providers.spec index 397c67e..e93ec9e 100644 --- a/openlmi-providers.spec +++ b/openlmi-providers.spec @@ -205,6 +205,17 @@ BuildArch: noarch The openlmi-python-providers package contains library with common code for implementing CIM providers using cmpi-bindings-pywbem. +%package -n openlmi-python-test +Summary: OpenLMI test utilities +Requires: %{name} = %{version}-%{release} +Requires: openlmi-python-base = %{version}-%{release} +Requires: openlmi-tools >= 0.9 +BuildArch: noarch + +%description -n openlmi-python-test +The openlmi-python-test package contains test utilities and base +classes for provider test cases. + %package -n openlmi-software Summary: CIM providers for software management Requires: %{name} = %{version}-%{release} @@ -543,6 +554,12 @@ cp -pr tools/openlmitheme/* $RPM_BUILD_ROOT/%{python_sitelib}/sphinx/themes/open %{python2_sitelib}/lmi/providers/*.py %{python2_sitelib}/lmi/providers/*.py[co] +%files -n openlmi-python-test +%doc README COPYING +%dir %{python2_sitelib}/lmi/test +%{python2_sitelib}/lmi/test/*.py +%{python2_sitelib}/lmi/test/*.py[co] + %files -n openlmi-software %doc README COPYING %config(noreplace) %{_sysconfdir}/openlmi/software/software.conf @@ -931,6 +948,9 @@ if [ "$1" -eq 0 ]; then fi >> %logfile 2>&1 %changelog +* Tue Dec 17 2013 Michal Minar <miminar@redhat.com> 0.4.1-5 +- Added new openlmi-python-test subpackage. + * Mon Nov 25 2013 Stephen Gallagher <sgallagh@redhat.com> 0.4.1-5 - Define OpenLMI 1.0.0 - Set strict version dependencies for the meta-package diff --git a/src/python/setup.py b/src/python/setup.py index a5a834e..8c4a162 100644 --- a/src/python/setup.py +++ b/src/python/setup.py @@ -10,7 +10,7 @@ setup( version=__version__, license='LGPLv2+', namespace_packages = ['lmi'], - packages = ['lmi', 'lmi.base', 'lmi.providers'], + packages = ['lmi', 'lmi.base', 'lmi.providers', 'lmi.test'], install_requires=['pywbem'], classifiers=[ 'License :: OSI Approved :: GNU Lesser General Public License' |