From: Jakub Bogusz Date: Wed, 17 Jan 2024 16:30:35 +0000 (+0100) Subject: - don't package tests; release 2 X-Git-Tag: auto/th/python-cliff-2.18.0-2 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=269233ed21a587583d0a15fbfaa433186aa74240;p=packages%2Fpython-cliff.git - don't package tests; release 2 --- diff --git a/python-cliff.spec b/python-cliff.spec index 2a0ca8f..c4df141 100644 --- a/python-cliff.spec +++ b/python-cliff.spec @@ -9,7 +9,7 @@ Summary(pl.UTF-8): Command Line Interface Formulation Framework - szkielet formu Name: python-cliff # keep 2.x here for python2 support Version: 2.18.0 -Release: 1 +Release: 2 License: Apache Group: Libraries/Python Source0: https://files.pythonhosted.org/packages/source/c/cliff/cliff-%{version}.tar.gz @@ -126,10 +126,14 @@ rm -rf $RPM_BUILD_ROOT %py_install %py_postclean + +%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/cliff/tests %endif %if %{with python3} %py3_install + +%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/cliff/tests %endif %if %{with python2}