diff --git a/python-social-auth-core.changes b/python-social-auth-core.changes index 34d5a24..6436cc1 100644 --- a/python-social-auth-core.changes +++ b/python-social-auth-core.changes @@ -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 diff --git a/python-social-auth-core.spec b/python-social-auth-core.spec index 1926d06..97ffab7 100644 --- a/python-social-auth-core.spec +++ b/python-social-auth-core.spec @@ -24,45 +24,41 @@ Release: 0 Summary: Python Social Auth Core License: BSD-3-Clause 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 BuildRequires: %{python_module PyJWT >= 1.4.0} +BuildRequires: %{python_module coverage >= 3.6} 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 rednose >= 0.4.1} BuildRequires: %{python_module requests >= 2.9.1} BuildRequires: %{python_module requests-oauthlib >= 0.6.1} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.10.0} +BuildRequires: %{python_module unittest2} BuildRequires: ca-certificates BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python2-python-openid >= 2.2.5 BuildRequires: python3-defusedxml >= 0.5.0 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-cryptography >= 2.1.1 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 Requires: python2-python-openid >= 2.2.5 %endif %ifpython3 +Requires: python3-defusedxml >= 0.5.0 Requires: python3-python3-openid >= 3.0.10 %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 %description @@ -85,10 +81,9 @@ storage solutions. %python_expand %fdupes %{buildroot}%{$python_sitelib} %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} -%defattr(-,root,root,-) %doc CHANGELOG.md %license LICENSE %{python_sitelib}/*