From b67c85cb4dee75e3b38f8f3bf41480ec33c96c94 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 3 Nov 2017 18:37:49 +0100 Subject: [PATCH] be more explicit in file lists Signed-off-by: Igor Gnatenko --- pytest.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pytest.spec b/pytest.spec index cd1cb07..72c628e 100644 --- a/pytest.spec +++ b/pytest.spec @@ -140,7 +140,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ %{_bindir}/py.test %{_bindir}/py.test-2 %{_bindir}/py.test-%{python2_version} -%{python2_sitelib}/* +%{python2_sitelib}/pytest-*.egg-info/ +%{python2_sitelib}/_pytest/ +%{python2_sitelib}/pytest.py* %files -n python3-%{name} %doc CHANGELOG.html @@ -152,8 +154,10 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ %{_bindir}/pytest-%{python3_version} %{_bindir}/py.test-3 %{_bindir}/py.test-%{python3_version} -%{python3_sitelib}/* -%exclude %dir %{python3_sitelib}/__pycache__ +%{python3_sitelib}/pytest-*.egg-info/ +%{python3_sitelib}/_pytest/ +%{python3_sitelib}/pytest.py +%{python3_sitelib}/__pycache/pytest.* %changelog * Fri Nov 03 2017 Igor Gnatenko - 3.2.3-2