From d1ae0589d037f3afd5b34c79ae23c54ae0d65c06 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 29 Jan 2002 22:49:43 +0000 Subject: [PATCH] - fixed macros.in changing - rpm-build Requires: awk (to make sure...) Changed files: rpm.spec -> 1.278 --- rpm.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpm.spec b/rpm.spec index eff0e75..b5868c7 100644 --- a/rpm.spec +++ b/rpm.spec @@ -300,6 +300,7 @@ Group(de): Applikationen/Datei Group(pl): Aplikacje/Pliki Summary(pt_BR): Scripts e programas executáveis usados para construir pacotes Group: Applications/File +Requires: %{name} = %{version} Requires: /bin/id Requires: awk Requires: binutils @@ -417,7 +418,7 @@ mv -f python/Makefile.in.new python/Makefile.in sed -e 's#python1.5#python%{py_ver}#g' \ python/Makefile.in > python/Makefile.in.new sed -e 's|@host@|%{_target_cpu}-%{_target_vendor}-linux-gnu|' macros.in | \ - sed 's|@host_cpu@|%{_target_cpu}|' | \ + sed 's|@host_cpu@|%{_target_cpu}|' > macros.tmp # config.guess doesn't handle athlon, so we have to change it by hand. # rpm checks for CPU type at runtime, but it looks better sed -e 's|@host@|%{_target_cpu}-%{_target_vendor}-linux-gnu|' macros.in | \ -- 2.43.0