vmware-nsx/quantum/plugins/openvswitch/agent/ovs-quantum-agent-xs_xcp.spec
Juliano Martinez 82288d3027 Bug #1012418 - quantum agent for OVS does not install properly on Xen XCP
This change added the feature to package and install the ovs-quantum-agent inside XS and XCP,
added an option on Makefile to gen and install using python2.6 ( by default it will use 2.4 )

Change-Id: I8860d7dcb7e7b74125784cb0f33c6ca03b37702b
2012-06-26 15:27:23 -03:00

34 lines
896 B
RPMSpec

Name: ovs-quantum-agent
Version: VERSION
Release: 1
License: Apache2
Group: System Environment/Base
Summary: Ovs Quantum Agent
Source: %{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
Requires: python python-sqlalchemy
%description
OVS Quantum Agent
%prep
%setup
%install
rm -rf --preserve-root %{buildroot}
install -d -m 755 %{buildroot}
cp -af * %{buildroot}
pushd %{buildroot}
find ./usr ./etc -type f -o -type l | sed "s/\.//" > %{_builddir}/%{name}-%{version}/%{name}-%{version}-%{release}-filelist
popd
%clean
[ %{buildroot} != / ] && rm -rf %{buildroot}
%files -f %{_builddir}/%{name}-%{version}/%{name}-%{version}-%{release}-filelist
%changelog
* Thu Jun 14 2012 Juliano Martinez <juliano.martinez@locaweb.com.br> - VERSION
- Creating quantum ovs agent package