Accepting request 867462 from benchmark
- Modernise spec file OBS-URL: https://build.opensuse.org/request/show/867462 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fhourstones?expand=0&rev=2
This commit is contained in:
commit
3f24ca310c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 28 12:32:15 UTC 2021 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Modernise spec file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 14 09:02:29 UTC 2016 - mpluskal@suse.com
|
Mon Nov 14 09:02:29 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package fhourstones
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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.
|
on a vertical 7x6 board.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
sed -i "s|-O3|%{optflags}|g" Makefile
|
sed -i "s|-O3|%{optflags}|g" Makefile
|
||||||
make %{?_smp_mflags} all
|
%make_build all
|
||||||
echo '#!/bin/sh' >> %{name}
|
echo '#!/bin/sh' >> %{name}
|
||||||
echo 'libexecdir=%{_libdir}/%{name}' >> %{name}
|
echo 'libexecdir=%{_libdir}/%{name}' >> %{name}
|
||||||
echo 'datadir=%{_datadir}/%{name}' >> %{name}
|
echo 'datadir=%{_datadir}/%{name}' >> %{name}
|
||||||
@ -49,7 +49,7 @@ install -D -p -m 0644 inputs \
|
|||||||
%{buildroot}%{_datadir}/%{name}/inputs
|
%{buildroot}%{_datadir}/%{name}/inputs
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_libdir}/%{name}
|
%{_libdir}/%{name}
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user