summaryrefslogtreecommitdiffstats
path: root/indexhtml.spec
diff options
context:
space:
mode:
Diffstat (limited to 'indexhtml.spec')
-rw-r--r--indexhtml.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/indexhtml.spec b/indexhtml.spec
index d64aac0..a087dd0 100644
--- a/indexhtml.spec
+++ b/indexhtml.spec
@@ -65,6 +65,9 @@ install -m 0644 HTML/index.html %buildroot/%_datadir/doc/HTML/index.html
%clean
rm -fr %buildroot
+%post
+cat %_datadir/mdk/indexhtml/index.html | \
+ sed "s/XXXXX/`cat /etc/release`/" > %_datadir/doc/HTML/index.html
%files
%defattr(-,root,root,-)