[node-patches] Change in ovirt-node[master]: Integrate new TUI into specfile
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Tue Dec 11 20:09:44 UTC 2012
Fabian Deutsch has uploaded a new change for review.
Change subject: Integrate new TUI into specfile
......................................................................
Integrate new TUI into specfile
Change-Id: I49280fbed6d9ef8a5d0d3f51bac717cac17de965
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M ovirt-node.spec.in
R scripts/tui/makefile.legacy
M scripts/tui/ovirt-node-molch-plugin.spec
M scripts/tui/setup.py
4 files changed, 17 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/81/9981/1
diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index 50780b9..bd60709 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -180,6 +180,14 @@
# specific version of python-augeas is not available in Fedora yet
%{__install} -p -m0644 scripts/augeas.py %{buildroot}%{python_sitelib}
+# Build and install the new TUI
+pushd .
+cd scripts/tui/
+make -f makefile.legacy install python=%{__python} prefix=%{_prefix} root=%{buildroot}
+# Remove some extra data
+rm -rf %{buildroot}/usr/extra
+popd .
+
%clean
%{__rm} -rf %{buildroot}
@@ -363,6 +371,12 @@
%{_initrddir}/ovirt
%{_initrddir}/ovirt-post
%endif
+# Files related to the new TUI
+%{python_sitelib}/ovirt_node_molch*.egg-info
+%{python_sitelib}/ovirt/__init__.*
+%{python_sitelib}/ovirt/node/*
+%{_bindir}/ovirt-config-setup
+
%changelog
diff --git a/scripts/tui/Makefile b/scripts/tui/makefile.legacy
similarity index 100%
rename from scripts/tui/Makefile
rename to scripts/tui/makefile.legacy
diff --git a/scripts/tui/ovirt-node-molch-plugin.spec b/scripts/tui/ovirt-node-molch-plugin.spec
index fc174fd..0befef4 100644
--- a/scripts/tui/ovirt-node-molch-plugin.spec
+++ b/scripts/tui/ovirt-node-molch-plugin.spec
@@ -7,7 +7,7 @@
%define upstream_name ovirt-node-molch
Name: %{upstream_name}-plugin
-Version: 0.0.1
+Version: 0.1
Release: 1.git%{hash}%{?dist}
Summary: oVirt Node plugin for an alternate config TUI
diff --git a/scripts/tui/setup.py b/scripts/tui/setup.py
index 5f24090..c06a670 100644
--- a/scripts/tui/setup.py
+++ b/scripts/tui/setup.py
@@ -4,10 +4,10 @@
setup(name='ovirt-node-molch',
version='0.0.1',
- description='oVirt Node COnfiguration TUI',
+ description='oVirt Node Configuration TUI',
author='Fabian Deutsch',
author_email='fabiand at fedoraproject.org',
- url='http://example.com',
+ url='http://www.ovirt.org/',
license="GPLv2+",
scripts=[
"bin/ovirt-config-setup"
--
To view, visit http://gerrit.ovirt.org/9981
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I49280fbed6d9ef8a5d0d3f51bac717cac17de965
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list