14
0

- Format with spec-cleaner

- Run the tests with %python_expand rather than %python_exec

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-social-auth-core?expand=0&rev=4
This commit is contained in:
Tomáš Chvátal
2018-08-01 13:38:11 +00:00
committed by Git OBS Bridge
parent 4f64fd0fbe
commit f752fe7d9e
2 changed files with 20 additions and 19 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 1 13:37:44 UTC 2018 - tchvatal@suse.com
- Format with spec-cleaner
- Run the tests with %python_expand rather than %python_exec
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 27 06:29:23 UTC 2018 - jengelh@inai.de Fri Jul 27 06:29:23 UTC 2018 - jengelh@inai.de

View File

@@ -24,45 +24,41 @@ Release: 0
Summary: Python Social Auth Core Summary: Python Social Auth Core
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/python-social-auth/social-core URL: https://github.com/python-social-auth/social-core
Source: https://files.pythonhosted.org/packages/source/s/social-auth-core/social-auth-core-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/s/social-auth-core/social-auth-core-%{version}.tar.gz
BuildRequires: %{python_module PyJWT >= 1.4.0} BuildRequires: %{python_module PyJWT >= 1.4.0}
BuildRequires: %{python_module coverage >= 3.6}
BuildRequires: %{python_module cryptography >= 2.1.1} BuildRequires: %{python_module cryptography >= 2.1.1}
BuildRequires: %{python_module httpretty}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose >= 1.2.1}
BuildRequires: %{python_module oauthlib >= 1.0.3} BuildRequires: %{python_module oauthlib >= 1.0.3}
BuildRequires: %{python_module rednose >= 0.4.1}
BuildRequires: %{python_module requests >= 2.9.1} BuildRequires: %{python_module requests >= 2.9.1}
BuildRequires: %{python_module requests-oauthlib >= 0.6.1} BuildRequires: %{python_module requests-oauthlib >= 0.6.1}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.10.0} BuildRequires: %{python_module six >= 1.10.0}
BuildRequires: %{python_module unittest2}
BuildRequires: ca-certificates BuildRequires: ca-certificates
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: python2-python-openid >= 2.2.5 BuildRequires: python2-python-openid >= 2.2.5
BuildRequires: python3-defusedxml >= 0.5.0 BuildRequires: python3-defusedxml >= 0.5.0
BuildRequires: python3-python3-openid >= 3.0.10 BuildRequires: python3-python3-openid >= 3.0.10
## used for testing
BuildRequires: %{python_module coverage >= 3.6}
BuildRequires: %{python_module httpretty}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose >= 1.2.1}
BuildRequires: %{python_module rednose >= 0.4.1}
BuildRequires: %{python_module unittest2}
Requires: python-PyJWT >= 1.4.0 Requires: python-PyJWT >= 1.4.0
Requires: python-cryptography >= 2.1.1
Requires: python-oauthlib >= 1.0.3 Requires: python-oauthlib >= 1.0.3
Requires: python-requests >= 2.9.1
Requires: python-requests-oauthlib >= 0.6.1
Requires: python-six >= 1.10.0
BuildArch: noarch
%ifpython2 %ifpython2
Requires: python2-python-openid >= 2.2.5 Requires: python2-python-openid >= 2.2.5
%endif %endif
%ifpython3 %ifpython3
Requires: python3-defusedxml >= 0.5.0
Requires: python3-python3-openid >= 3.0.10 Requires: python3-python3-openid >= 3.0.10
%endif %endif
Requires: python-cryptography >= 2.1.1
Requires: python-requests >= 2.9.1
Requires: python-requests-oauthlib >= 0.6.1
Requires: python-six >= 1.10.0
%ifpython3
Requires: python3-defusedxml >= 0.5.0
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -85,10 +81,9 @@ storage solutions.
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%python_exec %{_bindir}/nosetests --ignore-files test_saml.py %python_expand %{_bindir}/nosetests-%{$python_bin_suffix} --ignore-files test_saml.py
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-)
%doc CHANGELOG.md %doc CHANGELOG.md
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/*