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