From Fedora Project Wiki
  • Make sure to run cvs import before building packages
  • cvsimport script can be used for creating initial builds as well as updates. It is recommended only to use it for initial imports and update spec/sources/.cvsignore individually for further updates.
  • Run cvs up to update cvs after running cvs import
  • example scratch build: koji build --scratch dist-f8 Desktop/unrar-0.0.1-1.20070515cvs.src.rpm

Excluding .la files

find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'

or

%exclude <filename>


Patches

  • diff -Naur tools.orig/livecd-iso-to-disk.sh tools/livecd-iso-to-disk.sh > livecd-iso-to-disk-path.patch
  • Could do a direct diff between two directories to create a -p1 level patch.

Small libraries

  • libmowgli
  • ustr
  • apr
  • glib
  • gnet2
  • libsoup


Merge - Mplayer


mencoder -oac copy -ovc copy -o NEWVIDEOFILE part*