diff --git a/gap-ace.spec b/gap-ace.spec index 11b8b1d..a8e7753 100644 --- a/gap-ace.spec +++ b/gap-ace.spec @@ -26,6 +26,7 @@ URL: https://gap-packages.github.io/ace/ #Git-Clone: https://github.com/gap-packages/ace Source: https://github.com/gap-packages/ace/releases/download/v%version/ace-%version.tar.gz +BuildRequires: fdupes BuildRequires: gap BuildRequires: gap-devel BuildRequires: gap-rpm-devel @@ -44,8 +45,11 @@ from within GAP. %make_build CC="cc %optflags" %install -rm -Rf Makefile* configure src/ %gappkg_simple_install +pushd "%buildroot/$fmoddir/" +rm -Rf Makefile* configure src/ +popd +%fdupes %buildroot/%_prefix %files -f %name.files