diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2014-03-28 17:20:24 +0100 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2014-03-28 17:20:24 +0100 |
commit | da58e745fbecc9cd34270bae9d5f034ec5d9b4e6 (patch) | |
tree | bb2c7be1ee03f1b0a84757c052cdf955c98d5227 /openlmi-providers.spec | |
parent | 56bc3cca9f608b9243b413cf8b52a7c416aac63f (diff) | |
download | openlmi-providers-da58e745fbecc9cd34270bae9d5f034ec5d9b4e6.tar.gz openlmi-providers-da58e745fbecc9cd34270bae9d5f034ec5d9b4e6.tar.xz openlmi-providers-da58e745fbecc9cd34270bae9d5f034ec5d9b4e6.zip |
devassistant: Add a subpackage to the spec file
Diffstat (limited to 'openlmi-providers.spec')
-rw-r--r-- | openlmi-providers.spec | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/openlmi-providers.spec b/openlmi-providers.spec index a6ac551..1b5ea25 100644 --- a/openlmi-providers.spec +++ b/openlmi-providers.spec @@ -4,7 +4,7 @@ Name: openlmi-providers Version: 0.4.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Set of basic CIM providers %if 0%{?suse_version} @@ -446,6 +446,15 @@ BuildArch: noarch %description -n openlmi-journald-doc This package contains the documents for OpenLMI Journald provider. +%package -n openlmi-devassistant +Summary: OpenLMI provider templates for Developer Assistant +BuildArch: noarch +Requires: devassistant >= 0.8.0 +Requires: %{name}-devel%{?_isa} = %{providers_version_release} + +%description -n openlmi-devassistant +This package contains template files for Developer Assistant. + %prep %setup -q @@ -460,9 +469,9 @@ This package contains the documents for OpenLMI Journald provider. mkdir -p %{_target_platform} pushd %{_target_platform} %if 0%{?suse_version} -%{cmake} ../.. +%{cmake} ../.. -DWITH-DEVASSISTANT=ON %else -%{cmake} .. +%{cmake} .. -DWITH-DEVASSISTANT=ON %endif popd @@ -728,6 +737,11 @@ cp -pr tools/openlmitheme/* $RPM_BUILD_ROOT/%{python_sitelib}/sphinx/themes/open %files -n openlmi-journald-doc %{_docdir}/%{name}/journald/ +%files -n openlmi-devassistant +%dir %{_datadir}/devassistant/files/crt/python/openlmi/ +%dir %{_datadir}/devassistant/files/crt/c/openlmi/ +%{_datadir}/devassistant/ + %pre # If upgrading, deregister old version if [ "$1" -gt 1 ]; then @@ -1044,6 +1058,9 @@ if [ "$1" -eq 0 ]; then fi >> %logfile 2>&1 %changelog +* Mon Feb 24 2014 Tomas Bzatek <tbzatek@redhat.com> 0.4.2-3 +- Added openlmi-devassistant subpackage + * Wed Feb 12 2014 Peter Schiffer <pschiffe@redhat.com> 0.4.2-2 - Added dependency on virt-what to hardware subpackage |