|
 |
de5ed67 |
%global pypi_name strict-rfc3339
|
|
 |
de5ed67 |
%global _description \
|
|
 |
de5ed67 |
Goals: \
|
|
 |
de5ed67 |
- Convert UNIX timestamps to and from RFC3339. \
|
|
 |
de5ed67 |
- Either produce RFC3339 strings with a UTC offset (Z) or with the offset that \
|
|
 |
de5ed67 |
the C time module reports is the local timezone offset. \
|
|
 |
de5ed67 |
- Simple with minimal dependencies/libraries. \
|
|
 |
de5ed67 |
- Avoid timezones as much as possible. \
|
|
 |
de5ed67 |
- Be very strict and follow RFC3339.
|
|
 |
de5ed67 |
|
|
 |
de5ed67 |
Name: python-%{pypi_name}
|
|
 |
de5ed67 |
Version: 0.7
|
|
 |
29152e1 |
Release: 8%{?dist}
|
|
 |
de5ed67 |
Summary: Strict, simple, lightweight RFC3339 functions
|
|
 |
de5ed67 |
|
|
 |
de5ed67 |
License: GPLv3
|
|
 |
de5ed67 |
URL: https://github.com/danielrichman/strict-rfc3339
|
|
 |
de5ed67 |
Source0: %{pypi_source}
|
|
 |
de5ed67 |
BuildArch: noarch
|
|
 |
de5ed67 |
|
|
 |
de5ed67 |
BuildRequires: python3-devel
|
|
 |
de5ed67 |
BuildRequires: python3dist(setuptools)
|
|
 |
de5ed67 |
|
|
 |
de5ed67 |
%description %{_description}
|
|
 |
de5ed67 |
|
|
 |
de5ed67 |
|
|
 |
de5ed67 |
%package -n python3-%{pypi_name}
|
|
 |
de5ed67 |
Summary: %{summary}
|
|
 |
de5ed67 |
%{?py_provides:%py_provides python3-%{pypi_name}}
|
|
 |
de5ed67 |
|
|
 |
de5ed67 |
%description -n python3-%{pypi_name} %{_description}
|
|
 |
de5ed67 |
|
|
 |
de5ed67 |
|
|
 |
de5ed67 |
%prep
|
|
 |
de5ed67 |
%autosetup -n %{pypi_name}-%{version}
|
|
 |
de5ed67 |
|
|
 |
de5ed67 |
%build
|
|
 |
de5ed67 |
%py3_build
|
|
 |
de5ed67 |
|
|
 |
de5ed67 |
%install
|
|
 |
de5ed67 |
%py3_install
|
|
 |
de5ed67 |
|
|
 |
de5ed67 |
%files -n python3-%{pypi_name}
|
|
 |
de5ed67 |
%license LICENSE
|
|
 |
de5ed67 |
%doc README.md README.txt
|
|
 |
de5ed67 |
%{python3_sitelib}/__pycache__/*
|
|
 |
de5ed67 |
%{python3_sitelib}/strict_rfc3339.py
|
|
 |
de5ed67 |
%{python3_sitelib}/strict_rfc3339-%{version}-py%{python3_version}.egg-info
|
|
 |
de5ed67 |
|
|
 |
de5ed67 |
%changelog
|
|
 |
29152e1 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-8
|
|
 |
29152e1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
29152e1 |
|
|
 |
c22a37d |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-7
|
|
 |
c22a37d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
c22a37d |
|
|
 |
5c1d6d7 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.7-6
|
|
 |
5c1d6d7 |
- Rebuilt for Python 3.11
|
|
 |
5c1d6d7 |
|
|
 |
684d54a |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-5
|
|
 |
684d54a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
684d54a |
|
|
 |
ad2fecd |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-4
|
|
 |
ad2fecd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
ad2fecd |
|
|
 |
619fa80 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.7-3
|
|
 |
619fa80 |
- Rebuilt for Python 3.10
|
|
 |
619fa80 |
|
|
 |
2f1be06 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
|
|
 |
2f1be06 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
2f1be06 |
|
|
 |
de5ed67 |
* Thu Oct 08 2020 Aurelien Bompard <abompard@fedoraproject.org> - 0.7-1
|
|
 |
de5ed67 |
- Initial package.
|