Change-Id: I5c510cde1227a131ddda58d090cd5dbf112ce1fb
Signed-off-by: Ole Troan <ot@cisco.com>
%package api-python
Summary: VPP api python bindings
Group: Development/Libraries
%package api-python
Summary: VPP api python bindings
Group: Development/Libraries
-Requires: vpp = %{_version}-%{_release}, vpp-lib = %{_version}-%{_release}, python-setuptools
+Requires: vpp = %{_version}-%{_release}, vpp-lib = %{_version}-%{_release}, python-setuptools libffi-devel
%description api-python
This package contains the python bindings for the vpp api
%description api-python
This package contains the python bindings for the vpp api
# Add the vpp group
groupadd -f -r vpp
# Add the vpp group
groupadd -f -r vpp
+%build
+cd %{_mu_build_dir}/../src/vpp-api/python && %py2_build
+
-cd %{_mu_build_dir}/../src/vpp-api/python
-%py2_install
+cd %{_mu_build_dir}/../src/vpp-api/python && %py2_install
%files api-python
%defattr(644,root,root)
%files api-python
%defattr(644,root,root)
+%{python2_sitelib}/vpp_papi*
%files devel
%defattr(-,bin,bin)
%files devel
%defattr(-,bin,bin)