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

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