diff --git a/dist b/dist new file mode 100644 index 0000000000000000000000000000000000000000..9c0e36ec42a2d9bfefacb21ac6354c9ddd910533 --- /dev/null +++ b/dist @@ -0,0 +1 @@ +an8 diff --git a/download b/download new file mode 100644 index 0000000000000000000000000000000000000000..0347c2754212c26591a2ccf82d4e6345355fef45 --- /dev/null +++ b/download @@ -0,0 +1 @@ +b06d11cd14a64096f907086044f0fe38 iso8601-0.1.11.tar.gz diff --git a/iso8601-0.1.11.tar.gz b/iso8601-0.1.11.tar.gz deleted file mode 100644 index a137e83ef683938295e5539fc77c79f20e53f145..0000000000000000000000000000000000000000 Binary files a/iso8601-0.1.11.tar.gz and /dev/null differ diff --git a/python-iso8601.spec b/python-iso8601.spec index 5e12813a578c7721d2d443d93bfe42f63cc12cf8..7372c9b1482707348948fc7f0ff161a85939da14 100644 --- a/python-iso8601.spec +++ b/python-iso8601.spec @@ -6,9 +6,11 @@ This module parses the most common forms of ISO 8601 date strings \ (e.g. 2007-01-14T20:34:22+00:00) into datetime objects. +%bcond_without tests + Name: python-%{srcname} Version: 0.1.11 -Release: 9%{?dist} +Release: 12%{?dist} Summary: %{sum} License: MIT @@ -17,6 +19,7 @@ Source0: http://pypi.python.org/packages/source/i/%{srcname}/%{srcname}-% BuildArch: noarch BuildRequires: python-srpm-macros +BuildRequires: python3-pytest %description %{pkgdesc} @@ -69,6 +72,11 @@ export RHEL_ALLOW_PYTHON2_FOR_BUILD=1 %py3_other_install %endif +%if %{with tests} +%check +%pytest +%endif + %files -n python2-%{srcname} %doc LICENSE README.rst %{python2_sitelib}/* @@ -84,8 +92,17 @@ export RHEL_ALLOW_PYTHON2_FOR_BUILD=1 %endif %changelog -* Mon May 20 2019 Pablo Greco - 0.1.11-9 -- Fix BR +* Fri Aug 19 2022 Tomas Orsava - 0.1.11-12 +- Modify test for RHEL 8 +- Related: rhbz#2108089 + +* Thu Aug 18 2022 Tomáš Hrnčiar - 0.1.11-11 +- Enable tests +- Related: rhbz#2108089 + +* Wed Aug 10 2022 Tomáš Hrnčiar - 0.1.11-10 +- Fix BuildRequire in spec file +- Resolves: rhbz#2108089 * Mon Jun 25 2018 Petr Viktorin - 0.1.11-9 - Allow Python 2 for build