SHA256
1
0
forked from pool/gap-json

build json.so plugin

OBS-URL: https://build.opensuse.org/package/show/science/gap-json?expand=0&rev=10
This commit is contained in:
Jan Engelhardt 2022-11-19 21:46:55 +00:00 committed by Git OBS Bridge
parent 1d916da1cf
commit 400e77ff05

View File

@ -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