Blame SOURCES/redhat-rpm-config-9.1.0-arches-macros.patch

3bf4a1
diff -uNr redhat-rpm-config-9.1.0-orig/macros.ghc-srpm redhat-rpm-config-9.1.0/macros.ghc-srpm
3bf4a1
--- redhat-rpm-config-9.1.0-orig/macros.ghc-srpm	1969-12-31 18:00:00.000000000 -0600
3bf4a1
+++ redhat-rpm-config-9.1.0/macros.ghc-srpm	2011-05-27 10:19:29.504287354 -0500
3bf4a1
@@ -0,0 +1,3 @@
3bf4a1
+# macro defining the archs that ghc runs on in fedora
3bf4a1
+%ghc_arches %{ix86} x86_64 ppc ppc64 ppc64le alpha sparcv9 armv7hl armv5tel s390 s390x aarch64
3bf4a1
+%ghc_arches_with_ghci %{ix86} x86_64 ppc sparcv9 armv7hl armv5tel
3bf4a1
diff -uNr redhat-rpm-config-9.1.0-orig/macros.mono-srpm redhat-rpm-config-9.1.0/macros.mono-srpm
3bf4a1
--- redhat-rpm-config-9.1.0-orig/macros.mono-srpm	1969-12-31 18:00:00.000000000 -0600
3bf4a1
+++ redhat-rpm-config-9.1.0/macros.mono-srpm	2011-05-27 10:59:00.348201750 -0500
3bf4a1
@@ -0,0 +1,2 @@
3bf4a1
+# arches that mono builds on
3bf4a1
+%mono_arches %{ix86} x86_64 sparc sparcv9 ia64 %{arm} alpha s390x ppc ppc64
3bf4a1
diff -uNr redhat-rpm-config-9.1.0-orig/macros.nodejs-srpm redhat-rpm-config-9.1.0/macros.nodejs-srpm
3bf4a1
--- redhat-rpm-config-9.1.0-orig/macros.nodejs-srpm 1969-12-31 17:00:00.000000000 -0700
3bf4a1
+++ redhat-rpm-config-9.1.0/macros.nodejs-srpm  2013-05-20 19:21:20.364367765 -0700
3bf4a1
@@ -0,0 +1,6 @@
3bf4a1
+# nodejs_arches lists what arches Node.js and dependent packages run on.
3bf4a1
+#
3bf4a1
+# Enabling Node.js on other arches requires porting the V8 JavaScript JIT to
3bf4a1
+# those arches.
3bf4a1
+
3bf4a1
+%nodejs_arches %{ix86} x86_64 %{arm} aarch64 ppc64le s390x
3bf4a1
diff -uNr redhat-rpm-config-9.1.0-orig/macros.ocaml-srpm redhat-rpm-config-9.1.0/macros.ocaml-srpm
3bf4a1
--- redhat-rpm-config-9.1.0-orig/macros.ocaml-srpm	1969-12-31 18:00:00.000000000 -0600
3bf4a1
+++ redhat-rpm-config-9.1.0/macros.ocaml-srpm	2011-05-27 10:42:10.638194240 -0500
3bf4a1
@@ -0,0 +1,2 @@
3bf4a1
+# arches that ocaml runs on
3bf4a1
+%ocaml_arches aarch64 alpha %{arm} %{ix86} ia64 x86_64 ppc ppc64 ppc64le sparc sparcv9
3bf4a1
diff -uNr redhat-rpm-config-9.1.0-orig/macros.gnat-srpm redhat-rpm-config-9.1.0/macros.gnat-srpm
3bf4a1
--- redhat-rpm-config-9.1.0-orig/macros.gnat-srpm	1970-01-01 01:00:00.000000000 +0100
3bf4a1
+++ redhat-rpm-config-9.1.0/macros.gnat-srpm	2012-01-05 17:04:35.000000000 +0100
3bf4a1
@@ -0,0 +1,4 @@
3bf4a1
+# GNAT_arches lists the architectures where GNAT is available in Fedora. Ada
3bf4a1
+# packages won't build on other architectures until GNAT is bootstrapped for
3bf4a1
+# them.
3bf4a1
+%GNAT_arches %{ix86} x86_64 ia64 ppc ppc64 ppc64le alpha aarch64
3bf4a1
diff -uNr redhat-rpm-config-9.1.0-orig/Makefile redhat-rpm-config-9.1.0/Makefile
3bf4a1
--- redhat-rpm-config-9.1.0-orig/Makefile	2010-02-02 03:24:04.000000000 -0600
3bf4a1
+++ redhat-rpm-config-9.1.0/Makefile	2011-05-27 10:43:34.898205307 -0500
3bf4a1
@@ -11,7 +11,10 @@
3bf4a1
 install:
3bf4a1
 	mkdir -p $(DESTDIR)/usr/lib/rpm/redhat
3bf4a1
 	cp -pr * $(DESTDIR)/usr/lib/rpm/redhat/
3bf4a1
+	mkdir -p $(DESTDIR)/etc/rpm
3bf4a1
+	cp -pr macros.* $(DESTDIR)/etc/rpm/
3bf4a1
 	rm -f $(DESTDIR)/usr/lib/rpm/redhat/Makefile
3bf4a1
+	rm -f $(DESTDIR)/usr/lib/rpm/redhat/macros.*
3bf4a1
 
3bf4a1
 tag-archive:
3bf4a1
 	@git tag -a $(CVSTAG) -m "$(NAME)-$(VERSION) release"