Bug 8697 - [SPEC] Macro needed
Summary: [SPEC] Macro needed
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libfcgi (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-21 22:38 MSK by Damir Shayhutdinov
Modified: 2006-01-25 23:00 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/
Спасибо.