From 0567c748ade1341d0c41a1074cfca694ab37c9addb8169c718ad25b58b1aa97a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 24 Aug 2019 15:50:00 +0000 Subject: [PATCH] - Modernize specfile. OBS-URL: https://build.opensuse.org/package/show/science/azove?expand=0&rev=4 --- azove.changes | 5 +++++ azove.spec | 21 ++++++++++----------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/azove.changes b/azove.changes index eca4248..f06ed52 100644 --- a/azove.changes +++ b/azove.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Aug 24 15:48:35 UTC 2019 - Jan Engelhardt + +- Modernize specfile. + ------------------------------------------------------------------- Thu May 23 09:00:55 UTC 2013 - jengelh@inai.de diff --git a/azove.spec b/azove.spec index 0324c6d..16a6856 100644 --- a/azove.spec +++ b/azove.spec @@ -1,7 +1,7 @@ # # spec file for package azove # -# Copyright (c) 2013 SUSE LINUX Products 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,15 +20,16 @@ Name: azove Version: 2.0 Release: 0 Summary: Another Zero One Vertex Enumeration tool -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Scientific/Math -Url: http://www.mpi-inf.mpg.de/~behle/azove.html +URL: https://www.mpi-inf.mpg.de/~behle/azove.html -Source: http://www.mpi-inf.mpg.de/~behle/azove-2.0.tar.gz +# without a cookie, mpi-inf.mpg.de presents a landing page, failing the download check :( +#Source: https://www.mpi-inf.mpg.de/~behle/%name-%version.tar.gz +Source: %name-%version.tar.gz Patch1: azove-cpp.diff BuildRequires: gcc-c++ BuildRequires: gmp-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description azove is a tool designed for counting (without explicit enumeration) @@ -43,20 +44,18 @@ the vertex enumeration problem. In fact, it can also solve the 0/1 knapsack problem and the 0/1 subset sum problem. %prep -%setup -q -%patch -P 1 -p1 +%autosetup -p1 %build make %{?_smp_mflags} COMPILER_FLAGS="%optflags" %install -c="%buildroot/%_bindir"; +c="%buildroot/%_bindir" mkdir -p "$c" install -pm0755 azove2 "$c" %files -%defattr(-,root,root) %_bindir/azove2 -%doc COPYING +%license COPYING %changelog