Difference between revisions of "Update Release Information in the Menus"

From NST Wiki
Jump to navigationJump to search
(New page: You will need to update the files: "''menu/applications/release.apps.xml''" and "''menu/groups/release.group.xml''" for the new release. You will need to add the new release manifest, and ...)
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
You will need to update the files: "''menu/applications/release.apps.xml''" and "''menu/groups/release.group.xml''" for the new release. You will need to add the new release manifest, and trim off older releases.
+
If you changed the version of Fedora that the NST release is based off of you will need to update the following files (for example, if the last NST release was based off of Fedora 13 and this release is based off of Fedora 15):
 +
 
 +
; src/scripts/nstmenu/share/applications/release.apps.xml
 +
: Add your new release to the list of entries (and trim off any old ones that are no longer needed).
 +
 
 +
; src/scripts/nstmenu/share/groups/release.group.xml
 +
: Add your new release and remove any old ones that are no longer requried.
 +
 
 +
; yum/pkgs/nstmenu/pkginfo.xml
 +
: Bump the release version as you've updated some of the files related to this package.
 +
 
 +
; yum/pkgs/nstmenu/template.spec
 +
: Add a '''%changelog''' entry as you've updated some of the files related to this package.
 +
 
 +
After editing these files, you will need to build the '''nstmenu''' package on your development machine:
 +
 
 +
[root@nst-dev-32 repo]# make -C yum nstmenu
 +
 +
    ... lots of output ...
 +
 +
[root@nst-dev-32 repo]#
 +
 +
Finally, install the updated ''nstmenu'' package on your development machine:
 +
 +
[root@nst-dev-32 repo]# rpm -Uvh yum/repo/noarch/nstmenu-2.11.0-16.nst11.noarch.rpm
 +
Preparing...               ########################################### [100%]
 +
    1:nstmenu                ########################################### [100%]
 +
[root@nst-dev-32 repo]#

Latest revision as of 10:32, 28 February 2012

If you changed the version of Fedora that the NST release is based off of you will need to update the following files (for example, if the last NST release was based off of Fedora 13 and this release is based off of Fedora 15):

src/scripts/nstmenu/share/applications/release.apps.xml
Add your new release to the list of entries (and trim off any old ones that are no longer needed).
src/scripts/nstmenu/share/groups/release.group.xml
Add your new release and remove any old ones that are no longer requried.
yum/pkgs/nstmenu/pkginfo.xml
Bump the release version as you've updated some of the files related to this package.
yum/pkgs/nstmenu/template.spec
Add a %changelog entry as you've updated some of the files related to this package.

After editing these files, you will need to build the nstmenu package on your development machine:

[root@nst-dev-32 repo]# make -C yum nstmenu

   ... lots of output ...

[root@nst-dev-32 repo]#

Finally, install the updated nstmenu package on your development machine:

[root@nst-dev-32 repo]# rpm -Uvh yum/repo/noarch/nstmenu-2.11.0-16.nst11.noarch.rpm 
Preparing...                ########################################### [100%]
   1:nstmenu                ########################################### [100%]
[root@nst-dev-32 repo]#