diff options
| author | Florent Villard <warly@mandriva.com> | 2006-09-20 13:47:01 +0000 |
|---|---|---|
| committer | Florent Villard <warly@mandriva.com> | 2006-09-20 13:47:01 +0000 |
| commit | 8ed6a89ee4182383f81dc5f9849f152d54f09339 (patch) | |
| tree | c2a892160a780102e1ade795876e9d0b4f9d2120 | |
| parent | a798f4ea402228a85968ad8a69500b319f9f7581 (diff) | |
| download | indexhtml-8ed6a89ee4182383f81dc5f9849f152d54f09339.tar indexhtml-8ed6a89ee4182383f81dc5f9849f152d54f09339.tar.gz indexhtml-8ed6a89ee4182383f81dc5f9849f152d54f09339.tar.bz2 indexhtml-8ed6a89ee4182383f81dc5f9849f152d54f09339.tar.xz indexhtml-8ed6a89ee4182383f81dc5f9849f152d54f09339.zip | |
manually create the /usr/share/doc/HTML in post to workarround excludedocs ignoring this directory
| -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 |
