diff options
-rw-r--r-- | indexhtml.spec | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indexhtml.spec b/indexhtml.spec index bd83f08..33e43d5 100644 --- a/indexhtml.spec +++ b/indexhtml.spec @@ -1,6 +1,6 @@ %define name indexhtml %define version 2007.0 -%define release %mkrel 5 +%define release %mkrel 6 Summary: Mandriva Linux html welcome page Name: %{name} @@ -77,6 +77,8 @@ cat %buildroot/%_datadir/mdk/indexhtml/index.html | \ rm -fr %buildroot %post +# done to prevent excludedocs to ignore the doc/HTML +mkdir -p %_datadir/doc/HTML/index.html cat %_datadir/mdk/indexhtml/index.html | \ sed "s/#MDV_RELEASE/`cat /etc/release`/" | \ sed "s/#MDV_PRODUCT/`gawk -F= '/META_CLASS/ { print $2 }' /etc/sysconfig/system`/" | \ @@ -92,6 +94,10 @@ cat %_datadir/mdk/indexhtml/index.html | \ #/etc/sysconfig/network-scripts/ifup.d/indexhtml %changelog +* Wed Sep 20 2006 Warly <warly@mandriva.com> 2007.0-6mdv2007.0 +- manually create the /usr/share/doc/HTML in post to workarround excludedocs + ignoring this directory + * Mon Sep 18 2006 Warly <warly@mandriva.com> 2007.0-5mdv2007.0 - must explicitely add /usr/share/doc/HTML as dir for excludedocs not to ignore it |