automatic version update by autodist [release 1.7.0-1mamba;Mon Jan 23 2023]
This commit is contained in:
parent
c71367d564
commit
9649dc22fb
@ -1,6 +1,6 @@
|
|||||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
Name: python-rope
|
Name: python-rope
|
||||||
Version: 0.23.0
|
Version: 1.7.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A python refactoring library
|
Summary: A python refactoring library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -12,7 +12,9 @@ Source: https://pypi.debian.net/rope/rope-%{version}.tar.gz
|
|||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython3-devel
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: python3.7dist(pytoolconfig)
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: python >= %python_version
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
@ -25,30 +27,33 @@ BuildRequires: libpython3-devel
|
|||||||
%setup -q -n rope-%{version}
|
%setup -q -n rope-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
%{__python} setup.py install \
|
||||||
|
-O1 --skip-build \
|
||||||
|
--root="%{buildroot}" \
|
||||||
|
--install-headers=%{_includedir}/python \
|
||||||
|
--install-lib=%{python_sitearch} \
|
||||||
|
--record=%{name}.filelist
|
||||||
|
|
||||||
#%if "%{?with_pyver}" != "3"
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
## Rename any conflicting file outside of python site packages tree
|
|
||||||
#for f in %{_bindir}/pdm; do
|
|
||||||
# mv %{buildroot}${f}{,-%{?pyappend}}
|
|
||||||
#done
|
|
||||||
#%endif
|
|
||||||
|
|
||||||
%files %{?pyappend}
|
#chmod -R +r %{buildroot}%{python_sitearch}/rope-%{version}-py*.egg-info
|
||||||
|
|
||||||
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
||||||
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
||||||
%dir %{python_sitelib}/%{pkgname}
|
|
||||||
%{python_sitelib}/%{pkgname}/*
|
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Nov 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.23.0-1mamba
|
* Mon Jan 23 2023 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
||||||
- update to 0.23.0
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Oct 29 2022 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Wed Nov 24 2021 Automatic Build System <autodist@mambasoft.it> 0.22.0-1mamba
|
* Wed Nov 24 2021 Automatic Build System <autodist@mambasoft.it> 0.22.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
Loading…
Reference in New Issue
Block a user