diff --git a/python-requests-oauthlib.spec b/python-requests-oauthlib.spec index 3a54193..7aa98e4 100644 --- a/python-requests-oauthlib.spec +++ b/python-requests-oauthlib.spec @@ -1,11 +1,20 @@ -%bcond_without python3 +%if 0%{?el6}%{?el7} + # python3 and python version related macros + # required to build python3- subpackage + # are not available in el6 and el7 + %global with_python3 0 + %global __python2 %{__python} + %global python2_sitelib %{python_sitelib} +%else + %bcond_without python3 +%endif %global distname requests-oauthlib %global modname requests_oauthlib Name: python-requests-oauthlib Version: 0.4.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: OAuthlib authentication support for Requests. Group: Development/Libraries @@ -99,6 +108,10 @@ popd %endif %changelog +* Mon Mar 3 2014 Jakub Dorňák - 0.4.0-4 +- python3 and python version related macros required to build + python3- subpackage are not available in el6 and el7 + * Fri Nov 29 2013 Jakub Dorňák - 0.4.0-3 - added python3 subpackage