diff --git a/pari-elldata.changes b/pari-elldata.changes index 01cdacf..decb6a1 100644 --- a/pari-elldata.changes +++ b/pari-elldata.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 29 20:25:33 UTC 2018 - Jan Engelhardt + +- Strip /data/ subdirectory [boo#1106378] + ------------------------------------------------------------------- Tue Nov 29 11:55:46 UTC 2016 - jengelh@inai.de diff --git a/pari-elldata.spec b/pari-elldata.spec index 2235c12..b762a8a 100644 --- a/pari-elldata.spec +++ b/pari-elldata.spec @@ -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)