Index: SPECS/rpm.spec =================================================================== --- SPECS.orig/rpm.spec +++ SPECS/rpm.spec @@ -17,7 +17,7 @@ Summary: The RPM package management syst Name: rpm Version: 4.4.2 %{expand: %%define rpm_version %{version}} -Release: 46%{?dist} +Release: 46.fa2%{?dist} Group: System Environment/Base Url: http://www.rpm.org/ Source: rpm-%{rpm_version}.tar.gz @@ -68,6 +68,7 @@ Patch41: rpm-4.4.2-cdiff.patch Patch42: rpm-4.4.2-docflags.patch Patch43: rpm-debugedit-incremental-fix.patch Patch44: rpm-4.4.2-prefer-elf32.patch +Patch45: rpm-4.4.2-arm.diff License: GPL Requires: patch > 2.5 Prereq: shadow-utils @@ -214,6 +215,8 @@ shell-like rules. %patch42 -p1 -b .docflags %patch43 -p1 -b .debugcan2 %patch44 -p1 -b .elfprefer +%patch45 -p1 -b .arm +perl -pi -e "s/-gnu$/%{_gnu}/" macros.in # rebuild configure for ipv6 autoconf @@ -410,8 +413,8 @@ exit 0 %ifarch s390 s390x %attr(-, rpm, rpm) %{__prefix}/lib/rpm/s390* %endif -%ifarch armv3l armv4l -%attr(-, rpm, rpm) %{__prefix}/lib/rpm/armv[34][lb]* +%ifarch %{arm} +%attr(-, rpm, rpm) %{__prefix}/lib/rpm/arm* %endif %ifarch mips mipsel %attr(-, rpm, rpm) %{__prefix}/lib/rpm/mips*