[openlmi-scripts] fixed installation of hardware subpackage

Michal Minar miminar at fedoraproject.org
Wed Nov 6 13:14:05 UTC 2013


commit fed14aa20b5b58506ec397fe2f445d8bd7224720
Author: Michal Minar <miminar at redhat.com>
Date:   Wed Nov 6 14:13:53 2013 +0100

    fixed installation of hardware subpackage

 openlmi-scripts-0.2.4a-hardware_setup.patch |   13 +++++++++++++
 openlmi-scripts.spec                        |    6 ++++--
 2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/openlmi-scripts-0.2.4a-hardware_setup.patch b/openlmi-scripts-0.2.4a-hardware_setup.patch
new file mode 100644
index 0000000..afc148a
--- /dev/null
+++ b/openlmi-scripts-0.2.4a-hardware_setup.patch
@@ -0,0 +1,13 @@
+Index: openlmi-scripts-085d496454fcb49556a090375dc97c77db32e74b/commands/hardware/setup.py
+===================================================================
+--- openlmi-scripts-085d496454fcb49556a090375dc97c77db32e74b.orig/commands/hardware/setup.py
++++ openlmi-scripts-085d496454fcb49556a090375dc97c77db32e74b/commands/hardware/setup.py
+@@ -9,7 +9,7 @@ except IOError:
+     long_description = ''
+ 
+ setup(
+-    name='openlmi-hardware',
++    name='openlmi-scripts-hardware',
+     version='0.0.2',
+     description='Hardware information available in OpenLMI hardware providers',
+     long_description=long_description,
diff --git a/openlmi-scripts.spec b/openlmi-scripts.spec
index 83b3105..261610e 100644
--- a/openlmi-scripts.spec
+++ b/openlmi-scripts.spec
@@ -5,12 +5,13 @@
 
 Name:           openlmi-scripts
 Version:        %{openlmi_scripts_version}a
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Client-side python modules and command line utilities
 
 License:        BSD
 URL:            http://fedorahosted.org/openlmi
 Source0:        https://github.com/openlmi/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+Patch0:         openlmi-scripts-0.2.4a-hardware_setup.patch
 BuildArch:      noarch
 
 BuildRequires:  python2-devel
@@ -82,6 +83,7 @@ provider and command line wrapper.
 
 %prep
 %setup -qn %{name}-%{commit}
+%patch0 -p1
 
 %build
 %{__python} setup.py build
@@ -174,7 +176,7 @@ install -m 644 README.md COPYING Changelog $RPM_BUILD_ROOT/%{_docdir}/%{name}
 %{python_sitelib}/openlmi_scripts_hardware-*
 
 %changelog
-* Wed Nov 06 2013 Michal Minar <miminar at redhat.com> 0.2.4a-1
+* Wed Nov 06 2013 Michal Minar <miminar at redhat.com> 0.2.4a-2
 - New upstream version.
 - Require openlmi-tools 0.9.
 


More information about the scm-commits mailing list