Browse Source

hyperscan-5.4.0-2

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
212ca8d877
1 changed files with 8 additions and 5 deletions
  1. 8 5
      h/hyperscan/hyperscan-vl.spec

+ 8 - 5
h/hyperscan/hyperscan-vl.spec

@@ -1,6 +1,6 @@
 Name:           hyperscan
 Version:        5.4.0
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 Summary:        High-performance regular expression matching library
 Group:          system
 Vendor:         Project Vine
@@ -10,11 +10,12 @@ License:        BSD
 URL:            https://www.hyperscan.io/
 Source0:        https://github.com/intel/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch0:         hyperscan-5.4.0-fix-compilation-error.patch
+Patch1:         hyperscan-glibc234.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  libboost-devel
 BuildRequires:  cmake
-BuildRequires:  pcre-devel
+BuildRequires:  pcre2-devel
 BuildRequires:  python
 BuildRequires:  ragel
 BuildRequires:  sqlite3-devel
@@ -70,14 +71,13 @@ export CXXFLAGS="%{optflags} -DBOOST_ALLOW_DEPRECATED_HEADERS"
 #cmake -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_AND_SHARED:BOOL=OFF .
 # workaround for https://github.com/intel/hyperscan/issues/186
 %cmake \
-	-DCMAKE_BUILD_TYPE=Release \
 	-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
 	-DCMAKE_INSTALL_PREFIX:PATH=/usr \
 	-DCMAKE_INSTALL_LIBDIR=%{_lib} \
 	-DINCLUDE_INSTALL_DIR:PATH=/usr/include \
 	-DSYSCONF_INSTALL_DIR:PATH=/etc \
-	-DBUILD_STATIC_AND_SHARED=ON \
-	.
+	-DBUILD_SHARED_LIBS:BOOL=ON \
+	-DBUILD_STATIC_AND_SHARED:BOOL=OFF
 
 %cmake_build
 
@@ -103,6 +103,9 @@ rm -f %{buildroot}%{_libdir}/*.a
 
 
 %changelog
+* Wed Nov 02 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.4.0-2
+- rebuilt with current environment.
+
 * Mon Jul 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.4.0-1
 - new upstream release.
 - imported Patch0 from upstream.