From Fedora Project Wiki
No edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
* Get a checkout of the appropriate spin-kickstarts branch | * Get a checkout of the appropriate spin-kickstarts branch | ||
** <code>git clone ssh://git.fedorahosted.org/git/spin-kickstarts.git spin-kickstarts</code> | ** <code>git clone ssh://git.fedorahosted.org/git/spin-kickstarts.git spin-kickstarts</code> | ||
** <code>cd spin-kickstarts<code> | ** <code>cd spin-kickstarts</code> | ||
** If not using the master branch switch to the appropriate branch | ** If not using the master branch switch to the appropriate branch | ||
*** <code>git checkout BRANCH_NAME</code> | *** <code>git checkout BRANCH_NAME</code> |
Revision as of 07:16, 8 June 2010
When
This package should get rebuilt shortly before alpha, beta and the release, when there have been changes in spin kickstart files since the last build. An update should be done if there was a change, shortly after a release. When spin-kickstarts is branched for a release, a new devel package should be built corresponding to the next Fedora release.
How
- Get a checkout of the appropriate spin-kickstarts branch
git clone ssh://git.fedorahosted.org/git/spin-kickstarts.git spin-kickstarts
cd spin-kickstarts
- If not using the master branch switch to the appropriate branch
git checkout BRANCH_NAME
- If there is new, removed or moved kickstart file update Makefile.am to reflect that.
- Also note that if a kickstart file is moved from the top directory to one of the subdirectories (e.g. custom), any includes done by the kickstart file need to prefix
../
to the include file name.
- Also note that if a kickstart file is moved from the top directory to one of the subdirectories (e.g. custom), any includes done by the kickstart file need to prefix
- Edit configure.ac to update the version or release
- Edit spin-kickstarts.spec.in to update the change log
- If any changes above have been made, then they should be committed and pushed back
git commit -a
git push
aclocal
automake
autoconf
./configure
make dist
- Edit spin-kickstarts.spec if some changelog history needs to be included from existing package, that isn't in the changelog in the git repo. (And isn't wanted there; otherwise it should have been done above.)
- To make a local srpm (perhaps for testing):
install -D -m 644 spin-kickstarts-*.tar.gz ~/rpmbuild/SOURCES
install -D -m 644 spin-kickstarts.spec ~/rpmbuild/SPECS</cpde>
rpmbuild -ba ~/rpmbuild/SPECS/spin-kickstarts.spec
- To make a new package of spin-kickstarts for a Fedora branch:
- Go to the local branch directory
- Make sure the branch is up to date
cvs up
- Copy over the new spec file
- Update the tar archive using the one built above
make new-sources FILES=/pathto/spin-kickstarts-*.tar.gz
- Commit the changes
cvs commit
- Make a new tag
make tag
- Build the update
make build
- If this isn't the devel branch go to bodhi and push the release out to testing initially and updates later if there are no problems.
- The spin-kickstarts tar.gz file should get posted on the spin-kickstarts fedorahosted page.
scp spin-kickstarts-*.tar.gz fedorahosted.org:spin-kickstarts
- To clean files created by the build process out of the git directory
git clean
rm -r autom4te.cache