From 1df93126f46c4f935fc10749c0f359b37141104066b45f1a745966f008aaee2c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 24 Aug 2019 16:16:57 +0000 Subject: [PATCH] - Specfile modernization. OBS-URL: https://build.opensuse.org/package/show/science/gfan?expand=0&rev=23 --- gfan.changes | 5 +++++ gfan.spec | 16 +++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/gfan.changes b/gfan.changes index b565758..7e9b09b 100644 --- a/gfan.changes +++ b/gfan.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Aug 24 16:14:41 UTC 2019 - Jan Engelhardt + +- Specfile modernization. + ------------------------------------------------------------------- Mon Dec 25 21:21:45 UTC 2017 - jengelh@inai.de diff --git a/gfan.spec b/gfan.spec index 70fb6ad..35a5433 100644 --- a/gfan.spec +++ b/gfan.spec @@ -1,7 +1,7 @@ # # spec file for package gfan # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,14 +20,13 @@ Name: gfan Version: 0.6.2 Release: 0 Summary: Calculation of Gröbner fans -License: GPL-2.0 +License: GPL-2.0-only Group: Productivity/Scientific/Math -Url: http://home.imf.au.dk/jensen/software/gfan/gfan.html +URL: http://home.imf.au.dk/jensen/software/gfan/gfan.html Source: http://home.imf.au.dk/jensen/software/gfan/%name%version.tar.gz Patch1: gfan-automake.diff Patch2: gfan-warnings.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: automake BuildRequires: cddlib-devel BuildRequires: gcc-c++ @@ -53,8 +52,7 @@ Gfan is a software package for computing Gröbner fans and tropical varieties. These are polyhedral fans associated to polynomial ideals. %prep -%setup -qn %name%version -%patch -P 1 -P 2 -p1 +%autosetup -p1 -n %name%version %build autoreconf -fi @@ -70,11 +68,11 @@ b="%buildroot" %make_install for i in $(src/gfan _list | grep ^gfan_); do ln -s gfan "$b/%_bindir/$i" -done; +done %files -%defattr(-,root,root) %_bindir/gfan* +%license COPYING %doc examples %if 0%{?with_pdf} %doc doc/manual.pdf