Difference between revisions of "FedoraARM Secondary Architecture/Patch procedure"

From CDOT Wiki
Jump to: navigation, search
Line 13: Line 13:
 
# 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).
 
# 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: <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.

Revision as of 09:47, 12 July 2010

Important.png
This is a draft only!
It is still under construction and content may change. Do not rely on this information.

Procedure for applying arch-specific patches:

  1. Check out the Fedora package sources using fedora-cvs (from fedora-packager): fedora-cvs packagename
  2. Change to the current distribution version: cd packagename/F-13
  3. Bump the release number: rpmdev-bumpspec -c "Modified to build on ARM" *.spec
  4. Apply changes to the specfile (and other as required)
  5. Make a SRPM: make srpm
  6. Link the SRPM on the wiki page.
  7. Test the SRPM on ARM: koji --server https://arm.koji.fedoraproject.org/kojihub/ build --scratch *.src.rpm
  8. Test the SRPM on the primary arches: koji build --scratch *.src.rpm
  9. If the tests are unsuccessful, fix the problem and re-test (step 3).
  10. Mark the test results on the wiki page.
  11. Create a patch: cvs diff -uN >packagename-arm.patch
  12. Create a bugzilla entry with the title: packagename: ARM arch support. Attach the patch.
  13. Enter the bugzilla number on the wiki page.
  14. 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.