diff --git a/libarcus.spec b/libarcus.spec index 44ee0ce..35e83a2 100644 --- a/libarcus.spec +++ b/libarcus.spec @@ -37,12 +37,7 @@ BuildRequires: git-core BuildRequires: (python3-setuptools if python3-devel >= 3.12) # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval -%if 0%{?fedora} >= 37 || 0%{?rhel} >= 10 ExcludeArch: %{ix86} -%endif - -# Get Fedora 33++ behavior on anything older -%undefine __cmake_in_source_build %description Arcus library contains C++ code and Python 3 bindings for creating a socket in @@ -70,7 +65,6 @@ Development files. Summary: Python 3 libArcus bindings Requires: %{name}%{?_isa} = %{version}-%{release} %{?_sip_api:Requires: python3-pyqt5-sip-api(%{_sip_api_major}) >= %{_sip_api}} -%{?python_provide:%python_provide python3-arcus} %description -n python3-arcus Arcus Python 3 bindings for creating a socket in a thread and using this @@ -89,11 +83,8 @@ rm -rf CMakeLists.txt cp -a %{SOURCE4} %{SOURCE5} %{SOURCE6} . cp -a pyArcus-%{version}/src/PythonMessage.cpp python/ -%patch1 -p1 -%patch2 -p1 -b .export - -# https://github.com/Ultimaker/libArcus/pull/94#issuecomment-505376760 -sed -i 's/Python3_SITELIB/Python3_SITEARCH/' cmake/SIPMacros.cmake +%patch -P1 -p1 +%patch -P2 -p1 -b .export %build %cmake -DBUILD_EXAMPLES:BOOL=OFF -DCMAKE_SKIP_RPATH:BOOL=ON