diff --git a/gap-normalizinterface.spec b/gap-normalizinterface.spec index d61279d..57f8db7 100644 --- a/gap-normalizinterface.spec +++ b/gap-normalizinterface.spec @@ -23,6 +23,7 @@ Summary: GAP: wrapper for Normaliz License: GPL-2.0-or-later Group: Productivity/Scientific/Math URL: https://gap-packages.github.io/NormalizInterface/ +#Git-Clone: https://github.com/gap-packages/NormalizInterface Source: https://github.com/gap-packages/NormalizInterface/releases/download/v%{version}/NormalizInterface-%{version}.tar.bz2 BuildRequires: fdupes BuildRequires: gap-devel >= 4.9 @@ -51,10 +52,10 @@ autoreconf -fi %make_build %install -# cleanup -rm -Rf autom4te.cache config.log config.status configure~ gen/src/*.{o,d} %gappkg_simple_install - +pushd "%buildroot/$moddir" +rm -Rf autom4te.cache config.log config.status configure~ gen/src/*.{o,d} +popd %fdupes %buildroot/%_prefix %files -f %name.files