From af5fb688886e478c154d721f5718e3f461fdb525 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Oct 10 2017 16:10:34 +0000 Subject: Fix ruquires syntax --- diff --git a/python3.spec b/python3.spec index 395b8a7..45c66ec 100644 --- a/python3.spec +++ b/python3.spec @@ -437,7 +437,7 @@ the "%{name}-" prefix. %if %{with platform_python} # Main shim package: python3 requiring python36 -Requires: python%{python3_pkgversion} == %{version} +Requires: python%{python3_pkgversion} = %{version} %if %{with rewheel} Requires: python3-setuptools @@ -500,7 +500,7 @@ This package contains runtime libraries for use by Python:\ %if %{with platform_python} %package -n python3-libs Summary: Python runtime libraries -Requires: python%{python3_pkgversion}-libs == %{version} +Requires: python%{python3_pkgversion}-libs = %{version} %description -n python3-libs %{_description_libs} %endif @@ -536,7 +536,7 @@ It also contains the necessary macros to build RPM packages with Python modules. %if %{with platform_python} %package -n python3-devel Summary: Libraries and header files needed for Python development -Requires: python%{python3_pkgversion}-devel == %{version} +Requires: python%{python3_pkgversion}-devel = %{version} %description -n python3-devel %{_description_devel} %endif @@ -569,7 +569,7 @@ This package contains several tools included with Python, including:\ %if %{with platform_python} %package -n python3-tools Summary: A collection of tools included with Python including 2to3 and idle -Requires: python%{python3_pkgversion}-tools == %{version} +Requires: python%{python3_pkgversion}-tools = %{version} %description -n python3-tools %{_description_tools} %endif @@ -589,7 +589,7 @@ the Python programming language. %if %{with platform_python} %package -n python3-tkinter Summary: A GUI toolkit for Python -Requires: python%{python3_pkgversion}-tkinter == %{version} +Requires: python%{python3_pkgversion}-tkinter = %{version} %description -n python3-tkinter %{_description_tkinter} %endif @@ -613,7 +613,7 @@ ${name}-pytest or ${name}-nose. %if %{with platform_python} %package -n python3-test Summary: The self-test suite for the main python3 package -Requires: python%{python3_pkgversion}-test == %{version} +Requires: python%{python3_pkgversion}-test = %{version} %description -n python3-test %{_description_test} %endif @@ -657,7 +657,7 @@ so extensions for both verisons can co-exist in the same directory. %if %{with platform_python} %package -n python3-debug Summary: Debug version of the Python runtime -Requires: python%{python3_pkgversion}-debug == %{version} +Requires: python%{python3_pkgversion}-debug = %{version} %description -n python3-debug %{_description_debug} %endif # with platform_python