Changes

From SME Server
Jump to navigationJump to search
28 bytes added ,  02:21, 1 February 2013
no edit summary
Line 3: Line 3:  
For each package it should be checked if it is still needed, or can we use an upstream package if one is available.
 
For each package it should be checked if it is still needed, or can we use an upstream package if one is available.
   −
Then before importing into CVS for SME 9 it needs to be checked if the package will build.
+
Then before importing into CVS for SME 9 it needs to be checked if the package will build. Here are the steps that need to be completed for each package.
   −
Here are the steps that need to be completed for each package.
+
== Package Build Steps ==
 
  −
== Initial build ==
   
check out package
 
check out package
 
  cp -a sme8 sme9
 
  cp -a sme8 sme9
Line 14: Line 12:  
  make clean
 
  make clean
 
  mv {sourcedir} {newsourcedir}
 
  mv {sourcedir} {newsourcedir}
- example e-smith-base-5.2.0 to e-smith-base-5.4.0
+
* example e-smith-base-5.2.0 to e-smith-base-5.4.0
 
  rm -f *.patch
 
  rm -f *.patch
 
{apply any fixes from spec to tree}
 
{apply any fixes from spec to tree}
Line 20: Line 18:  
  tar Jcvf {newsource}.tar.xz {newsourcedir}
 
  tar Jcvf {newsource}.tar.xz {newsourcedir}
 
  vi *.spec
 
  vi *.spec
- remove patches and fixes applied directly to tree
+
* remove patches and fixes applied directly to tree
- bump version and reset release to 1
+
* bump version and reset release to 1
- add changelog saying rolling for sme9
+
* add changelog saying rolling for sme9
 
  make new-sources FILES=*xz
 
  make new-sources FILES=*xz
- will get errors here because no cvs (that's fine)
+
* will get errors here because no cvs (that's fine)
 
  make mockbuild
 
  make mockbuild
- if this works then we can proceed
+
* if this works then we can proceed
rpm -qpl {noarch/x86_64}/{rpmname}.rpm
+
rpm -qpl {noarch/x86_64}/{rpmname}.rpm
- check that files look similar to the sme8 package
+
* check that files look similar to the sme8 package
cd ..
+
 
    
=== These following steps need developer access ===
 
=== These following steps need developer access ===
They are here for reference, they will need to be run on SME Server's build server.
+
They are here for reference, and transparency. They will need to be run on SME Server's build server.
   −
cvs add sme9
+
cd ..
cd sme9
+
cvs add sme9
date +%s
+
cd sme9
- get date for import
+
date +%s
vi import.log
+
* get date for import
- fix name/version/release and date
+
vi import.log*
cvs add .cvsignore *.spec Makefile import.log sources
+
* fix name/version/release and date
- be sure to add any other needed packages
+
cvs add .cvsignore *.spec Makefile import.log sources
make commit tag build
+
* be sure to add any other needed packages
 +
make commit tag build
     

Navigation menu