Changes between Version 4 and Version 5 of RpmBuilding
- Timestamp:
- 08/12/18 22:36:52 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RpmBuilding
v4 v5 8 8 yum install mock createrepo yum-utils 9 9 }}} 10 11 Create the following directories to allow inspection and modification of RPM packages 12 {{{ 13 mkdir -p ~/rpm/BUILD ~/rpm/RPMS ~/rpm/SOURCES ~/rpm/SPECS ~/rpm/SRPMS 14 }}} 15 16 Create a ~/.rpmmacros file with the following content 17 {{{ 18 %HOME %{expand:%%(cd; pwd)} 19 %_topdir %{HOME}/rpm 20 }}} 21 Any source rpm you now install (as regular user) will end up under $HOME/rpm/* 10 22 11 23 Generate a GPG signing key: … … 26 38 Create a ~/.rpmmacros file with the following content 27 39 {{{ 40 %HOME %{expand:%%(cd; pwd)} 41 %_topdir %{HOME}/rpm 42 28 43 %_signature gpg 29 44 %_gpg_path ~/.gnupg