Notification time stamped 2021-05-31 20:27:21 UTC
From e288e5da8265a6a930b1efd5e7245c14e91190df Mon Sep 17 00:00:00 2001
From: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: May 31 2021 20:27:10 +0000
Subject: Add workaround for the lack of pkgconfig in RHEL8 gtest
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
---
diff --git a/highway.spec b/highway.spec
index 8d9baa3..442fd20 100644
--- a/highway.spec
+++ b/highway.spec
@@ -1,13 +1,16 @@
# static library only
%global debug_package %nil
+# gtest in RHEL does not contain pkgconfig
+%global __requires_exclude
%{?__requires_exclude:%__requires_exclude|}^pkgconfig\\(gtest\\)$
+
%global common_description %{expand:
Highway is a C++ library for SIMD (Single Instruction, Multiple Data), i.e.
applying the same operation to 'lanes'.}
Name: highway
Version: 0.12.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Efficient and performance-portable SIMD
License: ASL 2.0
@@ -24,6 +27,7 @@ BuildRequires: gtest-devel
%package devel
Summary: Development files for Highway
Provides: highway-static = %{version}-%{release}
+Requires: gtest-devel
%description devel
%{common_description}
@@ -66,6 +70,9 @@ Documentation for Highway.
%doc g3doc hwy/examples
%changelog
+* Mon May 31 22:26:28 CEST 2021 Robert-André Mauchin <zebob.m(a)gmail.com> -
0.12.1-2
+- Add workaround for the lack of pkgconfig in RHEL8 gtest
+
* Sun May 23 19:03:29 CEST 2021 Robert-André Mauchin <zebob.m(a)gmail.com> -
0.12.1-1
- Update to 0.12.0
- Close: rhbz#1963675
https://src.fedoraproject.org/rpms/highway/c/e288e5da8265a6a930b1efd5e724...