projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45abddb
)
dracut.spec: only apply patches, if there are any
author
Harald Hoyer
<harald@redhat.com>
Thu, 15 Dec 2011 07:57:58 +0000
(08:57 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 15 Dec 2011 08:19:05 +0000
(09:19 +0100)
dracut.spec
patch
|
blob
|
history
diff --git
a/dracut.spec
b/dracut.spec
index
5325ff8
..
91b62ee
100644
(file)
--- a/
dracut.spec
+++ b/
dracut.spec
@@
-161,6
+161,8
@@
This package contains tools to assemble the local initrd and host configuration.
%prep
%setup -q -n %{name}-%{version}
+
+%if %{defined PATCH1}
git init
git config user.email "dracut-maint@redhat.com"
git config user.name "Fedora dracut team"
@@
-169,6
+171,7
@@
git commit -a -q -m "%{version} baseline."
# Apply all the patches.
git am -p1 %{patches}
+%endif
%build
make