diff --git a/macros.python2 b/macros.python2 index 6bfd7f8..789ca09 100644 --- a/macros.python2 +++ b/macros.python2 @@ -7,7 +7,8 @@ %py2_shbang_opts -s %py2_build() %{expand:\ -CFLAGS="%{optflags}" %{__python2} %{py_setup} %{?py_setup_args} build --executable="%{__python2} %{py2_shbang_opts}" %{?1}\ +CFLAGS="%{optflags}" %{__python2} %{py_setup} %{?py_setup_args} build --executable="%{__python2} %{py2_shbang_opts}" %{?1};\ +sleep 1\ } %py2_install() %{expand:\ diff --git a/macros.python3 b/macros.python3 index a633c72..4f44bd1 100644 --- a/macros.python3 +++ b/macros.python3 @@ -8,7 +8,8 @@ %py3_shbang_opts -s %py3_build() %{expand:\ -CFLAGS="%{optflags}" %{__python3} %{py_setup} %{?py_setup_args} build --executable="%{__python3} %{py3_shbang_opts}" %{?1}\ +CFLAGS="%{optflags}" %{__python3} %{py_setup} %{?py_setup_args} build --executable="%{__python3} %{py3_shbang_opts}" %{?1};\ +sleep 1\ } %py3_install() %{expand:\ diff --git a/python-rpm-macros.spec b/python-rpm-macros.spec index 2597e1b..8d41746 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -1,6 +1,6 @@ Name: python-rpm-macros Version: 3 -Release: 7%{?dist} +Release: 8%{?dist} Summary: The unversioned Python RPM macros License: MIT @@ -52,7 +52,7 @@ mkdir -p %{buildroot}/%{_rpmconfigdir}/macros.d/ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} \ %{buildroot}/%{_rpmconfigdir}/macros.d/ - + %files %{_rpmconfigdir}/macros.d/macros.python @@ -67,6 +67,9 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} \ %changelog +* Thu May 12 2016 Jason L Tibbitts III - 3-8 +- Add single-second sleeps to work around setuptools bug. + * Thu Feb 04 2016 Fedora Release Engineering - 3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild