diff --git a/libfido2.changes b/libfido2.changes index 17b3426..6b68578 100644 --- a/libfido2.changes +++ b/libfido2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 1 16:35:14 UTC 2018 - Karol Babioch + +- Added patch: + * fix-release-build.patch: Disables regression tests as proposed by upstream + ------------------------------------------------------------------- Mon Oct 1 06:56:58 UTC 2018 - Karol Babioch diff --git a/libfido2.spec b/libfido2.spec index 3f2277f..4b8e67c 100644 --- a/libfido2.spec +++ b/libfido2.spec @@ -26,6 +26,7 @@ Group: Productivity/Networking/Security URL: https://developers.yubico.com/ Source0: https://developers.yubico.com/libfido2/Releases/%{name}-%{version}.tar.gz Source1: https://developers.yubico.com/libfido2/Releases/%{name}-%{version}.tar.gz.sig +Patch0: fix-release-build.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libhidapi-devel @@ -61,11 +62,10 @@ use FIDO U2F and FIDO 2.0 protocols. %prep %setup -q -# Without regression test -sed -i "s|subdirs(regress)|# subdirs(regress)|" CMakeLists.txt +%patch0 -p1 %build -%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCBOR_LIBRARY_DIRS=%{_libdir} +%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCBOR_LIBRARY_DIRS=%{_libdir} -DCMAKE_BUILD_TYPE=Release make %{?_smp_mflags} %install