Compare commits

...

25 Commits
f31 ... rawhide

Author SHA1 Message Date
Fedora Release Engineering
b01609e78e Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 20:10:32 +00:00
Python Maint
e8153e1d05 Rebuilt for Python 3.12 2023-07-05 08:09:21 +02:00
Fedora Release Engineering
8fdec6f654 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 03:50:17 +00:00
Shlomi Fish
4821249499 new version 6.8.0 2022-10-20 15:17:08 +03:00
Shlomi Fish
4b3bbca8af update changelog 2022-08-03 09:46:18 +03:00
Miro Hrončok
1554e6cdc6 BuildRequire python3-devel
See https://bugzilla.redhat.com/show_bug.cgi?id=2113231#c5
and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_buildrequire_python3_devel
2022-08-02 16:21:28 +02:00
Shlomi Fish
ab5083092b ldd fix 2022-08-02 04:07:22 +03:00
Fedora Release Engineering
b78951b5b1 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 03:33:58 +00:00
Fedora Release Engineering
68b0879f37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 03:22:15 +00:00
Shlomi Fish
c62f045eb8 new version 6.6.0 2021-10-09 14:11:18 +03:00
Shlomi Fish
576f578ea5 new version 6.4.0 2021-09-28 12:09:14 +03:00
Fedora Release Engineering
07982316cc - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 23:18:42 +00:00
Fedora Release Engineering
363325a593 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 05:52:30 +00:00
Shlomi Fish
72bbeac427 New version 6.2.0 2020-10-15 19:40:48 +03:00
Fedora Release Engineering
efb969923d - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 17:46:38 +00:00
Shlomi Fish
2b6be79f6b new version 6.0.1 2020-07-26 13:07:19 +03:00
Shlomi Fish
6a556b5729 new version 5.24.0 2020-05-06 14:24:07 +03:00
Shlomi Fish
179b0b3d59 new version 5.22.1 2020-04-14 12:34:40 +03:00
Shlomi Fish
3233768c22 - New version 5.20.1 2020-03-05 12:08:40 +02:00
Shlomi Fish
c89b372bb3 - New version 5.20.1 2020-03-05 11:48:25 +02:00
Shlomi Fish
6a9f29f90d - New version 5.20.0 2020-02-29 17:32:00 +02:00
Shlomi Fish
add4c5bb27 - New version 5.18.0 2020-02-14 16:26:20 +02:00
Fedora Release Engineering
f9e440176b - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 18:55:22 +00:00
Shlomi Fish
1ba653736c - New version 5.16.0 2019-12-30 17:18:53 +02:00
Shlomi Fish
2a50593010 - New version 5.14.0 2019-09-03 15:47:47 +03:00
6 changed files with 113 additions and 144 deletions

12
.gitignore vendored
View File

@ -4,3 +4,15 @@
/freecell-solver-5.8.0.tar.xz
/freecell-solver-5.10.0.tar.xz
/freecell-solver-5.12.0.tar.xz
/freecell-solver-5.14.0.tar.xz
/freecell-solver-5.16.0.tar.xz
/freecell-solver-5.18.0.tar.xz
/freecell-solver-5.20.0.tar.xz
/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
/freecell-solver-6.2.0.tar.xz
/freecell-solver-6.4.0.tar.xz
/freecell-solver-6.6.0.tar.xz
/freecell-solver-6.8.0.tar.xz

View File

@ -0,0 +1,39 @@
diff --git a/fc-solve/source/run-tests.pl b/fc-solve/source/run-tests.pl
index e49988a0f..4575621a7 100644
--- a/fc-solve/source/run-tests.pl
+++ b/fc-solve/source/run-tests.pl
@@ -107,33 +107,7 @@ my %binaries;
} values %{ FC_Solve::Test::Valgrind::Data->get_hash };
use Digest ();
-if ( $FC_Solve::Paths::Base::IS_WIN || $force_rebuild )
-{
- ++$rerun;
-}
-else
-{
- foreach my $prog ( keys %progs )
- {
- say $prog;
- die if !-e $prog;
- foreach my $bin ( $prog, `ldd "$prog"` =~ m# => (\S+)#g )
- {
- say "bin $prog $bin";
- $progs{$prog}{binaries}{$bin} //= (
- $binaries{$bin} //= do
- {
- Digest->new('SHA-256')->addfile($bin)->b64digest;
- }
- );
- }
- my $val = $cache->get( $progs{$prog} );
- if ( !$val )
- {
- ++$rerun;
- }
- }
-}
+++$rerun;
$glob_was_set ||= $exclude_re_s;
sub myglob

View File

@ -1,111 +0,0 @@
--- freecell-solver-5.6.0/t/CMakeLists.txt.orig 2019-04-18 22:49:30.701874513 +0300
+++ freecell-solver-5.6.0/t/CMakeLists.txt 2019-04-18 22:49:41.059812941 +0300
@@ -45,48 +45,13 @@
IF (FCS_WITH_TEST_SUITE)
- SET (MODULE "Task::FreecellSolver::Testing")
- EXECUTE_PROCESS (
- COMMAND "${PERL_EXECUTABLE}" "-M${MODULE}=" "-e" "exit(0)"
- RESULT_VARIABLE "RESULT"
- )
- IF (NOT RESULT EQUAL 0)
- MESSAGE(FATAL_ERROR "You need the Perl 5/CPAN distribution ${MODULE} to run the test suite. Either skip the test suite using -DFCS_WITH_TEST_SUITE=OFF or see http://perl-begin.org/topics/cpan/ for installing from CPAN.")
- ENDIF ()
-
- FIND_LIBRARY(LIBTAP_LIB tap)
- IF (NOT LIBTAP_LIB)
- MESSAGE (FATAL_ERROR
-"You must install libtap ( http://www.shlomifish.org/open-source/projects/libtap/ ) and its development package or headers to run the test suite.
-If you're not interested in building it, run cmake with the -DFCS_WITH_TEST_SUITE= flag."
- )
- ENDIF ()
MY_FIND_GMP ("to run the test suite." "FCS_WITH_TEST_SUITE")
INCLUDE_DIRECTORIES (BEFORE "${CMAKE_BINARY_DIR}")
- MY_ADD_EXE (
- "card-test-render.t.exe"
- "card-test-render.c"
- )
-
- MY_ADD_EXE (
- "card-test-parse.t.exe"
- "card-test-parse.c"
- )
-
FILE (MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/t")
FILE (MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/verify-cache")
- SET (EXE_FILE "bit-reader-and-writer-test.t.exe")
-
- ADD_EXECUTABLE(
- "${EXE_FILE}"
- "${CMAKE_CURRENT_SOURCE_DIR}/bit-reader-and-writer-test.c"
- )
-
- TARGET_LINK_LIBRARIES (${EXE_FILE} ${LIBTAP_LIB})
-
SET_SOURCE_FILES_PROPERTIES (
"bit-reader-and-writer-test.c"
PROPERTIES
@@ -95,59 +60,10 @@
IF ("${DEBONDT_DELTA_STATES}")
- SET (EXE_FILE "delta-states-debondt-test.t.exe")
-
- ADD_EXECUTABLE(
- "${EXE_FILE}"
- "${CMAKE_CURRENT_SOURCE_DIR}/debondt-delta-states-test.c"
- )
-
- TARGET_LINK_LIBRARIES (${EXE_FILE} ${LIBTAP_LIB} ${LIBGMP_LIB})
-
- SET_SOURCE_FILES_PROPERTIES (
- "delta-states-test.c"
- PROPERTIES
- OBJECT_DEPENDS
- "${CMAKE_CURRENT_SOURCE_DIR}/../delta_states_debondt.c"
- GENERATED "1"
- )
-
ELSE ()
- SET (EXE_FILE "delta-states-test.t.exe")
-
- ADD_EXECUTABLE(
- "${EXE_FILE}"
- "${CMAKE_CURRENT_SOURCE_DIR}/delta-states-test.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/../delta_states.c"
- )
-
- TARGET_LINK_LIBRARIES (${EXE_FILE} ${LIBTAP_LIB} ${LIBGMP_LIB})
-
- SET_SOURCE_FILES_PROPERTIES (
- "delta-states-test.c"
- PROPERTIES
- OBJECT_DEPENDS
- "${CMAKE_CURRENT_SOURCE_DIR}/../delta_states.c"
- GENERATED "1"
- )
ENDIF ()
- SET (EXE_FILE "dbm-kaztree-compare-records-test.t.exe")
-
- ADD_EXECUTABLE(
- "${EXE_FILE}"
- "dbm-kaztree-compare-records-test.c"
- )
-
- # This is a kind-of-temporary kludge to make
- # "dbm-kaztree-compare-records-test.c" build.
- ADD_DEFINITIONS("-DFCS_DBM_USE_LIBAVL=1"
- "-I${CMAKE_CURRENT_SOURCE_DIR}/.."
- "-I${CMAKE_CURRENT_SOURCE_DIR}/../fcs-libavl/"
- )
- TARGET_LINK_LIBRARIES (${EXE_FILE} ${LIBTAP_LIB})
-
GEN_INDIVIDUAL_TESTS(
"generate_valgrind_tests"
"${PROJECT_SOURCE_DIR}/scripts/gen-individual-valgrind-test-scripts.pl"

View File

@ -1,25 +0,0 @@
--- freecell-solver-5.0.0/CMakeLists.txt.Orig 2018-11-04 12:35:13.489403737 +0200
+++ freecell-solver-5.0.0/CMakeLists.txt 2018-11-04 12:35:41.265314514 +0200
@@ -84,18 +84,18 @@
### (Taken from that wiki page)
# use, i.e. don't skip the full RPATH for the build tree
-SET(CMAKE_SKIP_BUILD_RPATH FALSE)
+# SET(CMAKE_SKIP_BUILD_RPATH FALSE)
# when building, don't use the install RPATH already
# (but later on when installing)
-SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
+# SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
# the RPATH to be used when installing
-SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
+# SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
# add the automatically determined parts of the RPATH
# which point to directories outside the build tree to the install RPATH
-SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+# SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
SET (STATES_TYPE "INDIRECT_STACK_STATES" CACHE STRING
"States Type ('INDIRECT_STACK_STATES', or 'COMPACT_STATES'). No need to usually change.")

View File

@ -3,8 +3,8 @@
%global develname lib%{name}-devel
Name: freecell-solver
Version: 5.12.0
Release: 1%{?dist}
Version: 6.8.0
Release: 4%{?dist}
License: MIT
Source0: https://fc-solve.shlomifish.org/downloads/fc-solve/%{name}-%{version}.tar.xz
URL: https://fc-solve.shlomifish.org/
@ -56,6 +56,8 @@ BuildRequires: perl(warnings)
BuildRequires: perl(YAML::XS)
BuildRequires: perl-devel
BuildRequires: pkgconfig(cmocka)
BuildRequires: pkgconfig(librinutils) >= 0.2.0
BuildRequires: python3-devel
BuildRequires: python3-cffi
BuildRequires: python3-freecell_solver
BuildRequires: python3-pysol-cards
@ -77,6 +79,8 @@ This package also contains command line executables to generate the initial
boards of several popular Freecell implementations.
%files
%{_bindir}/dbm-fc-solver
%{_bindir}/depth-dbm-fc-solver
%{_bindir}/fc-solve
%{_bindir}/find-freecell-deal-index.py
%{_bindir}/freecell-solver-fc-pro-range-solve
@ -135,7 +139,6 @@ You should install it if you are a game developer who would like to use
Freecell Solver from within your programs.
%files -n %{develname}
%{_includedir}/freecell-solver/
%{_includedir}/freecell-solver/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libfreecell-solver.so
@ -148,14 +151,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"
@ -168,6 +173,55 @@ chmod a-x "$dest/$bn"
find %{buildroot} -name *.a -delete
%changelog
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.8.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jul 05 2023 Python Maint <python-maint@redhat.com> - 6.8.0-3
- Rebuilt for Python 3.12
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Oct 20 2022 Shlomi Fish <shlomif@shlomifish.org> 6.8.0-1
- New version
* Wed Aug 03 2022 Shlomi Fish <shlomif@shlomifish.org> 6.6.0-3
- Add fc-solve-fix-ldd-issue.patch to fix run-tests.pl ldd-output processing
- Add BuildRequires on python3-devel.
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Oct 09 2021 Shlomi Fish <shlomif@shlomifish.org> 6.6.0-1
- New version
* Tue Sep 28 2021 Shlomi Fish <shlomif@shlomifish.org> 6.4.0-1
- New version
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Oct 15 2020 Shlomi Fish <shlomif@shlomifish.org> 6.2.0-1
- New version
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* 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
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.16.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (freecell-solver-5.12.0.tar.xz) = ee7dbc7b3275add2b3adb7c5f07e5e500645bf2fe1d11cd71c369d6ac9afd9d1846dd68729de0f643f034c014feec2576d94c92c1f08b937e3bec04cd4bbc290
SHA512 (freecell-solver-6.8.0.tar.xz) = 3baed3cc02405036b882b8eb71f0e54d11051789b9071081a26a6feca653e13129b7d2e5f3ffcbbbac528e67eccdb95d0adcbf598b35f0849a220c90bed131ee