From 5e876b4297b2c94a4c6cd31fd6cc15bfb44c42316ed4ab5104c7d8f0f5213b94 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sun, 22 Jan 2017 09:04:28 +0000 Subject: [PATCH] Accepting request 451783 from home:StefanBruens:branches:devel:tools:building OBS-URL: https://build.opensuse.org/request/show/451783 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=51 --- protobuf.changes | 7 +++++++ protobuf.spec | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/protobuf.changes b/protobuf.changes index 0c0da3e..8c1b35d 100644 --- a/protobuf.changes +++ b/protobuf.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Jan 22 00:47:42 UTC 2017 - stefan.bruens@rwth-aachen.de + +- Fix an issue with setup.py where some files are built on the + first invocation, but only copied on the second. This resulted + in an incomplete protobuf-python package. + ------------------------------------------------------------------- Sat Jan 7 11:02:55 UTC 2017 - stefan.bruens@rwth-aachen.de diff --git a/protobuf.spec b/protobuf.spec index 4d1413a..a7df60f 100644 --- a/protobuf.spec +++ b/protobuf.spec @@ -163,6 +163,8 @@ popd %if %{with protobuf_python} pushd python python setup.py build +# setup.py seems to be broken, some files are only installed on the second invocation +python setup.py build popd %endif @@ -187,7 +189,6 @@ popd %if %{with protobuf_python} pushd python -python setup.py clean python setup.py install --skip-build \ --prefix=%{_prefix} \ --root %{buildroot} \