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.
This commit is contained in:
Bruno Wolff III
2013-06-29 12:15:15 -05:00
parent 3eacd1cee9
commit 1552a05e2c
10 changed files with 3 additions and 1614 deletions

26
README
View File

@@ -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