Accepting request 447555 from home:StefanBruens:branches:devel:tools:building

OBS-URL: https://build.opensuse.org/request/show/447555
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=47
This commit is contained in:
Martin Pluskal 2016-12-24 10:20:14 +00:00 committed by Git OBS Bridge
parent 96697eacb6
commit 5866010ff0
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 16 03:33:01 UTC 2016 - stefan.bruens@rwth-aachen.de
- Use py_sitedir for library installation with setup.py install
-------------------------------------------------------------------
Wed Dec 14 07:32:06 UTC 2016 - mpluskal@suse.com

View File

@ -180,10 +180,12 @@ popd
%if %{with protobuf_python}
pushd python
python setup.py clean
python setup.py install --skip-build \
--prefix=%{_prefix} \
--install-data=%{_datadir} \
--root %{buildroot} \
--install-lib=%{py_sitedir} \
--install-data=%{_datadir} \
--record-rpm=INSTALLED_FILES
popd
%endif