forked from pool/gap-semigroups
- Remove more build-time files to soothe rpmlint.
- Add no-avx.patch. OBS-URL: https://build.opensuse.org/package/show/science/gap-semigroups?expand=0&rev=32
This commit is contained in:
parent
be4c51efbd
commit
7b40056097
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 13:22:29 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Remove more build-time files to soothe rpmlint.
|
||||||
|
- Add no-avx.patch.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 11 18:27:10 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
Mon Mar 11 18:27:10 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ Group: Productivity/Scientific/Math
|
|||||||
URL: https://semigroups.github.io/Semigroups/
|
URL: https://semigroups.github.io/Semigroups/
|
||||||
#Git-Clone: https://github.com/semigroups/Semigroups
|
#Git-Clone: https://github.com/semigroups/Semigroups
|
||||||
Source: https://github.com/semigroups/Semigroups/releases/download/v%version/semigroups-%version.tar.gz
|
Source: https://github.com/semigroups/Semigroups/releases/download/v%version/semigroups-%version.tar.gz
|
||||||
|
Patch1: no-avx.patch
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -70,7 +71,7 @@ autoreconf -fi
|
|||||||
rm -Rf libsemigroups
|
rm -Rf libsemigroups
|
||||||
%gappkg_simple_install
|
%gappkg_simple_install
|
||||||
pushd "%buildroot/$fmoddir/"
|
pushd "%buildroot/$fmoddir/"
|
||||||
rm -Rfv Makefile* configure* cnf/ src/ gapbind14/src/ gapbind14/include/ autom4te.cache config.log
|
rm -Rfv Makefile* configure* config.* cnf/ src/ gapbind14/src/ gapbind14/include/ autom4te.cache
|
||||||
popd
|
popd
|
||||||
find "%buildroot" "(" -name "*.orig" -o -name .gitignore -o \
|
find "%buildroot" "(" -name "*.orig" -o -name .gitignore -o \
|
||||||
-name .dirstamp -o -name .clang-format -o -name .ccls ")" -print -delete
|
-name .dirstamp -o -name .clang-format -o -name .ccls ")" -print -delete
|
||||||
|
24
no-avx.patch
Normal file
24
no-avx.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From: Jan Engelhardt <ej@inai.de>
|
||||||
|
Date: 2024-05-16 15:25:47.416880244 +0200
|
||||||
|
|
||||||
|
Disable -mavx leaking into CFLAGS.
|
||||||
|
|
||||||
|
---
|
||||||
|
configure.ac | 4 +++-
|
||||||
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: semigroups-5.3.7/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- semigroups-5.3.7.orig/configure.ac
|
||||||
|
+++ semigroups-5.3.7/configure.ac
|
||||||
|
@@ -62,7 +62,9 @@ KERNEL_DEBUG=$enable_debug
|
||||||
|
AC_SUBST(KERNEL_DEBUG)
|
||||||
|
|
||||||
|
# Check if HPCombi is enable, and available
|
||||||
|
-AX_CHECK_HPCOMBI
|
||||||
|
+dnl AX_CHECK_HPCOMBI
|
||||||
|
+HPCOMBI_CXXFLAGS=""
|
||||||
|
+AC_SUBST([HPCOMBI_CXXFLAGS])
|
||||||
|
|
||||||
|
dnl ##
|
||||||
|
dnl ## Output everything
|
Loading…
Reference in New Issue
Block a user