From 1fb3753c4c018386895df4855f0c1d8da1d463b4 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 2 Nov 2017 08:28:52 +0100 Subject: [PATCH] remove platform-python subpackage Next version will require more dependencies and they are not packaged for platform-python. Stop touching dead horse. Signed-off-by: Igor Gnatenko --- python-hypothesis.spec | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/python-hypothesis.spec b/python-hypothesis.spec index e34ddec..1e5f6b5 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -2,7 +2,6 @@ %bcond_without python2 %bcond_without python3 -%bcond_without platform_python Name: python-%{srcname} Version: 3.12.0 @@ -56,6 +55,7 @@ BuildRequires: python3-sphinx Suggests: python3-numpy Suggests: python3-pytz %endif +Obsoletes: platform-python-%{srcname} < 3.12.0-5 %description -n python3-%{srcname} Hypothesis is a library for testing your Python code against a much @@ -65,20 +65,6 @@ to integrate seamlessly into your existing Python unit testing work flow. %endif -%if %{with platform_python} -%package -n platform-python-%{srcname} -Summary: %{summary} -BuildRequires: platform-python-devel -BuildRequires: platform-python-setuptools - -%description -n platform-python-%{srcname} -Hypothesis is a library for testing your Python code against a much -larger range of examples than you would ever want to write by -hand. It’s based on the Haskell library, Quickcheck, and is designed -to integrate seamlessly into your existing Python unit testing work -flow. -%endif - %prep %autosetup -n %{srcname}-python-%{version} -p1 @@ -98,19 +84,11 @@ PYTHONPATH=src READTHEDOCS=True sphinx-build -b man docs docs/_build/man PYTHONPATH=src READTHEDOCS=True sphinx-build-3 -b man docs docs/_build/man %endif -%if %{with platform_python} -%platform_py_build -%endif - %install %if %{with python2} %py2_install %endif -%if %{with platform_python} -%platform_py_install -%endif - %if %{with python3} %py3_install %endif @@ -134,14 +112,6 @@ PYTHONPATH=src READTHEDOCS=True sphinx-build-3 -b man docs docs/_build/man %{_mandir}/man1/hypothesis.1* %endif -%if %{with platform_python} -%files -n platform-python-%{srcname} -%license LICENSE.txt -%doc README.rst -%{platform_python_sitelib}/* -%{_mandir}/man1/hypothesis.1* -%endif - %changelog * Thu Aug 24 2017 Miro Hrončok - 3.12.0-4 - Rebuilt for rhbz#1484607