git://git.onelab.eu
/
iptables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6639f3d
)
Need to escape \ in \n.
author
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Thu, 29 Nov 2007 03:20:22 +0000
(
03:20
+0000)
committer
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Thu, 29 Nov 2007 03:20:22 +0000
(
03:20
+0000)
iptables.spec
patch
|
blob
|
history
diff --git
a/iptables.spec
b/iptables.spec
index
e45573e
..
548f1f2
100644
(file)
--- a/
iptables.spec
+++ b/
iptables.spec
@@
-72,7
+72,7
@@
find . -type f -exec perl -pi -e "s,/usr,%{prefix},g" {} \;
TOPDIR=`pwd`
OPT="$RPM_OPT_FLAGS -I$TOPDIR/include"
-%define KERNEL %(rpm -q --qf '%%{VERSION}-%%{RELEASE}-%%{ARCH}\n' kernel-devel | tail -n 1 )
+%define KERNEL %(rpm -q --qf '%%{VERSION}-%%{RELEASE}-%%{ARCH}\
\
n' kernel-devel | tail -n 1 )
count=$(rpm -q kernel-devel| wc -l)
if [ $count -gt 1 ] ; then
echo "WARNING: choosing kernel-devel-%{KERNEL}"