diff --git a/Makefile b/Makefile index 7c6c9f3..0a87d83 100644 --- a/Makefile +++ b/Makefile @@ -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" diff --git a/macros.ghc b/macros.ghc new file mode 100644 index 0000000..745ef9e --- /dev/null +++ b/macros.ghc @@ -0,0 +1,2 @@ +# macro defining the archs that ghc runs on in fedora +%ghc_arches %{ix86} x86_64 ppc ppc64 alpha sparcv9 diff --git a/macros.mono b/macros.mono new file mode 100644 index 0000000..8d995b3 --- /dev/null +++ b/macros.mono @@ -0,0 +1,2 @@ +# arches that mono builds on +%mono_arches %{ix86} x86_64 sparc sparcv9 ia64 %{arm} alpha s390x ppc ppc64 diff --git a/macros.ocaml b/macros.ocaml new file mode 100644 index 0000000..19d71fb --- /dev/null +++ b/macros.ocaml @@ -0,0 +1,2 @@ +# arches that ocaml runs on +%ocaml_arches alpha %{arm} %{ix86} ia64 x86_64 ppc sparc sparcv9 ppc64