#2 Use cmake3 for EPEL7 compat
Closed 3 years ago by jjelen. Opened 3 years ago by orion.
rpms/ orion/yubico-piv-tool cmake3  into  master

file modified
+2 -2
@@ -13,7 +13,7 @@ 

  BuildRequires:	gnupg2 gengetopt help2man

  BuildRequires:	check-devel

  BuildRequires:	gcc gcc-c++

- BuildRequires:	cmake

+ BuildRequires:	cmake3

  Requires:		pcsc-lite-ccid


@@ -39,7 +39,7 @@ 

  %setup -q



- %cmake . -DYKPIV_INSTALL_PKGCONFIG_DIR=%{_libdir}/pkgconfig/

+ %cmake3 . -DYKPIV_INSTALL_PKGCONFIG_DIR=%{_libdir}/pkgconfig/

  %make_build VERBOSE=1



This should work on EPEL7 and all other current releases.

Thanks for suggestion. But for some reason, the cmake3 does not have ctest in epel7. But replacing the ctest commandline with simple make test makes it working fine again.

I will give it some more tries and issue also EPEL7 update.

This was already merged as fd3cf9

Pull-Request has been closed by jjelen

3 years ago