]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- fixed macros.in changing
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 29 Jan 2002 22:49:43 +0000 (22:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rpm-build Requires: awk (to make sure...)

Changed files:
    rpm.spec -> 1.278

rpm.spec

index eff0e75f0fcbd641ed597521a68fca65227a838a..b5868c7b06b7b503695f5931998caf4167f8845f 100644 (file)
--- 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 | \
This page took 0.049925 seconds and 4 git commands to generate.