Last change
on this file since 1d5066d was
1d5066d,
checked in by Ted Faber <faber@…>, 9 years ago
|
Tom Mitchell's RPM generation notes
|
-
Property mode set to
100644
|
File size:
657 bytes
|
Line | |
---|
1 | # As root or via sudo |
---|
2 | |
---|
3 | # get up to date |
---|
4 | yum update -y |
---|
5 | |
---|
6 | # Some convenience packages |
---|
7 | yum install -y emacs-nox wget |
---|
8 | |
---|
9 | # RPM related packages |
---|
10 | yum install -y rpm-build rpmdevtools rpmlint |
---|
11 | yum groupinstall -y "Development Tools" |
---|
12 | |
---|
13 | # Reboot so the new changes take hold |
---|
14 | reboot |
---|
15 | |
---|
16 | # ——— |
---|
17 | # As a regular user from here on |
---|
18 | |
---|
19 | rpmdev-setuptree |
---|
20 | |
---|
21 | wget http://abac.deterlab.net/src/abac-0.1.9.tar.gz |
---|
22 | cp abac-0.1.9.tar.gz rpmbuild/SOURCES |
---|
23 | # scp abac.spec to VM |
---|
24 | cp abac.spec rpmbuild/SPECS |
---|
25 | |
---|
26 | cd rpmbuild/SPECS |
---|
27 | |
---|
28 | # Install the build dependencies |
---|
29 | sudo yum-builddep -y abac.spec |
---|
30 | |
---|
31 | # build the RPM, ignoring certain rpath errors |
---|
32 | QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild -ba abac.spec |
---|
Note: See
TracBrowser
for help on using the repository browser.