diff options
author | Michal Minar <miminar@redhat.com> | 2013-12-17 12:36:28 +0100 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2013-12-17 15:31:16 +0100 |
commit | 88c9ad30d00a1fdfdae892eaef52f1219415ca3e (patch) | |
tree | 1f32e4dd3ee01fbe9af5a798820f1fefcec0643f /openlmi-providers.spec | |
parent | afec462a470d58486820155e44e5ce625fddbe2f (diff) | |
download | openlmi-providers-88c9ad30d00a1fdfdae892eaef52f1219415ca3e.tar.gz openlmi-providers-88c9ad30d00a1fdfdae892eaef52f1219415ca3e.tar.xz openlmi-providers-88c9ad30d00a1fdfdae892eaef52f1219415ca3e.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.
Diffstat (limited to 'openlmi-providers.spec')
-rw-r--r-- | openlmi-providers.spec | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/openlmi-providers.spec b/openlmi-providers.spec index 1a1ccc1..7d3b521 100644 --- a/openlmi-providers.spec +++ b/openlmi-providers.spec @@ -4,7 +4,7 @@ Name: openlmi-providers Version: 0.4.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Set of basic CIM providers License: LGPLv2+ @@ -206,6 +206,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-4 - Define OpenLMI 1.0.0 - Set strict version dependencies for the meta-package |