OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d4f3f4
)
Added rpmbuild detection
author
Jaroslav Kysela
<perex@perex.cz>
Sun, 14 Mar 2004 17:06:01 +0000
(17:06 +0000)
committer
Jaroslav Kysela
<perex@perex.cz>
Sun, 14 Mar 2004 17:06:01 +0000
(17:06 +0000)
utils/buildrpm
patch
|
blob
|
history
diff --git
a/utils/buildrpm
b/utils/buildrpm
index
8af05f9
..
e6f44ba
100644
(file)
--- a/
utils/buildrpm
+++ b/
utils/buildrpm
@@
-4,6
+4,8
@@
source=.
version=`cat $source/../version`
package=$source/../../alsa-lib-$version.tar.bz2
packagedir=/usr/src/redhat
+xrpmbuild=rpm
+rpmbuild --usage 2> /dev/null > /dev/null && xrpmbuild=rpmbuild
if [ -d /usr/src/packages ]; then
packagedir=/usr/src/packages
@@
-40,6
+42,5
@@
fi
cp -fv $source/alsa-lib.spec ${packagedir}/SPECS
cd ${packagedir}/SPECS
-
rpm
-ba alsa-lib.spec
+
$xrpmbuild
-ba alsa-lib.spec
cd ${packagedir}
-