Compat macros for el6.
This commit is contained in:
parent
7b15e92570
commit
10e790ac81
@ -2,11 +2,18 @@
|
|||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||||
|
%{!?__python2: %global __python2 /usr/bin/python2}
|
||||||
|
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||||
|
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%global modname oauthlib
|
%global modname oauthlib
|
||||||
|
|
||||||
Name: python-oauthlib
|
Name: python-oauthlib
|
||||||
Version: 0.6.0
|
Version: 0.6.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: An implementation of the OAuth request-signing logic
|
Summary: An implementation of the OAuth request-signing logic
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -107,6 +114,9 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 21 2014 Ralph Bean <rbean@redhat.com> - 0.6.0-3
|
||||||
|
- Compat macros for el6.
|
||||||
|
|
||||||
* Fri Nov 01 2013 Ralph Bean <rbean@redhat.com> - 0.6.0-2
|
* Fri Nov 01 2013 Ralph Bean <rbean@redhat.com> - 0.6.0-2
|
||||||
- Modernized python2 rpmmacros.
|
- Modernized python2 rpmmacros.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user