Changes between Version 4 and Version 5 of RpmBuilding


Ignore:
Timestamp:
08/12/18 22:36:52 (6 years ago)
Author:
jorrit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RpmBuilding

    v4 v5  
    88yum install mock createrepo yum-utils
    99}}}
     10
     11Create the following directories to allow inspection and modification of RPM packages
     12{{{
     13mkdir -p ~/rpm/BUILD ~/rpm/RPMS ~/rpm/SOURCES ~/rpm/SPECS ~/rpm/SRPMS
     14}}}
     15
     16Create a ~/.rpmmacros file with the following content
     17{{{
     18%HOME       %{expand:%%(cd; pwd)}
     19%_topdir    %{HOME}/rpm
     20}}}
     21Any source rpm you now install (as regular user) will end up under $HOME/rpm/*
    1022
    1123Generate a GPG signing key:
     
    2638Create a ~/.rpmmacros file with the following content
    2739{{{
     40%HOME       %{expand:%%(cd; pwd)}
     41%_topdir    %{HOME}/rpm
     42
    2843%_signature gpg
    2944%_gpg_path ~/.gnupg