Bug 12477 - неполная упаковка kernel-source-truecrypt
Summary: неполная упаковка kernel-source-truecrypt
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: truecrypt (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: led
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-06 04:01 MSD by Evgeny Sinelnikov
Modified: 2008-03-27 03:26 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeny Sinelnikov 2007-08-06 04:01:10 MSD
При упаковке kernel-source-truecrypt, теряется необходимый для сборки
Common/Password.h

Мне помог вот такой грязный хак на SPEC-файл:
-- truecrypt-4.3a-alt1.spec.orig       2007-05-17 05:13:26 +0400
+++ truecrypt-4.3a-alt1.spec    2007-08-06 03:59:29 +0400
@@ -61,7 +61,7 @@
     install -m 0644 ${f%%o}c kernel-source-%name-%version/${f%%o}c
 done
 for f in {Crypto,Common}/*.h; do
-    [ -f ${f%%h}o -o ! -f ${f%%h}c ] && install -m 0644 $f
kernel-source-%name-%version/$f
+    [ -f ${f%%h}o -o ! -f ${f%%h}c -o "${f%%.h}" == "Common/Password" ] &&
install -m 0644 $f kernel-source-%name-%version/$f
 done
 tar -c kernel-source-%name-%version | bzip2 --best --stdout > \
     %buildroot%_usrsrc/kernel/sources/kernel-source-%name-%version.tar.bz2
Comment 1 led 2007-08-07 01:13:59 MSD
fixed in truecrypt-4.3a-alt2