- New version 0.24.0

This commit is contained in:
Shlomi Fish 2019-05-08 23:42:00 +03:00
parent 550d108305
commit ffaf1adb7f
4 changed files with 4 additions and 27 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/black-hole-solver-0.20.0.tar.xz
/black-hole-solver-0.22.0.tar.xz
/black-hole-solver-0.24.0.tar.xz

View File

@ -1,21 +0,0 @@
--- black-hole-solver-0.20.0/xxHash-wrapper/wrap_xxhash.h.orig 2019-05-08 17:45:12.677537490 +0300
+++ black-hole-solver-0.20.0/xxHash-wrapper/wrap_xxhash.h 2019-05-08 17:45:18.726498823 +0300
@@ -10,7 +10,6 @@
// wrap_xxhash.h
#pragma once
-#define XXH_PRIVATE_API
#include "xxhash.h"
#if SIZEOF_VOID_P == 4
--- black-hole-solver-0.20.0/CMakeLists.txt.orig 2019-04-25 13:16:38.000222097 +0300
+++ black-hole-solver-0.20.0/CMakeLists.txt 2019-04-25 13:17:14.864067712 +0300
@@ -169,7 +169,7 @@
ARCHIVE DESTINATION "lib${LIB_SUFFIX}"
)
-TARGET_LINK_LIBRARIES("${LIB_BASE}" ${LIBTOKYO_CAB_LIBS})
+TARGET_LINK_LIBRARIES("${LIB_BASE}" ${LIBTOKYO_CAB_LIBS} "xxhash")
LIST (APPEND BLACK_HOLE_SOLVER_LIBS "${LIB_BASE}")

View File

@ -5,12 +5,11 @@
%define develname lib%{basen}-devel
Name: %{basen}
Version: 0.22.0
Version: 0.24.0
Release: 1%{?dist}
# The entire source code is MIT except xxHash-0.6.5/ which is BSD
License: MIT and BSD
Source0: https://fc-solve.shlomifish.org/downloads/fc-solve/%{basen}-%{version}.tar.xz
Patch2: bhs-xxhash.patch
URL: https://www.shlomifish.org/open-source/projects/black-hole-solitaire-solver/
Requires: %{libname}%{?_isa} = %version-%release
Summary: The Black Hole Solitaire Solver Executable
@ -87,12 +86,10 @@ Development tools for the Black Hole Solitaire Solver.
%prep
%setup -q
%autopatch -p1
rm -fr xxHash*/xxHash*
%build
# The game limit flags are recommended by the PySolFC README.
%cmake -DLOCALE_INSTALL_DIR=%{_datadir}/locale -DLIB_INSTALL_DIR=%{_libdir} -DBUILD_STATIC_LIBRARY= -DDISABLE_APPLYING_RPATH=TRUE
%cmake -DLOCALE_INSTALL_DIR=%{_datadir}/locale -DLIB_INSTALL_DIR=%{_libdir} -DBUILD_STATIC_LIBRARY= -DDISABLE_APPLYING_RPATH=TRUE -DUSE_SYSTEM_XHASH=TRUE
%make_build
%check

View File

@ -1 +1 @@
SHA512 (black-hole-solver-0.22.0.tar.xz) = 0862de3d31d2779906151017397f49545f49cf634a8597601ee1ead952989d018ed3704259791584449fdeb3a876888bd090a79481bbe46f24af43eb123861ae
SHA512 (black-hole-solver-0.24.0.tar.xz) = aedef1e97e1a55c11ba0952693bbf6312a97a9f3127ab1668c030769284751dc55a8010b273077f5d231c708997d4fc7a5b4438e2a161d7d55c86310e4a4f963