89 lines
2.9 KiB
RPMSpec
89 lines
2.9 KiB
RPMSpec
Name: python-decorator
|
|
Version: 5.1.1
|
|
Release: 3mamba
|
|
Summary: A Python moduke to simplify the usage and to popularize decorators
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://pypi.org/project/decorator/
|
|
Source: http://pypi.debian.net/decorator/decorator-%{version}.tar.gz
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython3-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
The aim of the Python decorator module it to simplify the usage and to popularize decorators.
|
|
|
|
%if 0%{?with_pyver}
|
|
%pyver_package
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n decorator-%{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 %{?pyappend} -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
%dir %{python_sitearch}/decorator-%{version}-py*.egg-info
|
|
%{python_sitearch}/decorator-%{version}-py*.egg-info/*
|
|
|
|
%changelog
|
|
* Wed Apr 05 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.1-3mamba
|
|
- rebuilt with python 3.10
|
|
|
|
* Sat Feb 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.1-2mamba
|
|
- rebuilt with distdeps
|
|
|
|
* Thu Jan 13 2022 Automatic Build System <autodist@mambasoft.it> 5.1.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Sep 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.2-2mamba
|
|
- rebuilt with py3* packages
|
|
|
|
* Wed Mar 04 2020 Automatic Build System <autodist@mambasoft.it> 4.4.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Nov 14 2019 Automatic Build System <autodist@mambasoft.it> 4.4.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 13 2019 Automatic Build System <autodist@mambasoft.it> 4.4.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 29 2019 Automatic Build System <autodist@mambasoft.it> 4.3.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Apr 20 2018 Automatic Build System <autodist@mambasoft.it> 4.3.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jan 15 2018 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 4.1.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jan 25 2017 Automatic Build System <autodist@mambasoft.it> 4.0.11-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jun 11 2016 Automatic Build System <autodist@mambasoft.it> 4.0.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Mar 01 2016 Automatic Build System <autodist@mambasoft.it> 4.0.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jan 23 2016 Davide Madrisan <davide.madrisan@gmail.com> 4.0.6-1mamba
|
|
- package created using the webbuild interface |