diff --git a/localzone-0.9.4.tar.gz b/localzone-0.9.4.tar.gz deleted file mode 100644 index 85ed31b..0000000 --- a/localzone-0.9.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:500af7367fc99d5a4705f7a90bcc4f4fa96f5dfcfabf7117d74f3c49f5c90dac -size 8992 diff --git a/python-localzone.changes b/python-localzone.changes index 8cafde7..e5e770e 100644 --- a/python-localzone.changes +++ b/python-localzone.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 7 11:59:56 UTC 2018 - Tomáš Chvátal + +- Switch to github tarball to run tests + ------------------------------------------------------------------- Tue Dec 4 14:19:36 UTC 2018 - Matej Cepl diff --git a/python-localzone.spec b/python-localzone.spec index cac08ff..936e7a6 100644 --- a/python-localzone.spec +++ b/python-localzone.spec @@ -20,12 +20,13 @@ Name: python-localzone Version: 0.9.4 Release: 0 -Summary: A simple library for managing DNS zones +Summary: A library for managing DNS zones License: BSD-3-Clause Group: Development/Languages/Python Url: https://localzone.iomaestro.com -Source: https://files.pythonhosted.org/packages/source/l/localzone/localzone-%{version}.tar.gz +Source: https://github.com/ags-slc/localzone/archive/v%{version}.tar.gz BuildRequires: %{python_module dnspython} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -47,6 +48,9 @@ A simple library for managing DNS zones. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} + %files %{python_files} %doc README.rst %license LICENSE diff --git a/v0.9.4.tar.gz b/v0.9.4.tar.gz new file mode 100644 index 0000000..a706912 --- /dev/null +++ b/v0.9.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:820e3ad3d9e672a1c4542f2f0768dcec00b388475b3cc4c8c1256eaa6a6529ac +size 22544