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

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