Compare commits

...

34 Commits
f30 ... 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
Shlomi Fish
867fbe081d - New version 5.12.0 2019-08-03 00:32:05 +03:00
Fedora Release Engineering
3a3f069f93 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 00:57:51 +00:00
Shlomi Fish
2f7e1308f4 - New version 5.10.0 2019-06-18 20:26:46 +03:00
Shlomi Fish
d6b21c2017 - New version 5.8.0 2019-06-16 14:09:41 +03:00
Shlomi Fish
f23db9de02 - Enable the test suite on the check stage 2019-04-22 12:28:22 +03:00
Shlomi Fish
f6209235f4 - New version 5.6.0. 2019-04-10 00:25:53 +03:00
Shlomi Fish
92590a7aa5 SILENT: add a BR 2019-03-21 21:34:40 +02:00
Shlomi Fish
1fca6616c9 new sources. 2019-03-18 00:50:32 +02:00
Shlomi Fish
70ff5d8d2a New version 5.4.0. 2019-03-18 00:32:46 +02:00
5 changed files with 158 additions and 37 deletions

17
.gitignore vendored
View File

@ -1 +1,18 @@
/freecell-solver-5.0.0.tar.xz
/freecell-solver-5.4.0.tar.xz
/freecell-solver-5.6.0.tar.xz
/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,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,12 +3,11 @@
%global develname lib%{name}-devel
Name: freecell-solver
Version: 5.0.0
Release: 2%{?dist}
Version: 6.8.0
Release: 4%{?dist}
License: MIT
Source0: http://fc-solve.shlomifish.org/downloads/fc-solve/%{name}-%{version}.tar.xz
Patch1: freecell-solver-no-rpath.diff
URL: http://fc-solve.shlomifish.org/
Source0: https://fc-solve.shlomifish.org/downloads/fc-solve/%{name}-%{version}.tar.xz
URL: https://fc-solve.shlomifish.org/
Summary: The Freecell Solver Executable
BuildRequires: cmake
@ -18,25 +17,58 @@ BuildRequires: gmp-devel
BuildRequires: gperf
BuildRequires: make
BuildRequires: perl(autodie)
BuildRequires: perl(lib)
BuildRequires: perl(Carp)
BuildRequires: perl(CHI)
BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(Env::Path)
BuildRequires: perl(File::Path)
BuildRequires: perl(lib)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Which)
BuildRequires: perl(Games::Solitaire::Verify)
BuildRequires: perl(Games::Solitaire::Verify::Solution)
BuildRequires: perl(Inline)
BuildRequires: perl(Inline::C)
BuildRequires: perl(IPC::Open2)
BuildRequires: perl(lib)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Moo)
BuildRequires: perl(MooX)
BuildRequires: perl(MooX::late)
BuildRequires: perl(parent)
BuildRequires: perl(Path::Tiny)
BuildRequires: perl(Storable)
BuildRequires: perl(strict)
BuildRequires: perl(String::ShellQuote)
# BuildRequires: perl(Task::FreecellSolver::Testing)
BuildRequires: perl(Template)
BuildRequires: perl(Test::Data::Split)
BuildRequires: perl(Test::Data::Split::Backend::Hash)
BuildRequires: perl(Test::Data::Split::Backend::ValidateHash)
BuildRequires: perl(Test::Differences)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::RunValgrind)
BuildRequires: perl(Test::TrailingSpace)
BuildRequires: perl(Test::Trap)
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
BuildRequires: python3-random2
BuildRequires: python3-rpm-macros
BuildRequires: python3dist(six)
BuildRequires: python3dist(pycotap)
Requires: %{libname}%{?_isa} = %{version}-%{release}
# BuildRequires: tap-devel
BuildRequires: the_silver_searcher
BuildRequires: valgrind
%description
The Freecell Solver package contains the fc-solve executable which is
@ -47,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
@ -105,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
@ -114,15 +147,20 @@ Freecell Solver from within your programs.
%prep
%setup -q
%patch1 -p1 -b .rem-rpath
%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 -DFCS_WITH_TEST_SUITE=OFF
%make_build
%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
%cmake_build
%check
%__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"
@ -135,6 +173,58 @@ 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
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

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