summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert@lshift.net>2008-12-12 13:31:47 +0000
committerHubert Plociniczak <hubert@lshift.net>2008-12-12 13:31:47 +0000
commit15066383b9cde2ad7146fbb4b926d67d1d3e1df8 (patch)
treed6f4c3cb0c579bf82001fd6b1013d216c34e77c4
parent9ee94ed9ea668d828f865e8e2b1fb6214639e57b (diff)
downloadrabbitmq-server-bug19568.tar.gz
Removed unused README.txt, if someone knows how to buildbug19568
rpms then that is (should) be already known.
-rw-r--r--packaging/RPMS/Fedora/Makefile5
-rw-r--r--packaging/RPMS/Fedora/README.txt49
2 files changed, 2 insertions, 52 deletions
diff --git a/packaging/RPMS/Fedora/Makefile b/packaging/RPMS/Fedora/Makefile
index dfb33a6a..5610de51 100644
--- a/packaging/RPMS/Fedora/Makefile
+++ b/packaging/RPMS/Fedora/Makefile
@@ -1,14 +1,13 @@
-# Read README.txt for instructions
-
VERSION=0.0.0
SOURCE_TARBALL_DIR=../../../dist
TARBALL=$(SOURCE_TARBALL_DIR)/rabbitmq-server-$(VERSION).tar.gz
TOP_DIR=$(shell pwd)
+#Under debian we do not want to check build dependencies, since that
+#only checks build-dependencies using rpms, not debs
DEFINES=--define '_topdir $(TOP_DIR)' --define '_tmppath $(TOP_DIR)/tmp' --define 'debian 1'
rpms: clean server
-#Create proper environment for making rpms
prepare:
mkdir -p BUILD SOURCES SPECS SRPMS RPMS tmp
cp $(TOP_DIR)/$(TARBALL) SOURCES
diff --git a/packaging/RPMS/Fedora/README.txt b/packaging/RPMS/Fedora/README.txt
deleted file mode 100644
index 6f313259..00000000
--- a/packaging/RPMS/Fedora/README.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-Notes on creating rpms for rabbitmq
-
-Assuming that rpm will be built under $TOP_DIR/rpm,
-the main configuration variables would look like:
-
-%_topdir $TOP_DIR/rpm
-%_tmppath $TOP_DIR/rpm/tmp
-%_bindir /usr/bin
-%_libdir /usr/lib
-%_includedir /usr/include
-%_mandir /usr/share/man
-
-Where $TOP_DIR can be any directory (default is $HOME).
-
-The $TOP_DIR/rpm directory has following structure:
-
-rpm
- +---- BUILD // directory where tarballs are unpacked
- +---- SOURCES // where source tarballs are put
- +---- SPECS // directory containing specs
- +---- SRPMS // rpmbuild puts here srpms
- +---- RPMS // rpmbuils puts here rpms
- +---- tmp // where rpm packages are built
-
-Makefile will copy the source tarball from fixed directory
-specified by $TARBALL_DIR to SOURCES directory and
-similarly specs from $SPEC_DIR to SPECS directory.
-
-'make rpms' should create rabbitmq-server package.
-If there are any errors reported by rpmbuild this is
-possibly due to incorrect name of the packages
-(if all dependencies are satisifed) - different distros
-can have slightly different names.
-
-rpms and srpms are placed in their respective directories.
-
-'make prepare' will create the necessary structure.
-Change main configuration variables specified in the 'DEFINES'
-variable in the Makefile to adjust it to your system.
-Note that it will *overwrite* any current rpmmacros
-configurations.
-
-The first thing to do for building rpms is to create you own
-source tarball of AMQ. In the spec files two top variables
-determine the name of the tarball. Adjust it to you needs.
-The final name has to match the *Source* tag in spec's headers.
-
-For information on how to sign the package see:
-http://fedoranews.org/tchung/gpg/