Update Release Information in the Menus: Difference between revisions

From MediaWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
You will need to update the following files:
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
; src/scripts/nstmenu/share/applications/release.apps.xml
Line 9: Line 9:
; yum/pkgs/nstmenu/pkginfo.xml
; yum/pkgs/nstmenu/pkginfo.xml
: Bump the release version as you've updated some of the files related to this package.
: 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 09: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]#