From f2d7bf5fe14f263bd3180039a6ee2662c8ffac74 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Feb 04 2019 23:00:26 +0000 Subject: Fix Python 3-only file deployment --- diff --git a/python-msrestazure.spec b/python-msrestazure.spec index 517c7a9..f3540f8 100644 --- a/python-msrestazure.spec +++ b/python-msrestazure.spec @@ -13,12 +13,16 @@ %global pydoc_prefix %{?rhel:python}%{?fedora:python%{python3_pkgversion}} %global sphinxbuild sphinx-build%{?fedora:-%{python3_version}} +# Ignore bytecode compilation errors with Python 2 (since the library provides +# some Python 3-only files) +%global _python_bytecompile_errors_terminate_build 0 + %global adal_min_version 0.6.0 %global msrest_min_version 0.4.28 Name: python-%{srcname} Version: 0.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The runtime library "msrestazure" for AutoRest generated Python clients License: MIT @@ -161,6 +165,9 @@ py.test-%{python3_version} %changelog +* Mon Feb 04 2019 Mohamed El Morabity - 0.6.0-2 +- Fix Python 3-only file deployment + * Mon Feb 04 2019 Mohamed El Morabity - 0.6.0-1 - Update to 0.6.0