diff --git a/2.0.1.tar.gz b/2.0.1.tar.gz new file mode 100644 index 0000000..d982c10 --- /dev/null +++ b/2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c2a938f3f69e88ab6751200222fa6501e6af296c980fdb86fdbdedc6bbdf234 +size 32215 diff --git a/PasteDeploy-2.0.1.tar.gz b/PasteDeploy-2.0.1.tar.gz deleted file mode 100644 index 44bea74..0000000 --- a/PasteDeploy-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d423fb9d51fdcf853aa4ff43ac7ec469b643ea19590f67488122d6d0d772350a -size 13756 diff --git a/python-PasteDeploy.changes b/python-PasteDeploy.changes index a92e70f..525a9cb 100644 --- a/python-PasteDeploy.changes +++ b/python-PasteDeploy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 5 19:08:57 UTC 2019 - Tomáš Chvátal + +- Switch to github tarball to run tests + ------------------------------------------------------------------- Tue Dec 18 14:43:26 UTC 2018 - Jan Engelhardt diff --git a/python-PasteDeploy.spec b/python-PasteDeploy.spec index 04cba90..a8c1bf0 100644 --- a/python-PasteDeploy.spec +++ b/python-PasteDeploy.spec @@ -1,7 +1,7 @@ # # spec file for package python-PasteDeploy # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,27 +21,25 @@ Name: python-PasteDeploy Version: 2.0.1 Release: 0 -Url: http://pythonpaste.org/deploy/ Summary: Tool to load, configure, and compose WSGI applications and servers License: MIT Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/P/PasteDeploy/PasteDeploy-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +URL: https://github.com/Pylons/pastedeploy +Source: https://github.com/Pylons/pastedeploy/archive/%{version}.tar.gz +BuildRequires: %{python_module Paste} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Paste Requires: python-setuptools +Provides: python-pastedeploy = %{version} +Obsoletes: python-pastedeploy < %{version} +BuildArch: noarch %ifpython2 Obsoletes: %{oldpython}-pastedeploy < %{version} Provides: %{oldpython}-pastedeploy = %{version} %endif -%ifpython3 -Provides: python3-pastedeploy = %{version} -Obsoletes: python3-pastedeploy < %{version} -%endif -BuildArch: noarch %python_subpackages %description @@ -50,7 +48,7 @@ URIs can refer to Python Eggs for INI-style configuration files. Paste Script provides commands to serve applications based on this configuration file. %prep -%setup -q -n PasteDeploy-%{version} +%setup -q -n pastedeploy-%{version} %build %python_build @@ -59,9 +57,12 @@ provides commands to serve applications based on this configuration file. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_exec setup.py test + %files %{python_files} -%defattr(-,root,root,-) %doc README.rst +%license license.txt %{python_sitelib}/* %changelog