Looks like python module wrong directory may be related to the fact that I'm 
using %cmake macro which in my case looks like below
```spec
%cmake %{set_build_flags} \
        %__cmake \\\
        -B %{_vpath_builddir} \\\
        -D BUILD_SHARED_LIBS=ON \\\
        -D CMAKE_AR="$AR" \\\
        -D CMAKE_BUILD_TYPE=RelWithDebInfo \\\
        -D CMAKE_C_FLAGS_RELEASE="-DNDEBUG" \\\
        -D CMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \\\
        -D CMAKE_Fortran_FLAGS_RELEASE="-DNDEBUG" \\\
        -D CMAKE_INSTALL_PREFIX=%{_prefix} \\\
        -D CMAKE_NM="$NM" \\\
        -D CMAKE_RANLIB="$RANLIB" \\\
        -D CMAKE_VERBOSE_MAKEFILE=ON \\\
        -D INCLUDE_INSTALL_DIR=%{_includedir} \\\
        -D LIB_INSTALL_DIR=%{_libdir} \\\
%if "%{?_lib}" == "lib64" \
        -D LIB_SUFFIX=64 \\\
%endif \
        -D SHARE_INSTALL_PREFIX=%{_datadir} \\\
        -D SYSCONF_INSTALL_DIR=%{_sysconfdir} \\\
        -S %{_vpath_srcdir}
```



-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2650#issuecomment-1711391974
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2650/1711391...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to