Siteview GridMap: How to build the RPM packages using Koji

Setup of your environment

mkdir $HOME/rpm
mkdir $HOME/rpm/SOURCES
mkdir $HOME/rpm/SPECS
mkdir $HOME/rpm/BUILD
mkdir $HOME/rpm/SRPMS
mkdir $HOME/rpm/RPMS
mkdir $HOME/rpm/RPMS/i386
  • Create the file ~/.rpmmacros with the following content
    %_topdir    /home/YOURUSERNAME/rpm
    %dist       .el5

Building packages locally

  • If everyhting is setup correctly you should be able to build the RPMs and SRPMs locally by running make in the respective source folder (the one that has the Makefile in it)
  • The built packages are put to ~/rpm/RPMS or ~/rpm/SRPMS (for source RPMs)

Building packages on Koji

  • See for a generic description, especially the part "Submitting packages through Koji"
  • If you are submitting a SRPM, make sure that the submitted "dist" matches the dist you are submitting for, e.g. for SL5 you submit to "dist-centos5-devel", so the dist must be set to ".el5" in the ~/.rpmmacros file prior to building the SRPM locally

-- DanielKleineAlbers - 2009-09-15

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2009-09-15 - unknown
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ArdaGrid All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback