From d81bef838623aa6aa811b8fe3c205827ee52d4684d1ae3e16c844d32e41ab001 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 3 Oct 2022 23:32:16 +0000 Subject: [PATCH] make debugsource work again OBS-URL: https://build.opensuse.org/package/show/science/gap-ace?expand=0&rev=10 --- gap-ace.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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