drop hgdistver dependency by overriding setuptools-scm version (rhbz#1470305)

epel9
Ken Dreyer 8 years ago committed by Thomas Moschny
parent 78984c1be4
commit 6af9be4fec

@ -2,7 +2,7 @@
Name: python-%{srcname}
Version: 1.4.1
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Elastic Python Deployment
# package is now under the MIT license, (although the docs still say
# otherwise, see https://bitbucket.org/hpk42/execnet/issue/33), and
@ -16,7 +16,6 @@ BuildRequires: python2-setuptools
BuildRequires: python2-setuptools_scm
BuildRequires: python-apipkg
BuildRequires: pytest
BuildRequires: python-hgdistver
BuildRequires: python-eventlet
BuildRequires: python-gevent >= 1.0
BuildRequires: python3-devel
@ -24,7 +23,6 @@ BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-apipkg
BuildRequires: python3-pytest
BuildRequires: python3-hgdistver
# these do not exist
#BuildRequires: python3-eventlet
#BuildRequires: python3-gevent
@ -91,6 +89,7 @@ cp -a python2 python3
%build
SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
pushd python2
%py2_build
make -C doc html
@ -103,6 +102,7 @@ popd
%install
SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
pushd python2
%py2_install
# remove hidden file
@ -146,6 +146,9 @@ popd
%changelog
* Wed Jul 12 2017 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.4.1-6
- drop hgdistver dependency by overriding setuptools-scm version (rhbz#1470305)
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Loading…
Cancel
Save