add macros defining arches so language stacks can add new arches without adding the arches to every spec file macros are needed at srpm creation time so live here

This commit is contained in:
Dennis Gilmore 2011-05-27 11:30:20 -05:00 committed by Ville Skyttä
parent 26a7faf833
commit 9ecf19e1bd
4 changed files with 9 additions and 0 deletions

View File

@ -11,7 +11,10 @@ clean:
install:
mkdir -p $(DESTDIR)/usr/lib/rpm/redhat
cp -pr * $(DESTDIR)/usr/lib/rpm/redhat/
mkdir -p $(DESTDIR)/etc/rpm
cp -pr macros.* $(DESTDIR)/etc/rpm/
rm -f $(DESTDIR)/usr/lib/rpm/redhat/{Makefile,ChangeLog}
rm -f $(DESTDIR)/usr/lib/rpm/redhat/macros.*
tag-archive:
@git tag -a $(CVSTAG) -m "$(NAME)-$(VERSION) release"

2
macros.ghc Normal file
View File

@ -0,0 +1,2 @@
# macro defining the archs that ghc runs on in fedora
%ghc_arches %{ix86} x86_64 ppc ppc64 alpha sparcv9

2
macros.mono Normal file
View File

@ -0,0 +1,2 @@
# arches that mono builds on
%mono_arches %{ix86} x86_64 sparc sparcv9 ia64 %{arm} alpha s390x ppc ppc64

2
macros.ocaml Normal file
View File

@ -0,0 +1,2 @@
# arches that ocaml runs on
%ocaml_arches alpha %{arm} %{ix86} ia64 x86_64 ppc sparc sparcv9 ppc64