Blame python-strict-rfc3339.spec

71868cb
%global _description %{expand:
71868cb
Goals:
71868cb
- Convert UNIX timestamps to and from RFC3339.
71868cb
- Either produce RFC3339 strings with a UTC offset (Z) or with the offset that
71868cb
  the C time module reports is the local timezone offset.
71868cb
- Simple with minimal dependencies/libraries.
71868cb
- Avoid timezones as much as possible.
71868cb
- Be very strict and follow RFC3339.}
71868cb
71868cb
Name:           python-strict-rfc3339
de5ed67
Version:        0.7
71868cb
Release:        9%{?dist}
de5ed67
Summary:        Strict, simple, lightweight RFC3339 functions
de5ed67
71868cb
License:        GPL-3.0-only
de5ed67
URL:            https://github.com/danielrichman/strict-rfc3339
71868cb
Source:         %{pypi_source strict-rfc3339}
de5ed67
BuildArch:      noarch
de5ed67
de5ed67
BuildRequires:  python3-devel
71868cb
de5ed67
de5ed67
%description %{_description}
de5ed67
de5ed67
71868cb
%package -n     python3-strict-rfc3339
de5ed67
Summary:        %{summary}
de5ed67
71868cb
71868cb
%description -n python3-strict-rfc3339 %{_description}
de5ed67
de5ed67
de5ed67
%prep
71868cb
%autosetup -n strict-rfc3339-%{version}
71868cb
71868cb
71868cb
%generate_buildrequires
71868cb
%pyproject_buildrequires
71868cb
de5ed67
de5ed67
%build
71868cb
%pyproject_wheel
71868cb
de5ed67
de5ed67
%install
71868cb
%pyproject_install
71868cb
%pyproject_save_files strict_rfc3339
71868cb
71868cb
71868cb
%check
71868cb
%pyproject_check_import
71868cb
71868cb
71868cb
%files -n python3-strict-rfc3339 -f %{pyproject_files}
71868cb
%doc README.md
de5ed67
de5ed67
de5ed67
%changelog
71868cb
* Wed Feb 15 2023 Carl George <carl@george.computer> - 0.7-9
71868cb
- Convert to pyproject macros
71868cb
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.