Compare commits
No commits in common. "a8" and "c8s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
5
.gitignore
vendored
5
.gitignore
vendored
@ -1 +1,4 @@
|
|||||||
SOURCES/iso8601-0.1.11.tar.gz
|
iso8601-0.1.4.tar.gz
|
||||||
|
/iso8601-0.1.8.tar.gz
|
||||||
|
/iso8601-0.1.10.tar.gz
|
||||||
|
/iso8601-0.1.11.tar.gz
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
d7af90c7f01c8b62a9d8c0bf26badf2a903ccf70 SOURCES/iso8601-0.1.11.tar.gz
|
|
||||||
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-8
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
|
|
||||||
@ -6,9 +6,11 @@
|
|||||||
This module parses the most common forms of ISO 8601 date strings \
|
This module parses the most common forms of ISO 8601 date strings \
|
||||||
(e.g. 2007-01-14T20:34:22+00:00) into datetime objects.
|
(e.g. 2007-01-14T20:34:22+00:00) into datetime objects.
|
||||||
|
|
||||||
|
%bcond_without tests
|
||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 0.1.11
|
Version: 0.1.11
|
||||||
Release: 9%{?dist}.alma
|
Release: 12%{?dist}
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -17,6 +19,7 @@ Source0: http://pypi.python.org/packages/source/i/%{srcname}/%{srcname}-%
|
|||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python-srpm-macros
|
BuildRequires: python-srpm-macros
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
|
||||||
%description %{pkgdesc}
|
%description %{pkgdesc}
|
||||||
|
|
||||||
@ -69,6 +72,11 @@ export RHEL_ALLOW_PYTHON2_FOR_BUILD=1
|
|||||||
%py3_other_install
|
%py3_other_install
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with tests}
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n python2-%{srcname}
|
%files -n python2-%{srcname}
|
||||||
%doc LICENSE README.rst
|
%doc LICENSE README.rst
|
||||||
%{python2_sitelib}/*
|
%{python2_sitelib}/*
|
||||||
@ -84,8 +92,17 @@ export RHEL_ALLOW_PYTHON2_FOR_BUILD=1
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Dec 07 2021 Eduard Abdullin <eabdullin@almalinux.org> - 0.1.11-9.alma
|
* Fri Aug 19 2022 Tomas Orsava <torsava@redhat.com> - 0.1.11-12
|
||||||
- Fix BuildRequires
|
- Modify test for RHEL 8
|
||||||
|
- Related: rhbz#2108089
|
||||||
|
|
||||||
|
* Thu Aug 18 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 0.1.11-11
|
||||||
|
- Enable tests
|
||||||
|
- Related: rhbz#2108089
|
||||||
|
|
||||||
|
* Wed Aug 10 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 0.1.11-10
|
||||||
|
- Fix BuildRequire in spec file
|
||||||
|
- Resolves: rhbz#2108089
|
||||||
|
|
||||||
* Mon Jun 25 2018 Petr Viktorin <pviktori@redhat.com> - 0.1.11-9
|
* Mon Jun 25 2018 Petr Viktorin <pviktori@redhat.com> - 0.1.11-9
|
||||||
- Allow Python 2 for build
|
- Allow Python 2 for build
|
||||||
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (iso8601-0.1.11.tar.gz) = 19f5443aae4e3f93b0521a7215318c2833bcca5740ea05f9a6d5771bff2aaeb5626ba26e5ba64efae135bf9420a1810854969dad845aaf67089d5e6898a254a0
|
||||||
6
test_testsuite.fmf
Normal file
6
test_testsuite.fmf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
framework: shell
|
||||||
|
require:
|
||||||
|
- python3
|
||||||
|
- python3-pytest
|
||||||
|
- python3-iso8601
|
||||||
|
test: pytest-3 --pyargs iso8601.test_iso8601
|
||||||
Loading…
Reference in New Issue
Block a user