From 0a9c3331b79473e97495ce3e585f32e01e4ef4f41c2efa60419ae67234130c22 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 7 Apr 2024 06:11:43 +0000 Subject: [PATCH] - Explicitly buildrequire amsmath.sty to fix a build failure. OBS-URL: https://build.opensuse.org/package/show/science/pari?expand=0&rev=72 --- pari.changes | 5 +++++ pari.spec | 41 ++++++++++++++++++++--------------------- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/pari.changes b/pari.changes index 9ffd12a..400dc17 100644 --- a/pari.changes +++ b/pari.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 7 06:11:23 UTC 2024 - Jan Engelhardt + +- Explicitly buildrequire amsmath.sty to fix a build failure. + ------------------------------------------------------------------- Sun Jul 16 11:04:16 UTC 2023 - Dirk Müller diff --git a/pari.spec b/pari.spec index d9e0d94..30cd215 100644 --- a/pari.spec +++ b/pari.spec @@ -1,7 +1,7 @@ # # spec file for package pari # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,12 +16,6 @@ # -%global desc \ -PARI/GP is a computer algebra system designed for computations\ -in number theory (factorizations, algebraic number theory, elliptic\ -curves) and other entities like matrices, polynomials,\ -power series, algebraic numbers, and transcendental functions.\ -%nil # See # http://pari.math.u-bordeaux.fr/archives/pari-dev-1211/msg00006.html # for details on the SO versioning. @@ -50,16 +44,23 @@ BuildRequires: texlive-luatexbase BuildRequires: texlive-tex-bin BuildRequires: xorg-x11-proto-devel BuildRequires: pkgconfig(x11) +BuildRequires: tex(amsmath.sty) %description -%desc +PARI/GP is a computer algebra system designed for computations +in number theory (factorizations, algebraic number theory, elliptic +curves) and other entities like matrices, polynomials, +power series, algebraic numbers, and transcendental functions. %package gp Summary: Frontend to the PARI Computer Algebra System Group: Productivity/Scientific/Math %description gp -%desc +PARI/GP is a computer algebra system designed for computations +in number theory (factorizations, algebraic number theory, elliptic +curves) and other entities like matrices, polynomials, +power series, algebraic numbers, and transcendental functions. %package doc Summary: Documentation for the PARI Computer Algebra System @@ -67,30 +68,29 @@ Group: Documentation/Other BuildArch: noarch %description doc -%desc - -This package contains the documentation and examples for the PARI Computer Algebra System. +This package contains the documentation and examples for the PARI +Computer Algebra System. %package -n %lname Summary: Shared library for the PARI Computer Algebra System -# This is used by the data packages to avoid having a too-old version of libpari: Group: System/Libraries +# This is used by the data packages to avoid having a too-old version of libpari: Provides: libpari-gmp = %version %description -n %lname -%desc - +PARI/GP is a computer algebra system designed for computations +in number theory. This package contains shared library for the PARI CAS. %package devel -Summary: Development files for the PARI Computer Algebra System +Summary: Headers for the PARI Computer Algebra System Group: Development/Libraries/C and C++ Requires: %lname = %version %description devel -%desc - -This package contains development files for the PARI CAS. +PARI/GP is a computer algebra system designed for computations +in number theory. +This package contains C API headers for the PARI CAS. %prep %autosetup @@ -129,8 +129,7 @@ install -Dm0644 doc/*.pdf %buildroot%_defaultdocdir/%name rm -rf %buildroot%_datadir/%name/doc mv %buildroot%_datadir/%name/examples %buildroot%_defaultdocdir/%name -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%ldconfig_scriptlets -n %lname %files gp %doc AUTHORS CHANGES* README* NEW