Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Python API: Fix RPM packaging (again).
[vpp.git]
/
build-root
/
rpm
/
vpp.spec
diff --git
a/build-root/rpm/vpp.spec
b/build-root/rpm/vpp.spec
index
7fa9788
..
2cfe67c
100644
(file)
--- a/
build-root/rpm/vpp.spec
+++ b/
build-root/rpm/vpp.spec
@@
-89,7
+89,7
@@
This package contains the java bindings for the vpp api
%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
@@
-101,6
+101,9
@@
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
+
%install
#
# binaries
%install
#
# binaries
@@
-162,8
+165,7
@@
do
done
# Python bindings
done
# Python bindings
-cd %{_mu_build_dir}/../src/vpp-api/python
-%py2_install
+cd %{_mu_build_dir}/../src/vpp-api/python && %py2_install
#
# devel
#
# devel
@@
-279,7
+281,7
@@
fi
%files api-python
%defattr(644,root,root)
%files api-python
%defattr(644,root,root)
-%{python2_sitelib}/*
+%{python2_sitelib}/
vpp_papi
*
%files devel
%defattr(-,bin,bin)
%files devel
%defattr(-,bin,bin)