From 3df9c3b16ddd36adf265cddb7e4ee41313014c3dcf42f4b0ff0191ea903eb520 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 28 Jan 2021 12:32:34 +0000 Subject: [PATCH] - Update to version 3.1+git.20150122: * OBS-URL: https://build.opensuse.org/package/show/benchmark/fhourstones?expand=0&rev=6 --- fhourstones.changes | 5 +++++ fhourstones.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/fhourstones.changes b/fhourstones.changes index 92ea302..3e4220d 100644 --- a/fhourstones.changes +++ b/fhourstones.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 28 12:32:15 UTC 2021 - Martin Pluskal + +- Modernise spec file + ------------------------------------------------------------------- Mon Nov 14 09:02:29 UTC 2016 - mpluskal@suse.com diff --git a/fhourstones.spec b/fhourstones.spec index b21bed0..76bf15b 100644 --- a/fhourstones.spec +++ b/fhourstones.spec @@ -1,7 +1,7 @@ # # spec file for package fhourstones # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # 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/ # @@ -30,11 +30,11 @@ This integer benchmark solves positions in the game of connect-4, as played on a vertical 7x6 board. %prep -%setup -q +%autosetup %build sed -i "s|-O3|%{optflags}|g" Makefile -make %{?_smp_mflags} all +%make_build all echo '#!/bin/sh' >> %{name} echo 'libexecdir=%{_libdir}/%{name}' >> %{name} echo 'datadir=%{_datadir}/%{name}' >> %{name} @@ -49,7 +49,7 @@ install -D -p -m 0644 inputs \ %{buildroot}%{_datadir}/%{name}/inputs %files -%doc LICENSE +%license LICENSE %{_bindir}/%{name} %{_libdir}/%{name} %{_datadir}/%{name}