Fix macros for epel7.
This commit is contained in:
parent
3eb89aeaa0
commit
4578d9609b
@ -1,11 +1,20 @@
|
||||
%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 <jdornak@redhat.com> - 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 <jdornak@redhat.com> - 0.4.0-3
|
||||
- added python3 subpackage
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user