Source1001: %{name}.manifest
BuildRequires: pkgconfig(python3)
+BuildRequires: pkgconfig(protobuf)
BuildRequires: python3-setuptools
-BuildArch: noarch
+#BuildArch: noarch
%description
Protocol Buffers are Google's data interchange format.
cp %{SOURCE1001} .
%build
-%{_bindir}/python3 setup.py build
+%{_bindir}/python3 setup.py build --cpp_implementation
%install
-%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} --cpp_implementation
%clean
%{python3_sitelib}/google/protobuf/__pycache__/*.cpython-*.pyc
%{python3_sitelib}/google/protobuf/compiler/*.py
%{python3_sitelib}/google/protobuf/compiler/__pycache__/*.cpython-*.pyc
+%{python3_sitelib}/google/protobuf/internal/*.so
%{python3_sitelib}/google/protobuf/internal/*.py
%{python3_sitelib}/google/protobuf/internal/__pycache__/*.cpython-*.pyc
+%{python3_sitelib}/google/protobuf/pyext/*.so
%{python3_sitelib}/google/protobuf/pyext/*.py
%{python3_sitelib}/google/protobuf/pyext/__pycache__/*.cpython-*.pyc
%{python3_sitelib}/google/protobuf/util/*.py