Accepting request 624051 from home:pluskalm:branches:Base:System
- Enable parallel build - Modernise spec file with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/624051 OBS-URL: https://build.opensuse.org/package/show/Base:System/memtest86+?expand=0&rev=30
This commit is contained in:
parent
de036753be
commit
6030ab81ff
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 19 11:11:09 UTC 2018 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Enable parallel build
|
||||||
|
- Modernise spec file with spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 30 13:57:22 UTC 2015 - jkeil@suse.de
|
Fri Oct 30 13:57:22 UTC 2015 - jkeil@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package memtest86+
|
# spec file for package memtest86+
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -19,47 +19,45 @@
|
|||||||
Name: memtest86+
|
Name: memtest86+
|
||||||
Version: 5.01
|
Version: 5.01
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
Summary: Memory Testing Image for x86 Architecture
|
||||||
#
|
License: BSD-3-Clause
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Group: System/Boot
|
||||||
#!BuildIgnore: gcc-PIE
|
URL: http://www.memtest.org
|
||||||
%ifarch x86_64
|
|
||||||
BuildRequires: glibc-devel-32bit
|
|
||||||
%endif
|
|
||||||
PreReq: perl
|
|
||||||
PreReq: /sbin/update-bootloader
|
|
||||||
ExclusiveArch: %ix86 x86_64
|
|
||||||
Provides: lilo:/boot/memtest.bin
|
|
||||||
Obsoletes: memtest86 <= 3.2
|
|
||||||
Provides: memtest86 > 3.2
|
|
||||||
#
|
|
||||||
Url: http://www.memtest.org
|
|
||||||
Source: http://www.memtest.org/download/%{version}/%{name}-%{version}.tar.gz
|
Source: http://www.memtest.org/download/%{version}/%{name}-%{version}.tar.gz
|
||||||
Patch0: fix-destdir
|
Patch0: fix-destdir
|
||||||
Patch1: memtest86+-5.01-no-optimization.patch
|
Patch1: memtest86+-5.01-no-optimization.patch
|
||||||
Patch2: memtest86+-5.01-compile-fix.patch
|
Patch2: memtest86+-5.01-compile-fix.patch
|
||||||
Patch3: memtest86+-5.01-array-size-fix.patch
|
Patch3: memtest86+-5.01-array-size-fix.patch
|
||||||
Patch4: memtest86+-gcc5.patch
|
Patch4: memtest86+-gcc5.patch
|
||||||
Summary: Memory Testing Image for x86 Architecture
|
#!BuildIgnore: gcc-PIE
|
||||||
License: BSD-3-Clause
|
Requires(pre): /sbin/update-bootloader
|
||||||
Group: System/Boot
|
Requires(pre): perl
|
||||||
|
Provides: lilo:/boot/memtest.bin
|
||||||
|
Obsoletes: memtest86 <= 3.2
|
||||||
|
Provides: memtest86 > 3.2
|
||||||
|
ExclusiveArch: %{ix86} x86_64
|
||||||
|
%ifarch x86_64
|
||||||
|
BuildRequires: glibc-devel-32bit
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Memtest86 is an image that can be booted instead of a real OS. Once
|
Memtest86 is an image that can be booted instead of a real OS. Once booted,
|
||||||
booted, it can be used to test the computer's memory.
|
it can be used to test the computer's memory.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 memtest.bin $RPM_BUILD_ROOT/boot/memtest.bin
|
install -Dpm 0644 memtest.bin \
|
||||||
|
%{buildroot}/boot/memtest.bin
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ "$YAST_IS_RUNNING" != instsys -a $1 = 1 -a \
|
if [ "$YAST_IS_RUNNING" != instsys -a $1 = 1 -a \
|
||||||
@ -72,7 +70,6 @@ true
|
|||||||
test -x /sbin/update-bootloader && /sbin/update-bootloader --remove --force --image /boot/memtest.bin || true
|
test -x /sbin/update-bootloader && /sbin/update-bootloader --remove --force --image /boot/memtest.bin || true
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
/boot/memtest.bin
|
/boot/memtest.bin
|
||||||
%doc README* changelog FAQ
|
%doc README* changelog FAQ
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user