1
0
Jan Engelhardt 2022-12-20 23:40:30 +00:00 committed by Git OBS Bridge
parent d43cdcadef
commit 9b72b4cc60

View File

@ -26,6 +26,7 @@ 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
BuildRequires: c++_compiler BuildRequires: c++_compiler
BuildRequires: fdupes
BuildRequires: gap-devel >= 4.12 BuildRequires: gap-devel >= 4.12
BuildRequires: gap-rpm-devel BuildRequires: gap-rpm-devel
BuildRequires: gmp-devel BuildRequires: gmp-devel
@ -67,9 +68,11 @@ autoreconf -fi
rm -Rf libsemigroups rm -Rf libsemigroups
%gappkg_simple_install %gappkg_simple_install
pushd "%buildroot/$fmoddir/" pushd "%buildroot/$fmoddir/"
rm -Rfv Makefile* configure* src/ rm -Rfv Makefile* configure* cnf/ src/ gapbind14/src/ gapbind14/include/
popd popd
find "%buildroot" -name "*.orig" -print -delete find "%buildroot" "(" -name "*.orig" -o -name .gitignore -o \
-name .dirstamp -o -name .clang-format -o -name .ccls ")" -print -delete
%fdupes %buildroot/%_prefix
%files -f %name.files %files -f %name.files