From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
** <code>./configure</code> | ** <code>./configure</code> | ||
** <code>make dist</code> | ** <code>make dist</code> | ||
install -D -m 644 spin-kickstarts-*.tar.gz ~/rpmbuild/SOURCES | ** 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.spec ~/rpmbuild/SPECS | *** <code>install -D -m 644 spin-kickstarts-*.tar.gz ~/rpmbuild/SOURCES</code> | ||
rpmbuild -ba ~/rpmbuild/SPECS/spin-kickstarts.spec | *** <code>install -D -m 644 spin-kickstarts.spec ~/rpmbuild/SPECS</cpde> | ||
*** <code>rpmbuild -ba ~/rpmbuild/SPECS/spin-kickstarts.spec</code> | |||
# If the sprm gets published then publish the tar.gz file on fedorahosted | # If the sprm gets published then publish the tar.gz file on fedorahosted | ||
scp spin-kickstarts-*.tar.gz fedorahosted.org:spin-kickstarts | scp spin-kickstarts-*.tar.gz fedorahosted.org:spin-kickstarts |
Revision as of 06:56, 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.
- 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
- If the sprm gets published then publish the tar.gz file on fedorahosted
scp spin-kickstarts-*.tar.gz fedorahosted.org:spin-kickstarts
- Clean up the generated files:
git clean
- To update a branch of spin-kickstarts
- Make sure the branch is current (cvs up)
- Copy over the new spec file
- In each branch run make new-sources FILES=/pathto/spin-kickstarts-*.tar.gz
- Commit the changes with cvs commit
- Make a new tag with make tag
- Do the build with make build