From 6af9be4fec7b69120cc6241b1c8a9400a1d23891 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Sat, 15 Jul 2017 12:51:19 +0200 Subject: [PATCH] drop hgdistver dependency by overriding setuptools-scm version (rhbz#1470305) --- python-execnet.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-execnet.spec b/python-execnet.spec index db2063e..b34cb61 100644 --- a/python-execnet.spec +++ b/python-execnet.spec @@ -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 - 1.4.1-6 +- drop hgdistver dependency by overriding setuptools-scm version (rhbz#1470305) + * Sat Feb 11 2017 Fedora Release Engineering - 1.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild