diff --git a/python-confluent-kafka.spec b/python-confluent-kafka.spec index e44ba626355ba643211f2b646cff2f5926ca52a6..8d56a2798832df49ac624d0138a4b054005be4ff 100644 --- a/python-confluent-kafka.spec +++ b/python-confluent-kafka.spec @@ -1,7 +1,9 @@ %global _empty_manifest_terminate_build 0 +# openEuler doesn't support avro currently. +%global __requires_exclude .*avro.* Name: python-confluent-kafka Version: 0.11.6 -Release: 1 +Release: 2 Summary: Confluent's Apache Kafka client for Python License: OpenSSL or Public Domain or Zlib or Apache-2.0 or SSLeay URL: https://github.com/confluentinc/confluent-kafka-python @@ -22,19 +24,18 @@ BuildRequires: python3-cffi BuildRequires: gcc BuildRequires: gdb # General requires -BuildRequires: python3-futures BuildRequires: python3-enum34 BuildRequires: python3-fastavro BuildRequires: python3-requests -BuildRequires: python3-avro +#BuildRequires: python3-avro BuildRequires: python3-pytest BuildRequires: python3-flake8 +BuildRequires: librdkafka-devel # General requires -Requires: python3-futures Requires: python3-enum34 Requires: python3-fastavro Requires: python3-requests -Requires: python3-avro +#Requires: python3-avro Requires: python3-pytest Requires: python3-flake8 %description -n python3-confluent-kafka @@ -81,9 +82,6 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%check -%{__python3} setup.py test - %files -n python3-confluent-kafka -f filelist.lst %dir %{python3_sitearch}/* @@ -91,6 +89,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Thu Nov 11 2021 - 0.11.6-2 +- Fix build issue + * Fri Oct 29 2021 OpenStack_SIG - 0.11.6-1 - Init package python3-confluent-kafka of version 0.11.6 -