Difference between revisions of "FedoraARM Secondary Architecture/Patch procedure"
Chris Tyler (talk | contribs) (Created page with 'Category:Fedora ARM Secondary Architecture{{Chris Tyler Draft}} Procedure for applying arch-specific patches: # Check out the Fedora package sources using ''fedora-cvs'' (f…') |
Chris Tyler (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
Procedure for applying arch-specific patches: | Procedure for applying arch-specific patches: | ||
− | # Check out the Fedora package sources using ''fedora-cvs'' (from ''fedora- | + | # Check out the Fedora package sources using ''fedora-cvs'' (from ''fedora-packager''): <code>fedora-cvs ''packagename''</code> |
# Change to the current distribution version: <code>cd ''packagename''/F-13</code> | # Change to the current distribution version: <code>cd ''packagename''/F-13</code> | ||
+ | # Bump the release number: <code>rpmdev-bumpspec -c "Modified to build on ARM" *.spec</code> | ||
# Apply changes to the specfile (and other as required) | # Apply changes to the specfile (and other as required) | ||
# Make a SRPM: <code>make srpm</code> | # Make a SRPM: <code>make srpm</code> | ||
# Link the SRPM on the [[:fedora:Architectures/ARM/Packages_needing_patching|wiki page]]. | # Link the SRPM on the [[:fedora:Architectures/ARM/Packages_needing_patching|wiki page]]. | ||
− | # Test the SRPM on ARM: <code>koji --server https://arm.koji.fedoraproject.org/kojihub/ build --scratch *.src.rpm</code> | + | # Test the SRPM on ARM: <code>koji --server https://arm.koji.fedoraproject.org/kojihub/ build --scratch dist-f13 *.src.rpm</code> |
− | # Test the SRPM on the primary arches: <code>koji build --scratch *.src.rpm</code> | + | # Test the SRPM on the primary arches: <code>koji build --scratch dist-f13-updates *.src.rpm</code> |
# If the tests are unsuccessful, fix the problem and re-test (step 3). | # If the tests are unsuccessful, fix the problem and re-test (step 3). | ||
+ | # If the devel and F-13 versions are different, change to the devel directory and repeat the patching process. Test again. | ||
# Mark the test results on the [[:fedora:Architectures/ARM/Packages_needing_patching|wiki page]]. | # Mark the test results on the [[:fedora:Architectures/ARM/Packages_needing_patching|wiki page]]. | ||
− | # Create a patch: <code>cvs diff >''packagename''-arm.patch</code> | + | # Create a patch from the parent of the F-13 and devel directories: <code>cvs diff -uN >''packagename''-arm.patch</code> |
− | # Create a bugzilla entry with the title: <code>''packagename'': ARM arch support</code>. Attach the patch. | + | # Create a bugzilla entry with the title: <code>"''packagename'': ARM arch support"</code>. Attach the patch. |
# Enter the bugzilla number on the [[:fedora:Architectures/ARM/Packages_needing_patching|wiki page]]. | # Enter the bugzilla number on the [[:fedora:Architectures/ARM/Packages_needing_patching|wiki page]]. | ||
# Watch the bug and record the resolution on the [[:fedora:Architectures/ARM/Packages_needing_patching|wiki page]] if closed by the maintainer, or have an arch maintainer apply the patch if the maintainer is unresponsive. | # Watch the bug and record the resolution on the [[:fedora:Architectures/ARM/Packages_needing_patching|wiki page]] if closed by the maintainer, or have an arch maintainer apply the patch if the maintainer is unresponsive. |
Latest revision as of 11:14, 12 July 2010
Procedure for applying arch-specific patches:
- Check out the Fedora package sources using fedora-cvs (from fedora-packager):
fedora-cvs packagename
- Change to the current distribution version:
cd packagename/F-13
- Bump the release number:
rpmdev-bumpspec -c "Modified to build on ARM" *.spec
- Apply changes to the specfile (and other as required)
- Make a SRPM:
make srpm
- Link the SRPM on the wiki page.
- Test the SRPM on ARM:
koji --server https://arm.koji.fedoraproject.org/kojihub/ build --scratch dist-f13 *.src.rpm
- Test the SRPM on the primary arches:
koji build --scratch dist-f13-updates *.src.rpm
- If the tests are unsuccessful, fix the problem and re-test (step 3).
- If the devel and F-13 versions are different, change to the devel directory and repeat the patching process. Test again.
- Mark the test results on the wiki page.
- Create a patch from the parent of the F-13 and devel directories:
cvs diff -uN >packagename-arm.patch
- Create a bugzilla entry with the title:
"packagename: ARM arch support"
. Attach the patch. - Enter the bugzilla number on the wiki page.
- Watch the bug and record the resolution on the wiki page if closed by the maintainer, or have an arch maintainer apply the patch if the maintainer is unresponsive.