[packages/mbr] - rel 4 - stop building harness tool, it's unused and not installed
baggins
baggins at pld-linux.org
Sun May 10 10:51:53 CEST 2026
commit a5c78a6eb7a3c5653024b09d405733a9c4ffc40f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun May 10 12:51:21 2026 +0200
- rel 4
- stop building harness tool, it's unused and not installed
mbr.spec | 5 ++++-
no-harness.patch | 11 +++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/mbr.spec b/mbr.spec
index fed499c..3285d29 100644
--- a/mbr.spec
+++ b/mbr.spec
@@ -1,7 +1,7 @@
Summary: Master Boot Record for IBM-PC compatible computers
Name: mbr
Version: 1.1.11
-Release: 3
+Release: 4
License: GPL
Group: Base
Source0: http://www.chiark.greenend.org.uk/~neilt/mbr/%{name}-%{version}.tar.gz
@@ -9,6 +9,7 @@ Source0: http://www.chiark.greenend.org.uk/~neilt/mbr/%{name}-%{version}.tar.gz
URL: http://www.chiark.greenend.org.uk/~neilt/mbr/
Patch0: %{name}-misleading-indentation.patch
Patch1: disable-bounds-checks.patch
+Patch2: no-harness.patch
BuildRequires: bin86
ExclusiveArch: %{ix86} %{x8664} x32
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -20,8 +21,10 @@ Master Boot Record for IBM-PC compatible computers.
%setup -q
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1
%build
+%{__autoconf}
%configure
%{__make}
diff --git a/no-harness.patch b/no-harness.patch
new file mode 100644
index 0000000..c4dca37
--- /dev/null
+++ b/no-harness.patch
@@ -0,0 +1,11 @@
+--- mbr-1.1.11/configure.in~ 2008-07-19 18:14:37.000000000 +0200
++++ mbr-1.1.11/configure.in 2026-05-10 12:47:44.906684688 +0200
+@@ -9,7 +9,7 @@
+
+ dnl I'm not sure if the number of brackets needed for this is
+ dnl well-defined...
+-AM_CONDITIONAL(HAVE_VM86, [[uname -m | grep -q 'i[0-9]86']])
++AM_CONDITIONAL(HAVE_VM86, [[/bin/false]])
+
+ AC_CONFIG_FILES([wraptest])
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mbr.git/commitdiff/a5c78a6eb7a3c5653024b09d405733a9c4ffc40f
More information about the pld-cvs-commit
mailing list