Bug 8697

Summary: [SPEC] Macro needed
Product: Sisyphus Reporter: Damir Shayhutdinov <damir>
Component: libfcgiAssignee: Anton Farygin <rider>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: rider
Version: unstable   
Hardware: all   
OS: Linux   

Description Damir Shayhutdinov 2005-12-21 22:38:03 MSK
Чтобы пакет собрался на x86_64, надо заменить /usr/lib на %_libdir в спеке.

Заодно можно заменить /usr/include на %_includedir

Вот патчик.
--- fcgi.spec   2005-11-07 01:19:27 +0300
+++ fcgi.my.spec        2005-12-21 21:58:18 +0300
@@ -37,11 +37,11 @@
 %makeinstall
 
 %files devel
-/usr/include/*.h
-/usr/lib/*.so
+%_includedir/*.h
+%_libdir/*.so
 
 %files
-/usr/lib/*.so.*
+%_libdir/*.so.*
 
 %doc LICENSE.TERMS README
Comment 1 Denis Smirnov 2006-01-02 18:11:03 MSK
Ушло в incoming/
Спасибо.