]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.spec
add support for aarch64
[packages/rpm.git] / rpm.spec
index c06e8f4b4add85d40255bd5f4464d1c5e33af919..f9d228c498f6f92f7cc51f614b50c03591b80c5a 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -1087,6 +1087,10 @@ rm $RPM_BUILD_ROOT%{_rpmlibdir}/x86_64-linux/macros
 rm $RPM_BUILD_ROOT%{_rpmlibdir}/ppc-linux/macros
 %endif
 
 rm $RPM_BUILD_ROOT%{_rpmlibdir}/ppc-linux/macros
 %endif
 
+%ifnarch aarch64
+rm $RPM_BUILD_ROOT%{_rpmlibdir}/aarch64-linux/macros
+%endif
+
 rm $RPM_BUILD_ROOT%{_rpmlibdir}/alpha*-linux/macros
 rm $RPM_BUILD_ROOT%{_rpmlibdir}/arm*-linux/macros
 rm $RPM_BUILD_ROOT%{_rpmlibdir}/ia64-linux/macros
 rm $RPM_BUILD_ROOT%{_rpmlibdir}/alpha*-linux/macros
 rm $RPM_BUILD_ROOT%{_rpmlibdir}/arm*-linux/macros
 rm $RPM_BUILD_ROOT%{_rpmlibdir}/ia64-linux/macros
@@ -1151,6 +1155,10 @@ i386-[^-]*-[Ll]inux(-gnu)?
 alpha-[^-]*-[Ll]inux(-gnu)?
 %endif
 
 alpha-[^-]*-[Ll]inux(-gnu)?
 %endif
 
+%ifarch aarch64
+aarch64-[^-]*-[Ll]inux(-gnu)?
+%endif
+
 %ifarch ia64
 ia64-[^-]*-[Ll]inux(-gnu)?
 %endif
 %ifarch ia64
 ia64-[^-]*-[Ll]inux(-gnu)?
 %endif
@@ -1368,6 +1376,9 @@ find %{_rpmlibdir} -name '*-linux' -type l | xargs rm -f
 %ifarch alpha
 %{_rpmlibdir}/alpha*
 %endif
 %ifarch alpha
 %{_rpmlibdir}/alpha*
 %endif
+%ifarch aarch64
+%{_rpmlibdir}/aarch64*
+%endif
 %ifarch ia64
 %{_rpmlibdir}/ia64*
 %endif
 %ifarch ia64
 %{_rpmlibdir}/ia64*
 %endif
This page took 0.056156 seconds and 4 git commands to generate.