From 09bc93b6695d8a3645d5ae5caf11f4aa1b37ec2e43a3d3bc545f22581003d914 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 22 Nov 2018 12:11:53 +0000 Subject: [PATCH] delete _link OBS-URL: https://build.opensuse.org/package/show/science/gap-grape?expand=0&rev=5 --- gap-grape.changes | 6 ++++++ gap-grape.spec | 23 ++++++++++++----------- grape-4.8.1.tar.xz | 3 +++ grape4r7.tar.xz | 3 --- sanitize_source.sh | 10 ++++++---- 5 files changed, 27 insertions(+), 18 deletions(-) create mode 100644 grape-4.8.1.tar.xz delete mode 100644 grape4r7.tar.xz diff --git a/gap-grape.changes b/gap-grape.changes index ce8fbb6..5e94a8f 100644 --- a/gap-grape.changes +++ b/gap-grape.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 14 22:45:04 UTC 2018 - Jan Engelhardt + +- Update to new upstream release 4.8.1 + * No changelog was provided + ------------------------------------------------------------------- Thu Sep 14 19:36:58 UTC 2017 - jengelh@inai.de diff --git a/gap-grape.spec b/gap-grape.spec index b146733..a5e4a8a 100644 --- a/gap-grape.spec +++ b/gap-grape.spec @@ -1,7 +1,7 @@ # # spec file for package gap-grape # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,27 +12,28 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: gap-grape -Summary: GAP: GRaph Algorithms using PErmutation groups -Version: 4.7 +Version: 4.8.1 Release: 0 -License: GPL-2.0+ +Summary: GAP: GRaph Algorithms using PErmutation groups +License: GPL-2.0-or-later Group: Productivity/Scientific/Math URL: http://www.maths.qmul.ac.uk/~leonard/grape/ -#DL-URL: https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/grape4r7.tar.bz2 +#DL-URL: https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/grape-4.8.1.tar.bz2 # Original tarball has bundled third-party code with a Non-Commercial clause -Source: grape4r7.tar.xz +Source: grape-%version.tar.xz Source8: sanitize_source.sh BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch +BuildArch: noarch BuildRequires: gap-rpm-devel BuildRequires: xz -Requires: gap-core >= 4.5 +Requires: bliss +Requires: gap-core >= 4.9 Requires: nauty %description @@ -41,12 +42,12 @@ primarily designed for constructing and analysing graphs related to groups, finite geometries, and designs. %prep -%setup -qn grape -rm -f doc/.Rhistory +%setup -qn grape-%version %build %install +rm -Rf scripts doc/.Rhistory %gappkg_simple_install %files -f %name.files diff --git a/grape-4.8.1.tar.xz b/grape-4.8.1.tar.xz new file mode 100644 index 0000000..1884589 --- /dev/null +++ b/grape-4.8.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7c05ec22a529b125fab629c63a44597b5208328f0772d4167a72bf8c55134a6 +size 383292 diff --git a/grape4r7.tar.xz b/grape4r7.tar.xz deleted file mode 100644 index 8c7319d..0000000 --- a/grape4r7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:10ab5aca4f503df9ccc180a6673b37591780c780254cb077ec183487ce62340c -size 343756 diff --git a/sanitize_source.sh b/sanitize_source.sh index 7f01cfd..8757670 100644 --- a/sanitize_source.sh +++ b/sanitize_source.sh @@ -1,7 +1,9 @@ #!/bin/sh -ex -osc service lr download_files +wget -c https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/grape-4.8.1.tar.bz2 rm -Rf grape -tar -xf grape4r7.tar.bz2 -rm -Rf grape/nauty22 grape/bin -tar --use=xz -cf grape4r7.tar.xz grape +tar -xf grape-4.8.1.tar.bz2 +# only nauty 2.3's license is acceptable +rm -Rf grape-*/nauty22 grape-*/bin +tar --use=xz -cf grape-4.8.1.tar.xz grape-4.8.1 +