From 400e77ff05ac108ebb35d157fe2853c5750dc57c56f0b2b155d8cc785f7dfc6a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 19 Nov 2022 21:46:55 +0000 Subject: [PATCH] build json.so plugin OBS-URL: https://build.opensuse.org/package/show/science/gap-json?expand=0&rev=10 --- gap-json.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gap-json.spec b/gap-json.spec index 72c076d..a9b58f7 100644 --- a/gap-json.spec +++ b/gap-json.spec @@ -25,9 +25,9 @@ Group: Productivity/Scientific/Math URL: http://gap-packages.github.io/json/ #Git-Clone: https://github.com/gap-packages/json Source: https://github.com/gap-packages/json/releases/download/v%version/json-%version.tar.gz +BuildRequires: c++_compiler +BuildRequires: gap-devel BuildRequires: gap-rpm-devel -BuildRequires: xz -BuildArch: noarch Requires: gap-core >= 4.12 Requires: gap-gapdoc >= 1.5 @@ -38,9 +38,14 @@ Enhances GAP by the ability to read and write JSON files. %autosetup -n json-%version %build +./configure "%gapdir" +%make_build %install %gappkg_simple_install +pushd "%buildroot/$fmoddir/" +find src -type f ! -name LICENSE -delete +popd %files -f %name.files