[Crossfire-wiki] [Crossfire DokuWiki] page changed: user:kbulgrien
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Sat Mar 12 22:21:16 CST 2011
A page in your DokuWiki was added or changed. Here are the details:
Date : 2011/03/12 22:21
User :
Edit Summary: Add .rpmmacros edit for signing RPMs
@@ -478,8 +478,9 @@
This procedure assumes that release operations are done in the ''/home/devel/crossfire/rpmbuild'' directory.
The RPMs build in this procedure may be installed by a user without using **sudo** or root permissions. The RPMs will be build to install in the user's home directory (**${HOME}/usr/local/games/crossfire**). This path is chosen so it is clearer how to modify the procedure to build RPMs that install into **/usr/local/games/crossfire**.
+
=====Optional: Setup .rpmmacros=====
A key to building RPMs without using sudo or root is centered around creating a .rpmmacros file in the builder's home directory. You only need a file like this set up if you want to build and install the rpm as a normal user. To make RPMs that use distribution defaults, make sure that ~/.rpmmacros does not exist, or that it does not conflict with the system-wide settings.
@@ -514,8 +515,13 @@
# ~/rpmbuild/nano/nano.spec
# Then you can build your rpm with
# rm -rf TMP/* BUILD/* ; rpmbuild -ba *.spec 2>&1 |tee rpmbuild.log
# For more information, see www.iki.fi/karvinen
+
+ To be able to sign RPMs, also add:
+
+ %_signature gpg
+ %_gpg_name Firstname I. Lastname
=====Setup the Release Workspace=====
Create the base workspace directory and make it your current working directory.
IP-Address : 75.23.46.105
Old Revision: http://wiki.metalforge.net/doku.php/user:kbulgrien?rev=1299989053
New Revision: http://wiki.metalforge.net/doku.php/user:kbulgrien
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list