diff --git a/python-requests-oauthlib.spec b/python-requests-oauthlib.spec new file mode 100644 index 0000000000000000000000000000000000000000..ca265507f33f8797bd3f1aec5ec3f3b065968dd0 --- /dev/null +++ b/python-requests-oauthlib.spec @@ -0,0 +1,55 @@ +Name: python-requests-oauthlib +Version: 1.0.0 +Release: 2 +Summary: The package provides OAuthlib authentication support. +License: ISC +URL: https://pypi.python.org/pypi/requests-oauthlib +Source0: https://github.com/requests/requests-oauthlib/archive/v%{version}.tar.gz +BuildArch: noarch + +%description +This package contains first-class python-request of OAuth library. + +%package -n python2-requests-oauthlib +%python_provide python2-requests-oauthlib +Summary: Support requests of OAuthlib authentication. +BuildRequires: python2-devel python2-setuptools python2-mock +BuildRequires: python2-oauthlib >= 0.6.2 python2-requests >= 2.0.0 +Requires: python2-oauthlib python2-requests >= 2.0.0 +%description -n python2-requests-oauthlib +This package contains first-class python-request of OAuth library. + +%package -n python3-requests-oauthlib +%{?python_provide:%python_provide python3-requests-oauthlib} +Summary: OAuthlib authentication support for Requests. +BuildRequires: python3-devel python3-setuptools python3-mock +BuildRequires: python3-oauthlib >= 0.6.2 python3-requests >= 2.0.0 +Requires: python3-oauthlib python3-requests +%description -n python3-requests-oauthlib +This package contains first-class python-request of OAuth library. + +%prep +%autosetup -n requests-oauthlib-%{version} -p1 -S git +rm -rf requests-oauthlib.egg-info + +%build +%py2_build +%py3_build + +%install +%py2_install +%py3_install + +%files -n python2-requests-oauthlib +%doc README.rst HISTORY.rst requirements.txt AUTHORS.rst LICENSE +%{python2_sitelib}/requests_oauthlib/ +%{python2_sitelib}/requests_oauthlib-%{version}* + +%files -n python3-requests-oauthlib +%doc README.rst HISTORY.rst requirements.txt AUTHORS.rst LICENSE +%{python3_sitelib}/requests_oauthlib/ +%{python3_sitelib}/requests_oauthlib-%{version}* + +%changelog +* Wed May 13 2020 Jeffery.Gao - 1.0.0-2 +- Package init diff --git a/python-requests-oauthlib.yaml b/python-requests-oauthlib.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bda68dfbd880d86d286090d66c66c6c95bed4652 --- /dev/null +++ b/python-requests-oauthlib.yaml @@ -0,0 +1,4 @@ +version-control: github +src_repo: requests/requests-oauthlib +tag_prefix: v^ +seperator: . diff --git a/v1.0.0.tar.gz b/v1.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0485e0c97312a52038647de131ad170cd8f2822c Binary files /dev/null and b/v1.0.0.tar.gz differ