forked from pool/libfido2
Accepting request 639430 from home:kbabioch:branches:security
- Added patch: * fix-release-build.patch: Disables regression tests as proposed by upstream OBS-URL: https://build.opensuse.org/request/show/639430 OBS-URL: https://build.opensuse.org/package/show/security/libfido2?expand=0&rev=4
This commit is contained in:
parent
90ce2666ce
commit
9320b3e19c
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 1 16:35:14 UTC 2018 - Karol Babioch <kbabioch@suse.com>
|
||||
|
||||
- Added patch:
|
||||
* fix-release-build.patch: Disables regression tests as proposed by upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 1 06:56:58 UTC 2018 - Karol Babioch <kbabioch@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user