From 107d5625fcd954ef5b211078324884479f6a574c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Fri, 15 Sep 2023 13:36:54 +0200 Subject: [PATCH] do not package tests as documentation --- python-pycurl.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/python-pycurl.spec b/python-pycurl.spec index 54cea4f..1c2867f 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -23,7 +23,7 @@ Name: python-%{modname} Version: 7.45.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A Python interface to libcurl License: curl OR LGPL-2.1-or-later @@ -140,14 +140,12 @@ export PYCURL_SSL_LIBRARY=openssl export PYCURL_VSFTPD_PATH=vsftpd export PYTEST_ADDOPTS="--ignore examples -m 'not online'" make test PYTHON=%{__python3} PYTEST=%{pytest} PYFLAKES=true -rm -fv tests/fake-curl/libcurl/*.so -rm -fvr tests/__pycache__ %endif %if %{with python2} %files -n python2-%{modname} %license COPYING-LGPL COPYING-MIT -%doc ChangeLog README.rst examples doc tests +%doc ChangeLog README.rst examples doc %{python2_sitearch}/curl/ %{python2_sitearch}/%{modname}.so %{python2_sitearch}/%{modname}-%{version}-*.egg-info @@ -156,13 +154,16 @@ rm -fvr tests/__pycache__ %if %{with python3} %files -n python3-%{modname} %license COPYING-LGPL COPYING-MIT -%doc ChangeLog README.rst examples doc tests +%doc ChangeLog README.rst examples doc %{python3_sitearch}/curl/ %{python3_sitearch}/%{modname}.*.so %{python3_sitearch}/%{modname}-%{version}-*.egg-info %endif %changelog +* Fri Sep 15 2023 Lukáš Zaoral - 7.45.2-7 +- do not package tests as documentation + * Fri Sep 15 2023 Lukáš Zaoral - 7.45.2-6 - migrate to SPDX license format