File: make_rpm

package info (click to toggle)
omake 0.9.8.5-3-8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 20,524 kB
  • ctags: 10,983
  • sloc: ml: 60,296; ansic: 7,127; makefile: 689; sh: 114
file content (25 lines) | stat: -rwxr-xr-x 353 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh -x

#
# Configuration
#
. config_rpm

#
# Make a tarball
#
./make_tar

#
# Build the RPM
# BUG: --nodeps is needed only for the build on Cygwin.
#
rpmbuild -ta --nodeps 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