git://git.onelab.eu
/
linux-3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
11fcca6
)
A hack to get ApplyPatch working.
author
Marco Yuen
<marcoy@gmail.com>
Mon, 19 Dec 2011 22:03:05 +0000
(17:03 -0500)
committer
Marco Yuen
<marcoy@gmail.com>
Mon, 19 Dec 2011 22:03:05 +0000
(17:03 -0500)
kernel-3.1.spec
patch
|
blob
|
history
diff --git
a/kernel-3.1.spec
b/kernel-3.1.spec
index
2b41cf4
..
06a7863
100644
(file)
--- a/
kernel-3.1.spec
+++ b/
kernel-3.1.spec
@@
-1019,7
+1019,7
@@
ApplyPatch()
exit 1
fi
%if !%{using_upstream_branch}
exit 1
fi
%if !%{using_upstream_branch}
- if ! grep -E "^Patch[0-9]+: $patch\$" %{_specdir}/
${RPM_PACKAGE_NAME%%%%%{?variant}}
.spec ; then
+ if ! grep -E "^Patch[0-9]+: $patch\$" %{_specdir}/
kernel-3.1
.spec ; then
if [ "${patch:0:8}" != "patch-3." ] ; then
echo "ERROR: Patch $patch not listed as a source patch in specfile"
exit 1
if [ "${patch:0:8}" != "patch-3." ] ; then
echo "ERROR: Patch $patch not listed as a source patch in specfile"
exit 1