RFC: proposed macro deffinitions for F-13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

Id like to get some feedback on the patches that i'm proposing for F-13.  
quite a few packages that need to deal with differences between 32bit/64bit  or 
multilib arches have defines for the appropriate arches.  sometimes incomplete 
since they don't include secondary arches.

I wanted to get some feedback. and see if there are other cases we should add.

Dennis
--- redhat-rpm-config-9.0.3-orig/macros	2009-10-27 10:18:01.000000000 -0500
+++ redhat-rpm-config-9.0.3/macros	2009-10-27 12:14:24.000000000 -0500
@@ -277,3 +277,7 @@
 %global __find_requires /bin/sh -c "%{?__filter_req_cmd}  %{__deploop R} %{?__filter_from_req}" \
 }
 
+#==============================================================================
+# Set up multilib arch definitions
+%multilib32 sparc sparcv8 sparcv9 sparcv9v ppc s390
+%multilib64 x86_64 sparc64 sparc64v ppc64 s390x
--- rpm-4.7.1/macros.in.orig	2009-10-27 11:36:12.000000000 -0500
+++ rpm-4.7.1/macros.in	2009-10-27 12:15:46.000000000 -0500
@@ -1194,11 +1194,23 @@
 #------------------------------------------------------------------------------
 # arch macro for all supported Sparc processors
 %sparc sparc sparcv8 sparcv9 sparcv9v sparc64 sparc64v
+# arch macro for all supported sparc32 bit builds
+%sparc32 sparc sparcv8 sparcv9 sparcv9v
+# arch macro for all supported sparc64 bit builds
+%sparc64 sparc64 sparc64v
 
 #------------------------------------------------------------------------------
 # arch macro for all supported Alpha processors
 %alpha	alpha alphaev56 alphaev6 alphaev67
 
+
+#------------------------------------------------------------------------------
+# arch macro for all supported 32 bit builds
+%32bitarches %{ix86} %{sparc32} %{arm} s390
+# arch macro for all supported 64 bit builds
+%64bitarches x86_64 %{sparc64} ia64 s390x %{alpha} 
+
+
 #------------------------------------------------------------------------
 # Use in %install to generate locale specific file lists. For example,
 #

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux