new version 6.0.1

This commit is contained in:
Shlomi Fish 2020-07-26 13:07:19 +03:00
parent 6a556b5729
commit 2b6be79f6b
3 changed files with 12 additions and 6 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
/freecell-solver-5.20.1.tar.xz
/freecell-solver-5.22.1.tar.xz
/freecell-solver-5.24.0.tar.xz
/freecell-solver-6.0.1.tar.xz

View File

@ -3,7 +3,7 @@
%global develname lib%{name}-devel
Name: freecell-solver
Version: 5.24.0
Version: 6.0.1
Release: 1%{?dist}
License: MIT
Source0: https://fc-solve.shlomifish.org/downloads/fc-solve/%{name}-%{version}.tar.xz
@ -150,14 +150,16 @@ Freecell Solver from within your programs.
%build
# The game limit flags are recommended by the PySolFC README.
%cmake -DLOCALE_INSTALL_DIR=%{_datadir}/locale -DLIB_INSTALL_DIR=%{_libdir} -DMAX_NUM_FREECELLS=8 -DMAX_NUM_STACKS=20 -DMAX_NUM_INITIAL_CARDS_IN_A_STACK=60 -DDISABLE_APPLYING_RPATH=TRUE
%make_build
%cmake_build
%check
%__rm -f t/t/tidyall.t
perl ./run-tests.pl
%__rm -f t/t/py-flake8.t t/t/tidyall.t
src="`pwd`"
cd "%{__cmake_builddir}"
perl "$src"/run-tests.pl
%install
%make_install
%cmake_install
bn="fc_solve_find_index_s2ints.py"
dest="%{buildroot}/%{python3_sitelib}"
src="%{buildroot}/%{_bindir}/$bn"
@ -170,6 +172,9 @@ chmod a-x "$dest/$bn"
find %{buildroot} -name *.a -delete
%changelog
* Sun Jul 26 2020 Shlomi Fish <shlomif@shlomifish.org> 6.0.1-1
- New version; convert to cmake macros.
* Tue Apr 14 2020 Shlomi Fish <shlomif@shlomifish.org> - 5.22.1-1
- New version

View File

@ -1 +1 @@
SHA512 (freecell-solver-5.24.0.tar.xz) = 264a7e016a5dbd093f126aab520b36c98c02111a3834ba09646ba527046973163aeefe41449e05d161d1790d2f599c6a3302402442b96b9bd524e97fc4f54b91
SHA512 (freecell-solver-6.0.1.tar.xz) = 4e8a810a6385cb448432a54a0791ed948bacd0e4b8d02dfa1a5aed4544846384c6921ca6322496387daba825930d6f9d9fa01bdc1e3e31094fc9e6d3b0ae78e5