Version 1.0.8. Drop upstreamed -fmt patch.

This commit is contained in:
Jerry James 2020-04-20 08:42:57 -06:00
parent c39a8bcd9f
commit b60023554a
3 changed files with 7 additions and 45 deletions

View File

@ -1,40 +0,0 @@
--- a/include/libsemigroups/report.hpp
+++ b/include/libsemigroups/report.hpp
@@ -68,7 +68,7 @@
#endif
#define REPORT_TIME(var) \
- REPORT_DEFAULT("elapsed time (%s): %s\n", __func__, var);
+ REPORT_DEFAULT("elapsed time (%s): %s\n", __func__, var.string());
namespace libsemigroups {
--- a/src/todd-coxeter.cpp
+++ b/src/todd-coxeter.cpp
@@ -1381,7 +1381,7 @@ namespace libsemigroups {
}
apply_permutation(p, q);
- REPORT("%d\n", tmr).prefix().flush_right().flush();
+ REPORT("%s\n", tmr.string()).prefix().flush_right().flush();
#ifdef LIBSEMIGROUPS_DEBUG
debug_validate_forwd_bckwd();
debug_validate_table();
@@ -1405,7 +1405,7 @@ namespace libsemigroups {
}
}
apply_permutation(p, q);
- REPORT("%d\n", tmr).prefix().flush_right().flush();
+ REPORT("%s\n", tmr.string()).prefix().flush_right().flush();
#ifdef LIBSEMIGROUPS_DEBUG
debug_validate_forwd_bckwd();
debug_validate_table();
@@ -1533,7 +1533,7 @@ namespace libsemigroups {
}
}
apply_permutation(p, q);
- REPORT("%d\n", tmr).prefix().flush_right().flush();
+ REPORT("%s\n", tmr.string()).prefix().flush_right().flush();
#ifdef LIBSEMIGROUPS_DEBUG
debug_validate_forwd_bckwd();
debug_validate_table();

View File

@ -1,13 +1,11 @@
Name: libsemigroups
Version: 1.0.7
Release: 2%{?dist}
Version: 1.0.8
Release: 1%{?dist}
Summary: C++ library for semigroups and monoids
License: GPLv3+
URL: https://github.com/libsemigroups/libsemigroups
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
# Adapt to fmt 6.2.0
Patch0: %{name}-fmt.patch
BuildRequires: doxygen
BuildRequires: fontawesome-fonts-web
@ -158,6 +156,10 @@ LD_LIBRARY_PATH=$PWD/.libs make check
%license LICENSE
%changelog
* Mon Apr 20 2020 Jerry James <loganjerry@gmail.com> - 1.0.8-1
- Version 1.0.8
- Drop upstreamed -fmt patch
* Thu Apr 9 2020 Jerry James <loganjerry@gmail.com> - 1.0.7-2
- Add -fmt patch for compatibility with fmt 6.2.0

View File

@ -1 +1 @@
SHA512 (libsemigroups-1.0.7.tar.gz) = 2b157b2a773ef0a895f42079be21ea132b374ac28cc147e5653c65a2477c6c4145d13c3229d0a3a793d430b3ee1a02b78d8a28743eba211669cabe30c4f96f30
SHA512 (libsemigroups-1.0.8.tar.gz) = ff14e2ee6c8279621a729485c8669eb410d8bdbbf1e0a1387285395127a92dfedd5101c42663082fe2bd649d98005e20a79a82fed991870338c53152dbbb1f79