diff --git a/1.6.1.tar.gz b/1.6.1.tar.gz new file mode 100644 index 0000000..c1abbd3 --- /dev/null +++ b/1.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0fc6032023b884c2384a52cd673ca3ddeeef06419ab4fc76abdb95604b7d33b +size 54423 diff --git a/pamqp-1.6.1.tar.gz b/pamqp-1.6.1.tar.gz deleted file mode 100644 index facddde..0000000 --- a/pamqp-1.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8a092a479226a0e54bc89ec53fe86e030effad23ce7575e3dabff48faddfbeee -size 24323 diff --git a/python-pamqp.changes b/python-pamqp.changes index bebfa33..198f231 100644 --- a/python-pamqp.changes +++ b/python-pamqp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 29 13:54:56 UTC 2018 - tchvatal@suse.com + +- Switch to github tarball to get tests +- Run tests + ------------------------------------------------------------------- Thu Dec 7 01:55:55 UTC 2017 - sean.marlow@suse.com diff --git a/python-pamqp.spec b/python-pamqp.spec index 42721a8..8f25184 100644 --- a/python-pamqp.spec +++ b/python-pamqp.spec @@ -25,8 +25,9 @@ Summary: A pure-python AMQP 0-9-1 frame encoder and decoder License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/gmr/pamqp -Source: https://files.pythonhosted.org/packages/source/p/pamqp/pamqp-%{version}.tar.gz -BuildRequires: %{python_module devel} +Source: https://github.com/gmr/pamqp/archive/%{version}.tar.gz +BuildRequires: %{python_module mock} +BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -54,6 +55,9 @@ encoding should be run through the pamqp.frame module. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib}/pamqp* +%check +%python_expand nosetests-%{$python_bin_suffix} tests/ + %files %{python_files} %license LICENSE %doc README.rst