Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440326

Summary: app-benchmarks/i7z-0.27.2 installs duplicate files in /usr/share/doc
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: New packagesAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Mayo 2012-10-30 20:56:56 UTC
$ ls /usr/share/doc/i7z*
/usr/share/doc/i7z:
MAKEDEV-cpuid-msr.bz2     put_cores_online.sh.bz2
put_cores_offline.sh.bz2  README.txt.bz2

/usr/share/doc/i7z-0.27.2:
MAKEDEV-cpuid-msr.bz2  put_cores_offline.sh.bz2  put_cores_online.sh.bz2


Fixed for me by adding to src_prepare():

sed  -i "s:\$(BIN):$PF:" Makefile || die
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2012-10-31 07:04:22 UTC
+  31 Oct 2012; Justin Lecher <jlec@gentoo.org> i7z-0.27.2.ebuild:
+  Don't install docs twice, #440326; thanks Chris Mayo for an initial patch
+