parent
3b7ecef039
commit
cfc43644aa
|
@ -1,22 +0,0 @@
|
|||
Fixes this warning:
|
||||
|
||||
In file included from /builddir/build/BUILD/libsemigroups-2.6.1/include/libsemigroups/sims1.hpp:1269,
|
||||
from tests/test-sims1.cpp:36:
|
||||
/builddir/build/BUILD/libsemigroups-2.6.1/include/libsemigroups/sims1.tpp: In instantiation of 'libsemigroups::ActionDigraph<T> libsemigroups::MinimalRepOrc::digraph() const [with T = unsigned int]':
|
||||
tests/test-sims1.cpp:759:26: required from here
|
||||
/builddir/build/BUILD/libsemigroups-2.6.1/include/libsemigroups/sims1.tpp:1003:22: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
|
||||
1003 | ActionDigraph<T> next = std::move(cr.max_nodes(hi - 1).digraph());
|
||||
| ^~~~
|
||||
/builddir/build/BUILD/libsemigroups-2.6.1/include/libsemigroups/sims1.tpp:1003:22: note: remove 'std::move' call
|
||||
|
||||
--- libsemigroups-2.6.1/include/libsemigroups/sims1.tpp.orig 2023-02-22 01:06:32.337018103 -0700
|
||||
+++ libsemigroups-2.6.1/include/libsemigroups/sims1.tpp 2023-02-25 20:21:23.847036911 -0700
|
||||
@@ -1000,7 +1000,7 @@ namespace libsemigroups {
|
||||
}
|
||||
|
||||
hi = best.number_of_nodes();
|
||||
- ActionDigraph<T> next = std::move(cr.max_nodes(hi - 1).digraph());
|
||||
+ ActionDigraph<T> next = cr.max_nodes(hi - 1).digraph();
|
||||
while (next.number_of_nodes() != 0) {
|
||||
hi = next.number_of_nodes();
|
||||
best = std::move(next);
|
|
@ -1,5 +1,5 @@
|
|||
Name: libsemigroups
|
||||
Version: 2.6.1
|
||||
Version: 2.6.2
|
||||
Release: 1%{?dist}
|
||||
Summary: C++ library for semigroups and monoids
|
||||
|
||||
|
@ -9,9 +9,6 @@ Summary: C++ library for semigroups and monoids
|
|||
License: GPL-3.0-or-later AND BSL-1.0 AND MPL-2.0 AND BSD-3-Clause AND Apache-2.0
|
||||
URL: https://libsemigroups.readthedocs.io/
|
||||
Source0: https://github.com/libsemigroups/libsemigroups/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
# Remove a pessimizing move
|
||||
# https://github.com/libsemigroups/libsemigroups/pull/467
|
||||
Patch0: %{name}-pessimizing-move.patch
|
||||
|
||||
BuildRequires: catch2-devel
|
||||
BuildRequires: doxygen
|
||||
|
@ -112,6 +109,9 @@ Requires: font(fontawesome)
|
|||
Requires: font(lato)
|
||||
Requires: font(robotoslab)
|
||||
|
||||
Provides: bundled(js-jquery)
|
||||
Provides: bundled(js-underscore)
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
|
@ -190,6 +190,10 @@ LD_LIBRARY_PATH=$PWD/.libs make check
|
|||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Tue Feb 28 2023 Jerry James <loganjerry@gmail.com> - 2.6.2-1
|
||||
- Version 2.6.2
|
||||
- Drop upstreamed -pessimizing-move patch
|
||||
|
||||
* Sat Feb 25 2023 Jerry James <loganjerry@gmail.com> - 2.6.1-1
|
||||
- Version 2.6.1
|
||||
- Dynamically generate python BuildRequires
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (libsemigroups-2.6.1.tar.gz) = 4607d2a9d163e97b6602870ee6466e4bad5fa88c668f8ac9105cc0aff0ecf09ff12636a0d926049c58e3958752e3c7bc779c605e94d2de7ee1fd8e5d64f0577d
|
||||
SHA512 (libsemigroups-2.6.2.tar.gz) = 14c441b366050b6b98c81e21677dfb782a1447fc2349f0c362f13ad0728d26913aa92fb7c878954882546d392a4aaed82887f804962f92d1344a24cab2d5d41c
|
||||
|
|
Loading…
Reference in New Issue