From f0ab838f836dec2d7412ccd120d8f9d2cbf10414 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 23 Dec 2021 09:37:27 -0500 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20generate=20BuildRequires=20on?= =?UTF-8?q?=20twine?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python-OWSLib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-OWSLib.spec b/python-OWSLib.spec index b005afd..c7d6afd 100644 --- a/python-OWSLib.spec +++ b/python-OWSLib.spec @@ -62,7 +62,10 @@ sed -r -i 's/[-]-cov[^[:blank:]]*[[:blank:]][^[[:blank:]]+//g' tox.ini # We don’t have python3dist(pandoc) packaged, and besides, we don’t actually # need python3dist(pandoc)—only the pandoc command-line tool, which we have # manually BR’d. -sed -r '/^(flake8|pytest-cov|pandoc|coverage|coveralls)\b/d' \ +# +# Don’t generate twine dependency, which is just for the upstream maintainer +# uploading to PyPI. +sed -r '/^(flake8|pytest-cov|pandoc|coverage|coveralls|twine)\b/d' \ requirements-dev.txt > requirements-dev-filtered.txt # We don’t need shebangs in the examples. The pattern of selecting files