summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-03 10:15:25 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-03 10:15:25 +0000
commited1c6680bb3c448a9cfc63d983213d67cc51fa6b (patch)
tree1fb472a47bbd40acf54b5c4be0b3962795cd0cf4
parente42eef6e955ffda760275a7d5727e18be3d3af4d (diff)
automatic import of diffutils
-rw-r--r--diffutils.spec6
1 files changed, 2 insertions, 4 deletions
diff --git a/diffutils.spec b/diffutils.spec
index 658c2d8..6d84b61 100644
--- a/diffutils.spec
+++ b/diffutils.spec
@@ -9,10 +9,10 @@ Patch3: diff3-set-flagging-to-true-in-X-option.patch
License: GPL-3.0-or-later
Provides: bundled(gnulib)
BuildRequires: gcc, help2man, gettext-devel
+BuildRequires: /usr/bin/pr
%ifarch %{valgrind_arches}
BuildRequires: valgrind
%endif
-BuildRequires: autoconf, automake, texinfo
%description
GNU Diffutils is a package of several programs related to finding differences between files.
@@ -22,14 +22,12 @@ GNU Diffutils is a package of several programs related to finding differences be
%prep
%autosetup -n %{name}-%{version} -p1
-autoreconf -ifv
-
%build
%ifarch aarch64 riscv64
CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
%endif
%configure
-make PR_PROGRAM=%{_bindir}/pr
+%make_build
%install
%make_install