Improve compatibility with new CMake macro

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Raits 2020-07-20 18:03:36 +02:00
parent 6b6e441630
commit 873d58f223
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E
1 changed files with 3 additions and 3 deletions

View File

@ -67,11 +67,11 @@ fi
sed -ri 's|install |&--root %{buildroot} |' python/CMakeLists.txt
%build
%cmake . -DCMAKE_INSTALL_LIBDIR=%{_lib}
%make_build
%cmake -DCMAKE_INSTALL_LIBDIR=%{_lib}
%cmake_build
%install
%make_install
%cmake_install
# Move cmake files to where they should go
if [ "%{_lib}" = "lib64" ]; then