commit 1552a05e2ccb37bd208c0ebc3126ac85f2947000
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sat Jun 29 12:15:15 2013 -0500
Switch from using auto tools to just building a new tarball
The previous system required making commits in order to do a new
build. This caused problems because we were using the git repo
directly for fedora builds and we couldn't use that exact version
when building matching packages because of needing to make new
commits in order to do the build.
Having the spec file in here also was unnecessary. It is easy to
just maintain the spec file in the Fedora package.
I still want to do a bit more future work with this to pick up
the version from a git tag.
INSTALL | 302 ---------------------------
Makefile | 2 +
Makefile.am | 194 ------------------
NEWS | 1 -
README | 26 +---
configure.ac | 16 --
install-sh | 520 -----------------------------------------------
missing | 376 ----------------------------------
sources | 2 -
spin-kickstarts.spec.in | 178 ----------------
10 files changed, 3 insertions(+), 1614 deletions(-)
---
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2af940a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,2 @@
+clean: rm -f spin-kickstarts.tar.gz
+dist: git archive --format=tar --prefix=spin-kickstarts | gzip >
spin-kickstarts.tar.gz
diff --git a/README b/README
index a6574f1..ebd9fb5 100644
--- a/README
+++ b/README
@@ -9,36 +9,12 @@ The release specific branches contain spin concepts that:
- are approved (both by Board and Spin SIG)
- maintained for the remainder of the release cycle
-When kickstart files are added or removed, Makefile.am should be updated to
-reflect the change.
-
-To rebuild the srpm for a new version or a new release without patches:
-
git clone
ssh://git.fedorahosted.org/git/spin-kickstarts.git spin-kickstarts
cd spin-kickstarts
# If you need a specific branch other than master:
git checkout BRANCHNAME
-# Edit configure.ac to update the version or release
-# Edit spin-kickstarts.spec.in to update the change log
-git commit -a
-git push
-aclocal
-automake
-autoconf
-./configure
make dist
-install -D -m 644 spin-kickstarts-*.tar.gz ~/rpmbuild/SOURCES
-# Edit spin-kickstarts.spec if some changelog history needs to be included
-install -D -m 644 spin-kickstarts.spec ~/rpmbuild/SPECS
-rpmbuild -ba ~/rpmbuild/SPECS/spin-kickstarts.spec
-# If the sprm gets published then publish the tar.gz file on fedorahosted
+# Publish the released tar ball
scp spin-kickstarts-*.tar.gz fedorahosted.org:spin-kickstarts
# Clean up the generated files:
git clean -f -d
-# To update a branch of spin-kickstarts
-# Make sure the branch is current (git pull)
-# Copy over the new spec file
-# In each branch run make new-sources FILES=/pathto/spin-kickstarts-*.tar.gz
-# Commit the changes with git commit -a
-# Make a new tag with make tag
-# Do the build with make build