- Specfile modernization

OBS-URL: https://build.opensuse.org/package/show/science/pari-galpol?expand=0&rev=16
This commit is contained in:
Jan Engelhardt 2022-06-16 22:15:53 +00:00 committed by Git OBS Bridge
parent 43d0f6a30d
commit 0365b5d6d4
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 16 22:06:15 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Specfile modernization
-------------------------------------------------------------------
Wed Aug 29 20:25:33 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package pari-galpol
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,7 +27,7 @@ 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: fdupes
BuildArch: noarch
Conflicts: libpari-gmp < 2.4.3
@ -36,7 +36,7 @@ PARI package of the GALPOL database of polynomials defining Galois
extensions of the rationals, accessed by the "galoisgetpol" function.
%prep
%setup -qn data
%autosetup -n data
cp "%_sourcedir/LICENSE" .
%build
@ -45,10 +45,10 @@ cp "%_sourcedir/LICENSE" .
c="%buildroot/%_datadir/pari"
mkdir -p "$c"
mv galpol "$c/"
%fdupes %buildroot/%_prefix
%files
%defattr(-,root,root)
%_datadir/pari
%doc LICENSE
%license LICENSE
%changelog