diff --git a/python-serpent.changes b/python-serpent.changes index b838a6b..3d45f51 100644 --- a/python-serpent.changes +++ b/python-serpent.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Apr 2 06:58:58 UTC 2019 - pgajdos@suse.com + +- version update to 1.28 + * the souce dist archive now contains the unit tests as well +- run the testsuite + ------------------------------------------------------------------- Wed Mar 6 09:33:03 UTC 2019 - Tomáš Chvátal diff --git a/python-serpent.spec b/python-serpent.spec index 59617ed..da41dd0 100644 --- a/python-serpent.spec +++ b/python-serpent.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-serpent -Version: 1.27 +Version: 1.28 Release: 0 Summary: Serialization based on astliteral_eval License: MIT @@ -29,6 +29,11 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-enum34 BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module attrs} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytz} +# /SECTION BuildArch: noarch %ifpython2 Requires: python-enum34 @@ -48,6 +53,9 @@ and de-serialize it there. %build %python_build +%check +%pytest + %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} diff --git a/serpent-1.27.tar.gz b/serpent-1.27.tar.gz deleted file mode 100644 index f38d384..0000000 --- a/serpent-1.27.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6f8dc4317fb5b5a9629b5e518846bc9fee374b8171533726dc68df52b36ee912 -size 12758 diff --git a/serpent-1.28.tar.gz b/serpent-1.28.tar.gz new file mode 100644 index 0000000..5dcd894 --- /dev/null +++ b/serpent-1.28.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f306336ca09aa38e526f3b03cab58eb7e45af09981267233167bcf3bfd6436ab +size 26912