From 7c341666a158f89229c9fea8950a44f63aab8ed9 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Jun 03 2019 22:58:47 +0000 Subject: Don't hard-code python's abi flags --- diff --git a/openvswitch.spec b/openvswitch.spec index 1c8bacb..9e8ca18 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -67,7 +67,7 @@ Name: openvswitch Summary: Open vSwitch daemon/database/utilities URL: http://www.openvswitch.org/ Version: 2.11.1 -Release: 1%{?commit0:.%{date}git%{shortcommit0}}%{?dist} +Release: 2%{?commit0:.%{date}git%{shortcommit0}}%{?dist} # Nearly all of openvswitch is ASL 2.0. The bugtool is LGPLv2+, and the # lib/sflow*.[ch] files are SISSL @@ -332,7 +332,7 @@ export CPPFLAGS="-I ../include" export LDFLAGS="%{__global_ldflags} -L $RPM_BUILD_ROOT%{_libdir}" %py3_build %py3_install -[ -f "$RPM_BUILD_ROOT/%{python3_sitearch}/ovs/_json.cpython-%{python3_version_nodots}m-%{_arch}-%{_target_os}%{?_gnu}.so" ] +[ -f "$RPM_BUILD_ROOT/%{python3_sitearch}/ovs/_json.cpython-%{python3_version_nodots}$(python3-config --abiflags)-%{_arch}-%{_target_os}%{?_gnu}.so" ] ) %endif popd @@ -569,6 +569,9 @@ chown -R openvswitch:openvswitch /etc/openvswitch %endif %changelog +* Mon Jun 03 2019 Charalampos Stratakis - 2.11.1-2 +- Don't hard-code python's abi flags + * Wed May 08 2019 Timothy Redaelli - 2.11.1-1 - Rebase to 2.11.1 - Ignore sortedcontainer python2.7 dependency (#1701921)