commit 4f1cb0a1b3c272075eeaac2bc858ce6575254a2d
Author: Nuno Santos <nsantos(a)redhat.com>
Date: Tue Sep 20 11:52:27 2011 -0400
fixes to specfile
src/rpm-spec/vios-proxy.spec | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/src/rpm-spec/vios-proxy.spec b/src/rpm-spec/vios-proxy.spec
index de19234..2599372 100644
--- a/src/rpm-spec/vios-proxy.spec
+++ b/src/rpm-spec/vios-proxy.spec
@@ -6,7 +6,7 @@ Summary: Network proxy between a QEMU host and QEMU guests using
virtiose
Group: System Environment/Daemons
License: ASL 2.0
URL:
http://git.fedorahosted.org/git/?p=vios-proxy.git
-Source0:
git://git.fedorahosted.org/vios-proxy.git
+Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: boost-devel
@@ -46,17 +46,20 @@ a proxy channel to the host through the tunnel.
%prep
%setup -q
-
+pushd src
cmake -D CMAKE_INSTALL_PREFIX:STRING="%{_prefix}" -D
CMAKE_CXX_FLAGS:STRING="%{optflags}" .
+popd
%build
+pushd src
make %{?_smp_mflags}
-
+popd
%install
rm -rf $RPM_BUILD_ROOT
+pushd src
make install DESTDIR=$RPM_BUILD_ROOT
-
+popd
%clean
rm -rf $RPM_BUILD_ROOT
@@ -67,13 +70,13 @@ rm -rf $RPM_BUILD_ROOT
%doc
%files host
-/usr/sbin/vios-proxy-host
+%defattr(-,root,root,-)
%{_bindir}/vios-proxy-host
%files guest
-/usr/sbin/vios-proxy-guest
+%defattr(-,root,root,-)
%{_bindir}/vios-proxy-guest
%changelog
-19 Sep 2011 Chuck Rolke <crolke(a)redhat.com> 0.1-1
-* Initial revision
+* Mon Sep 19 2011 Chuck Rolke <crolke(a)redhat.com> 0.1-1
+- Initial revision