From 88260747cc9af46cad44c9b96233a6fb75647e43 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Sun, 9 Dec 2018 14:23:18 +0000 Subject: [PATCH] Fix py2 build --- python-freezegun.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python-freezegun.spec b/python-freezegun.spec index 93db094..bfd4554 100644 --- a/python-freezegun.spec +++ b/python-freezegun.spec @@ -91,6 +91,7 @@ cp -a . %{py3dir} %if %{with python2} %py2_build %endif # with python2 + %if %{with python3} pushd %{py3dir} %py3_build @@ -105,6 +106,8 @@ popd %endif # with python3 %if %{with python2} %py2_install +# Remove py3 only async module +rm -f $RPM_BUILD_ROOT/%{python2_sitelib}/%{modname}/_async.py %endif # with python2 %check @@ -136,6 +139,7 @@ nosetests-%{python2_version} tests/ * Sun Nov 11 2018 Ankur Sinha - 0.3.11-1 - Update to latest upstream release - Disable py2 on F30+ +- Fix py2 build * Sat Jul 14 2018 Fedora Release Engineering - 0.3.8-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild