summaryrefslogtreecommitdiffstats
path: root/build/rpm_specs
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2016-12-10 00:14:49 -0500
committerTim Rozet <trozet@redhat.com>2016-12-12 14:54:04 -0500
commitcd451be320c5efa92aec2f6a8fcd31e330dd2857 (patch)
tree711dc7d5a2243cd64c025a348cb852f34cf1ac97 /build/rpm_specs
parent641f66d2790dc4155e758b17f311713fec01ea87 (diff)
Update networking-vpp packaging
- Change package to python-networking-vpp - Turn off autoreq for /bin/python - Update vpp to 17.01 - Disables undercloud package updating Change-Id: I9743e73ca9c36cc5162076580dc0a6b8861c7149 Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'build/rpm_specs')
-rw-r--r--build/rpm_specs/networking-vpp.spec11
1 files changed, 6 insertions, 5 deletions
diff --git a/build/rpm_specs/networking-vpp.spec b/build/rpm_specs/networking-vpp.spec
index fea66eb8..97668c8c 100644
--- a/build/rpm_specs/networking-vpp.spec
+++ b/build/rpm_specs/networking-vpp.spec
@@ -1,16 +1,17 @@
%define release 1
Summary: OpenStack Networking for VPP
-Name: networking-vpp
+Name: python-networking-vpp
Version: 0.0.1
Release: %{release}%{?git}%{?dist}
License: Apache 2.0
Group: Applications/Internet
-Source0: networking-vpp.tar.gz
+Source0: python-networking-vpp.tar.gz
Url: https://github.com/openstack/networking-vpp/
BuildArch: noarch
+AutoReq: no
Requires: vpp
Vendor: OpenStack <openstack-dev@lists.openstack.org>
Packager: Feng Pan <fpan@redhat.com>
@@ -20,7 +21,7 @@ ML2 Mechanism driver and small control plane for OpenVPP forwarder
%prep
%setup -q
-cat << EOF > %{_builddir}/networking-vpp-agent.service
+cat << EOF > %{_builddir}/neutron-vpp-agent.service
[Unit]
Description=Networking VPP ML2 Agent
@@ -39,11 +40,11 @@ EOF
%install
python setup.py install -O1 --root=%{buildroot} --record=INSTALLED_FILES
mkdir -p %{buildroot}/usr/lib/systemd/system
-install %{_builddir}/networking-vpp-agent.service %{buildroot}/usr/lib/systemd/system
+install %{_builddir}/neutron-vpp-agent.service %{buildroot}/usr/lib/systemd/system
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
-%attr(644,root,root) /usr/lib/systemd/system/networking-vpp-agent.service
+%attr(644,root,root) /usr/lib/systemd/system/neutron-vpp-agent.service