70 lines
2.2 KiB
RPMSpec
70 lines
2.2 KiB
RPMSpec
Name: python-arrow
|
|
Version: 0.15.1
|
|
Release: 1mamba
|
|
Summary: Better dates and times for Python
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
|
URL: https://arrow.readthedocs.org
|
|
Source: https://pypi.python.org/packages/source/a/arrow/arrow-%{version}.tar.gz
|
|
License: Apache License 2.0
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: python >= %python_version
|
|
Requires: python-dateutil
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%prep
|
|
%setup -q -n arrow-%{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} \
|
|
--record=%{name}.filelist
|
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
%files -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|
|
* Thu Sep 12 2019 Automatic Build System <autodist@mambasoft.it> 0.15.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Sep 11 2019 Automatic Build System <autodist@mambasoft.it> 0.15.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Aug 12 2019 Automatic Build System <autodist@mambasoft.it> 0.14.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Aug 05 2019 Automatic Build System <autodist@mambasoft.it> 0.14.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jul 29 2019 Automatic Build System <autodist@mambasoft.it> 0.14.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jun 05 2019 Automatic Build System <autodist@mambasoft.it> 0.14.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Feb 21 2019 Automatic Build System <autodist@mambasoft.it> 0.13.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue May 01 2018 Automatic Build System <autodist@mambasoft.it> 0.12.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jul 02 2015 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.5.4-1mamba
|
|
- package created using the webbuild interface
|