Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2014-11-12 04:11:14 +0100
committerMichal Marek <mmarek@suse.cz>2014-11-12 04:17:32 +0100
commit6249314e73b7b6cc7bbf72cfe77a9b1e35bf0096 (patch)
tree9e9e9f9319626fc50f429508f51fdc5e1f976073
parentc952fbb9bd6cd494a485a8dd40dca840e089e5d8 (diff)
Mark the module as supported
References: bnc#904970 Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r--rpm/kgraft-patch.changes5
-rw-r--r--rpm/kgraft-patch.spec3
2 files changed, 7 insertions, 1 deletions
diff --git a/rpm/kgraft-patch.changes b/rpm/kgraft-patch.changes
index c03b00b..14a7d8a 100644
--- a/rpm/kgraft-patch.changes
+++ b/rpm/kgraft-patch.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Wed Nov 12 03:10:13 UTC 2014 - mmarek@suse.com
+
+- Mark the module as supported (bnc#904970)
+
+-------------------------------------------------------------------
Mon Nov 3 13:37:39 UTC 2014 - mbenes@suse.com
- Package with initial kGraft patch (uname)
diff --git a/rpm/kgraft-patch.spec b/rpm/kgraft-patch.spec
index 79aee76..fbe471a 100644
--- a/rpm/kgraft-patch.spec
+++ b/rpm/kgraft-patch.spec
@@ -42,9 +42,10 @@ cp %_sourcedir/kgr_patch_main.c .
cp %_sourcedir/Makefile .
%build
-set -- *
sed -i 's/@@RPMRELEASE@@/%module_num/g' Makefile
sed -i 's/@@RPMRELEASE@@/%module_num/g' kgr_patch_main.c
+echo 'kgraft-patch-%module_num' >Module.supported
+set -- *
commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp)
sed -i "s/@@GITREV@@/${commit:0:7}/g" uname_patch/kgr_patch_uname.c