Update Release Information in the Menus: Difference between revisions

From MediaWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 11: Line 11:


; yum/pkgs/nstmenu/template.spec
; yum/pkgs/nstmenu/template.spec
: Add a changelog entry as you've updated some of the files related to this package.
: 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 and install the update.
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
  [root@nst-dev-32 repo]# make -C yum nstmenu
   
   
... Lots of output as package builds ...
    ... 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  
  [root@nst-dev-32 repo]# rpm -Uvh yum/repo/noarch/nstmenu-2.11.0-16.nst11.noarch.rpm  

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]#