diff options
author | Jon Loeliger <jdl@netgate.com> | 2018-01-31 09:45:11 -0600 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2018-01-31 19:14:17 +0000 |
commit | 190282cb0afd696c0d593f2d19a776442020c182 (patch) | |
tree | bcac4955c41b7a4edbd911cdbd0cb7eb8eaa680c /extras/rpm | |
parent | 899a84b302da2c266c1de7fd962965120cf50d60 (diff) |
RPMS: Also install C.py, JSON.py for vppapipgen.
When building plugins outside of the VPP tree, the vppapigen
tool requires the use of the C.py / JSON.py code. To that end,
install it in /usr/share/vpp as referenced.
Change-Id: I457d58e7bde7140c7811fa0a93b4f44d1310784a
Signed-off-by: Jon Loeliger <jdl@netgate.com>
Diffstat (limited to 'extras/rpm')
-rw-r--r-- | extras/rpm/vpp.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/rpm/vpp.spec b/extras/rpm/vpp.spec index d3bc517c5b4..1793966b0c3 100644 --- a/extras/rpm/vpp.spec +++ b/extras/rpm/vpp.spec @@ -270,6 +270,9 @@ for i in $(ls %{_mu_build_dir}/../src/vpp-api/java/jvpp/gen/jvppgen/*.py); do install -p -m666 ${i} %{buildroot}%{python2_sitelib}/jvppgen done; +install -p -m 644 %{_mu_build_dir}/../src/tools/vppapigen/C.py %{buildroot}/usr/share/vpp +install -p -m 644 %{_mu_build_dir}/../src/tools/vppapigen/JSON.py %{buildroot}/usr/share/vpp + # sample plugin mkdir -p -m755 %{buildroot}/usr/share/doc/vpp/examples/sample-plugin/sample #for file in $(cd %{_mu_build_dir}/%{_vpp_install_dir}/../../src/examples/sample-plugin && git ls-files .) |