From 9c4e407bed724ec87335bd87b0cbbe58286cd9f4d01fdbfc2c87c1a27a2d8501 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Wed, 5 Feb 2014 01:55:54 +0000
Subject: [PATCH] pari-galpol-20140202

OBS-URL: https://build.opensuse.org/package/show/science/pari-galpol?expand=0&rev=5
---
 galpol.tar.xz    |  3 ---
 galpol.tgz       |  3 +++
 galpol.tgz.asc   |  7 +++++++
 pari-galpol.spec | 29 +++++++++++++++--------------
 4 files changed, 25 insertions(+), 17 deletions(-)
 delete mode 100644 galpol.tar.xz
 create mode 100644 galpol.tgz
 create mode 100644 galpol.tgz.asc

diff --git a/galpol.tar.xz b/galpol.tar.xz
deleted file mode 100644
index 74cb29c..0000000
--- a/galpol.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bed705fcf38815394b8df46343e681720cd5835131b9a3c339195b63814db99b
-size 367696
diff --git a/galpol.tgz b/galpol.tgz
new file mode 100644
index 0000000..9ec506f
--- /dev/null
+++ b/galpol.tgz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:385d537b3c085d7885a9f6f02d63c2c2ad101dece07c2a19e4fba7bc81f72990
+size 469851
diff --git a/galpol.tgz.asc b/galpol.tgz.asc
new file mode 100644
index 0000000..84e6f76
--- /dev/null
+++ b/galpol.tgz.asc
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+iEYEABECAAYFAkoOplsACgkQeDPs8bVESBUFhQCeJ2q1fFb6jM3BqFRaTnYZyT3q
++WUAn2wKs/xuo7T15rbNOJ7WYEkcBICy
+=i4CB
+-----END PGP SIGNATURE-----
diff --git a/pari-galpol.spec b/pari-galpol.spec
index e479770..6fb9072 100644
--- a/pari-galpol.spec
+++ b/pari-galpol.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package pari-galpol
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,20 +15,21 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-Name:           pari-galpol
-Version:        20090516
-Release:        0
-Group:          Productivity/Scientific/Math
-Summary:	GALPOL polynomial database for the PARI CAS
-License:        GPL-2.0+
-URL:            http://pari.math.u-bordeaux.fr/
 
-Source:         galpol.tar.xz
-Source2:	LICENSE
+Name:           pari-galpol
+Version:        20140202
+Release:        0
+Summary:        GALPOL polynomial database for the PARI CAS
+License:        GPL-2.0+
+Group:          Productivity/Scientific/Math
+Url:            http://pari.math.u-bordeaux.fr/
+
+Source:         http://pari.math.u-bordeaux.fr/pub/pari/packages/galpol.tgz
+Source2:        http://pari.math.u-bordeaux.fr/pub/pari/packages/galpol.tgz.asc
+Source3:        LICENSE
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:	xz
-BuildArch:	noarch
-Conflicts:	libpari-gmp < 2.4.3
+BuildArch:      noarch
+Conflicts:      libpari-gmp < 2.4.3
 
 %description
 PARI package of the GALPOL database of polynomials defining Galois
@@ -36,7 +37,7 @@ extensions of the rationals, accessed by the "galoisgetpol" function.
 
 %prep
 %setup -Tcq
-cp "%{S:2}" .;
+cp "%_sourcedir/LICENSE" .;
 
 %build