File: make_rpm

package info (click to toggle)
omake 0.10.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,076 kB
  • sloc: ml: 49,729; ansic: 5,163; makefile: 688; sh: 110
file content (24 lines) | stat: -rwxr-xr-x 295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh -x

#
# Configuration
#
. ./config_rpm

#
# Make a tarball
#
./make_tar

#
# Build the RPM
#
rpmbuild -ta download/$TARBALL "$@"

#
# Copy the packages back here
#
if [ -d $OMAKE/RPM ]; then
   cp $RPMROOT/RPMS/$ARCHTYPE/$BINFILE $OMAKE/RPM
   cp $RPMROOT/SRPMS/$SRCFILE $OMAKE/RPM
fi