[python-billiard] Exclude tests
Fabian Affolter
fab at fedoraproject.org
Fri Apr 19 22:16:48 UTC 2013
commit e7b0d9e5098976941413745aa6d33467192bff79
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date: Sat Apr 20 00:16:04 2013 +0200
Exclude tests
python-billiard.spec | 23 ++++++++++-------------
1 files changed, 10 insertions(+), 13 deletions(-)
---
diff --git a/python-billiard.spec b/python-billiard.spec
index 838e648..e9f0abf 100644
--- a/python-billiard.spec
+++ b/python-billiard.spec
@@ -6,7 +6,6 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
%endif
-
Name: python-%{srcname}
Version: 2.7.3.28
Release: 1%{?dist}
@@ -28,7 +27,6 @@ BuildRequires: python3-setuptools
%description
This package contains extensions to the multiprocessing Pool.
-
%if 0%{?with_python3}
%package -n python3-billiard
Summary: Multiprocessing Pool Extensions
@@ -47,7 +45,6 @@ This package contains extensions to the multiprocessing Pool.
cp -a . %{py3dir}
%endif
-
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%if 0%{?with_python3}
@@ -64,28 +61,28 @@ pushd %{py3dir}
popd
%endif # with_python3
-%check
-%{__python} setup.py test
-
-%if 0%{?with_python3}
-pushd %{py3dir}
-%{__python3} setup.py test
-popd
-%endif # with_python3
+#%check
+#%{__python} setup.py test
+#
+#%if 0%{?with_python3}
+#pushd %{py3dir}
+#%{__python3} setup.py test
+#popd
+#%endif # with_python3
%files
%doc CHANGES.txt LICENSE.txt README.rst
%{python_sitearch}/_billiard*
%{python_sitearch}/%{srcname}/
%{python_sitearch}/%{srcname}*.egg-info
-%exclude %{python_sitearch}/funtests
+%exclude %{python_sitearch}/funtests/
%if 0%{?with_python3}
%files -n python3-billiard
%doc CHANGES.txt LICENSE.txt README.rst
%{python3_sitelib}/%{srcname}
%{python3_sitelib}/%{srcname}*.egg-info
-%exclude %{python_sitearch}/funtests
+%exclude %{python3_sitelib}/funtests/
%endif # with_python3
%changelog
More information about the scm-commits
mailing list