]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- more --host=ppc7450-pld-linux-gnu must be killed
authorsparky <sparky@pld-linux.org>
Sat, 11 Feb 2006 21:30:37 +0000 (21:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.spec -> 1.728

rpm.spec

index a827529d8c286997b5876f11be258890c4825425..d5c2553621e8e8b1ef104443613033a38dfd53b4 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -29,7 +29,7 @@ Summary(uk):  
 Name:          rpm
 %define        sover   4.4
 Version:       4.4.4
-Release:       0.3
+Release:       0.4
 License:       GPL
 Group:         Base
 Source0:       ftp://jbj.org/pub/rpm-4.4.x/%{name}-%{version}.tar.gz
@@ -727,7 +727,7 @@ cd ..
 %ifarch %{ppc}
 TARG=$( echo %{_target_cpu} | sed 's/ppc//' )
 sed -e "s|@host@|ppc-%{_target_vendor}-linux-gnu|" \
-       -e "s|@host_cpu@|%{_target_cpu}|" macros.in > macros.tmp
+       -e "s|@host_cpu@|ppc|" macros.in > macros.tmp
 %else
 sed -e 's|@host@|%{_target_cpu}-%{_target_vendor}-linux-gnu|' \
        -e 's|@host_cpu@|%{_target_cpu}|' macros.in > macros.tmp
@@ -775,6 +775,11 @@ install -d $RPM_BUILD_ROOT{/%{_lib},/etc/sysconfig,%{_sysconfdir}/rpm,/var/lib/b
        pylibdir=%{py_libdir} \
        pkgbindir="%{_bindir}"
 
+%ifarch %{ppc}
+sed -e '/_target_platform/s/[%]{_target_cpu}/ppc/' \
+       -i $RPM_BUILD_ROOT%{_rpmlibdir}/ppc74[05]0-linux/macros
+%endif
+
 rm $RPM_BUILD_ROOT%{_rpmlibdir}/vpkg-provides*
 rm $RPM_BUILD_ROOT%{_rpmlibdir}/find-{prov,req}.pl
 rm $RPM_BUILD_ROOT%{_rpmlibdir}/find-{provides,requires}.perl
This page took 0.046139 seconds and 4 git commands to generate.