2024-01-05 16:30:01 +01:00
|
|
|
Name: python-pyrfc3339
|
2024-11-25 16:54:30 +01:00
|
|
|
Version: 2.0.1
|
|
|
|
Release: 1mamba
|
2024-01-05 16:30:01 +01:00
|
|
|
Summary: Generate and parse RFC 3339 timestamps
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/kurtraschke/pyRFC3339
|
2024-11-25 16:54:30 +01:00
|
|
|
Source: https://pypi.debian.net/pyRFC3339/pyrfc3339-%{version}.tar.gz
|
2024-01-05 16:30:01 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:30:01 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-05 16:30:01 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:30:01 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-05 16:30:01 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
%prep
|
2024-11-25 16:54:30 +01:00
|
|
|
%setup -q -n pyrfc3339-%{version}
|
2024-01-05 16:30:01 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:30:01 +01:00
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:30:01 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:30:01 +01:00
|
|
|
%dir %{python_sitearch}/pyRFC3339-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/pyRFC3339-%{version}-py*.egg-info/*
|
2024-01-05 16:30:01 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-11-25 16:54:30 +01:00
|
|
|
* Sun Nov 24 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
|
|
|
|
- update to 2.0.1
|
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 1.1-5mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
* Tue Jul 18 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-4mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
* Fri Apr 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-3mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-2mamba
|
|
|
|
- rebuilt with py3* packages
|
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
* Sun Jun 17 2018 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:01 +01:00
|
|
|
* Sat Dec 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
|
|
|
|
- package created using the webbuild interface
|