[openlmi-scripts] new subpackages (account and powermanagement)
Michal Minar
miminar at fedoraproject.org
Tue Feb 25 13:41:22 UTC 2014
commit 7f396ec28a7086e49044e08e9cc2df63e7e57442
Author: Michal Minar <miminar at redhat.com>
Date: Tue Feb 25 13:33:54 2014 +0100
new subpackages (account and powermanagement)
Poor account and powermanagement commands have been overlooked up to
now. They are live and kicking, so let's ship them.
openlmi-scripts.spec | 38 +++++++++++++++++++++++++++++++++++---
1 files changed, 35 insertions(+), 3 deletions(-)
---
diff --git a/openlmi-scripts.spec b/openlmi-scripts.spec
index 185a78d..364d8e4 100644
--- a/openlmi-scripts.spec
+++ b/openlmi-scripts.spec
@@ -1,11 +1,12 @@
%global commit 8563d295e503cab96c3b1651fa55413a7f589641
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global openlmi_scripts_version 0.2.7
-%global commands logicalfile service software storage hardware networking system
+%global commands logicalfile service software storage hardware
+%global commands %{commands} networking system account powermanagement
Name: openlmi-scripts
Version: %{openlmi_scripts_version}
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Client-side python modules and command line utilities
License: BSD
@@ -96,7 +97,7 @@ provider and command line wrapper.
%package system
Summary: Client scripts providing general system informations
-Version: 0.0.1
+Version: 0.0.2
Requires: %{name} = %{openlmi_scripts_version}-%{release}
%description system
@@ -104,6 +105,24 @@ This package contains client side python library for few OpenLMI providers and
command line wrapper. It's aimed to provide some general informations about
system.
+%package account
+Summary: Client scripts for OpenLMI Account provider
+Version: 0.0.1
+Requires: %{name} = %{openlmi_scripts_version}-%{release}
+
+%description account
+This packages contains client side python library for OpenLMI Account
+provider and command line wrapper.
+
+%package powermanagement
+Summary: Client scripts for OpenLMI Power provider
+Version: 0.0.1
+Requires: %{name} = %{openlmi_scripts_version}-%{release}
+
+%description powermanagement
+This packages contains client side python library for OpenLMI PowerManagement
+provider and command line wrapper.
+
%prep
%setup -qn %{name}-%{commit}
%patch0 -p1 -b .hardware_support_older_providers
@@ -209,7 +228,20 @@ install -m 644 README.md COPYING Changelog $RPM_BUILD_ROOT/%{_docdir}/%{name}
%{python_sitelib}/lmi/scripts/system/
%{python_sitelib}/openlmi_scripts_system-*
+%files account
+%doc commands/account/README.md COPYING
+%{python_sitelib}/lmi/scripts/account/
+%{python_sitelib}/openlmi_scripts_account-*
+
+%files powermanagement
+%doc commands/powermanagement/README.md COPYING
+%{python_sitelib}/lmi/scripts/powermanagement/
+%{python_sitelib}/openlmi_scripts_powermanagement-*
+
%changelog
+* Tue Feb 25 2014 Michal Minar <miminar at redhat.com> 0.2.7-3
+- Added account and powermanagement commands.
+
* Tue Feb 25 2014 Michal Minar <miminar at redhat.com> 0.2.7-2
- Fixed storage mount list command.
More information about the scm-commits
mailing list