rebuilt with python3 [release 5.6-2mamba;Wed Dec 02 2020]
This commit is contained in:
parent
6f5e7196e7
commit
63f0fef6c3
@ -1,6 +1,6 @@
|
|||||||
Name: mercurial
|
Name: mercurial
|
||||||
Version: 5.6
|
Version: 5.6
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A scalable distributed Source Control Management system
|
Summary: A scalable distributed Source Control Management system
|
||||||
Group: Applications/Development
|
Group: Applications/Development
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -9,13 +9,13 @@ Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
|||||||
URL: http://selenic.com/mercurial
|
URL: http://selenic.com/mercurial
|
||||||
Source: http://www.selenic.com/mercurial/release/mercurial-%{version}.tar.gz
|
Source: http://www.selenic.com/mercurial/release/mercurial-%{version}.tar.gz
|
||||||
License: GPL
|
License: GPL
|
||||||
Requires: python >= %python_version
|
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: python-docutils
|
BuildRequires: python-docutils-py3
|
||||||
|
Requires: python3
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -33,15 +33,16 @@ A tool called that allows browsing the history of a repository in a GUI.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" python setup.py build
|
CFLAGS="%{optflags}" %{__python3} setup.py build
|
||||||
%make -C doc
|
|
||||||
|
%make -C doc PYTHON=%{__python3}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
python setup.py install \
|
%{__python3} setup.py install \
|
||||||
--root="%{buildroot}" \
|
--root="%{buildroot}" \
|
||||||
--install-headers=%{_includedir}/python \
|
--install-headers=%{_includedir}/python \
|
||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python3_sitearch} \
|
||||||
--record=.packlist
|
--record=.packlist
|
||||||
|
|
||||||
install -d %{buildroot}%{_mandir}/man1
|
install -d %{buildroot}%{_mandir}/man1
|
||||||
@ -57,7 +58,8 @@ rm -f .packlist
|
|||||||
|
|
||||||
%files -f .packlist
|
%files -f .packlist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python27_sitearch}/mercurial/__modulepolicy__.py*
|
%{python3_sitearch}/mercurial/__modulepolicy__.py*
|
||||||
|
%{python3_sitearch}/mercurial/__pycache__/__modulepolicy__.cpython*.pyc
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
%doc COPYING CONTRIBUTORS
|
%doc COPYING CONTRIBUTORS
|
||||||
@ -67,6 +69,9 @@ rm -f .packlist
|
|||||||
%{_bindir}/hgk
|
%{_bindir}/hgk
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6-2mamba
|
||||||
|
- rebuilt with python3
|
||||||
|
|
||||||
* Wed Nov 04 2020 Automatic Build System <autodist@mambasoft.it> 5.6-1mamba
|
* Wed Nov 04 2020 Automatic Build System <autodist@mambasoft.it> 5.6-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user