Line 62: |
Line 62: |
| To see if our changes work correctly as intended, we will make a build of the new package to test. | | To see if our changes work correctly as intended, we will make a build of the new package to test. |
| First we will update the spec file (explain spec file in 1 line) | | First we will update the spec file (explain spec file in 1 line) |
− | <pre>#increase the release
| |
− | %define release 15
| |
| | | |
− | #Then we apply our patch to the code:
| + | Edit the file e-smith-base.spec |
− | Patch2: smeserver-foo-1.2-widget.patch
| |
| | | |
− | #Then we need to update the changelog, including the bug number | + | <pre> |
− | * Fri Jan 11 2008 John Smith <smith@foo.net> 1.2-15
| + | #increase the release version |
− | - fixed foo to create bar [SME 3470] | + | %define release 68 |
| | | |
− | #Then we need to apply the patch in %setup (explain %setup in 1 line) | + | #add the patch to the existing patchlist: |
− | %patch2 -p1 | + | Patch2: e-smith-base-5.2.0-test.patch |
− | </pre>
| + | |
| + | #update the changelog section, including the bug number |
| + | * Wed Jan 23 2013 John Doe <jdoe@foo.net> Patch 68 |
| + | - just a test to see if I can do this [123] |
| + | |
| + | #add patch version to the %setup section |
| + | %patch55 -p1 |
| + | </pre> |
| | | |
| * CHECK: that the changelog version really matches the RPM version. | | * CHECK: that the changelog version really matches the RPM version. |