74 lines
2.2 KiB
RPMSpec
74 lines
2.2 KiB
RPMSpec
Name: python-isodate
|
|
Version: 0.6.1
|
|
Release: 2mamba
|
|
Summary: An ISO 8601 date/time/duration parser and formatter
|
|
Group: System/Libraries/Python
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://pypi.org/project/isodate/
|
|
Source: https://pypi.debian.net/isodate/isodate-%{version}.tar.gz
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython3-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%if 0%{?with_pyver}
|
|
%pyver_package
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n isodate-%{version}
|
|
|
|
%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} \
|
|
--single-version-externally-managed \
|
|
--record=%{name}.filelist
|
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|
|
* Sun Sep 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1-2mamba
|
|
- rebuilt with python 3.10
|
|
|
|
* Tue Dec 14 2021 Automatic Build System <autodist@mambasoft.it> 0.6.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.0-2mamba
|
|
- rebuilt with python3
|
|
|
|
* Tue May 01 2018 Automatic Build System <autodist@mambasoft.it> 0.6.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Nov 03 2015 Automatic Build System <autodist@mambasoft.it> 0.5.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Dec 03 2014 Automatic Build System <autodist@mambasoft.it> 0.5.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Feb 27 2014 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.9-2mamba
|
|
- python 2.7 mass rebuild
|
|
|
|
* Tue Oct 30 2012 Automatic Build System <autodist@mambasoft.it> 0.4.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Sep 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.8-1mamba
|
|
- package created by autospec
|