SHA256
1
0
forked from pool/pari-elldata

Accepting request 632203 from science

- Strip /data/ subdirectory [boo#1106378]

OBS-URL: https://build.opensuse.org/request/show/632203
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pari-elldata?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2018-08-31 08:47:24 +00:00 committed by Git OBS Bridge
commit 9c191f29eb
2 changed files with 12 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 29 20:25:33 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Strip /data/ subdirectory [boo#1106378]
-------------------------------------------------------------------
Tue Nov 29 11:55:46 UTC 2016 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package pari-elldata
#
# Copyright (c) 2016 SUSE LINUX 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
@ -20,7 +20,7 @@ Name: pari-elldata
Version: 20161017
Release: 0
Summary: Elliptic Curve Data for the PARI CAS
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Scientific/Math
Url: http://pari.math.u-bordeaux.fr/
@ -37,18 +37,15 @@ PARI/GP version of J. E. Cremona's Elliptic Curve Data, needed by
the PARI functions "ellsearch" and "ellidentify".
%prep
%setup -Tcq
cp "%_sourcedir/LICENSE" .;
%setup -qn data
cp "%_sourcedir/LICENSE" .
%build
%install
b="%buildroot";
c="$b/%_datadir/pari";
mkdir -p "$c";
pushd "$c";
tar -xf "%{S:0}";
popd;
c="%buildroot/%_datadir/pari"
mkdir -p "$c"
mv elldata "$c/"
%files
%defattr(-,root,root)