Summary: | Требуются дополнительные Provides и Conflicts в spec-файле. | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Dmitry Lebkov <dlebkov> |
Component: | uw-imap | Assignee: | Ivan Zakharyaschev <imz> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | P4 | CC: | lakostis |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
Dmitry Lebkov
2003-02-04 21:10:34 MSK
В uw-imap-2001a-alt9 использован ещё более продвинутый подход :-) (как в emacs-gnus): ########################################### # Relations with other POP3/IMAP server pkgs (like courier-imap) # Provide the abstract service names (which are virtual pkg names), # specify their origin (our pkg name as the epoch + version-release): Provides: IMAPD = %name:%version-%release Provides: POP3D = %name:%version-%release # Conflict with all other real pkgs which provide the same services # (they should specify the origin the same way, so the epoch-version-release # of the virtual pkgs POP3D & IMAPD will always differ from that of ours if # they are provided by a different real pkg): Conflicts: IMAPD < %name:%version-%release Conflicts: IMAPD > %name:%version-%release Conflicts: POP3D < %name:%version-%release Conflicts: POP3D > %name:%version-%release # End of the statements to describe relations with other POP3/IMAP server pkgs ######################################## Тем самым он конфликтует в том числе и с coourier-imap. Для завершённости хорошо бы такое же иметь и в courier-imap, i.e. IMAPD & POP3D с версиями, отражающими происхождение (реальный пакет), и конфликты с IMAPD & POP3D других версий. А в принципе ведь можно представить себе сосуществование разных программ-серверов IMAP в одной системе... если такое кому-нибудь понадобится, придётся думать о более тонком подходе, чем conflicts. В uw-imap-2001a-alt9 использован ещё более продвинутый подход :-) (как в emacs-gnus): ########################################### # Relations with other POP3/IMAP server pkgs (like courier-imap) # Provide the abstract service names (which are virtual pkg names), # specify their origin (our pkg name as the epoch + version-release): Provides: IMAPD = %name:%version-%release Provides: POP3D = %name:%version-%release # Conflict with all other real pkgs which provide the same services # (they should specify the origin the same way, so the epoch-version-release # of the virtual pkgs POP3D & IMAPD will always differ from that of ours if # they are provided by a different real pkg): Conflicts: IMAPD < %name:%version-%release Conflicts: IMAPD > %name:%version-%release Conflicts: POP3D < %name:%version-%release Conflicts: POP3D > %name:%version-%release # End of the statements to describe relations with other POP3/IMAP server pkgs ######################################## Тем самым он конфликтует в том числе и с coourier-imap. Для завершённости хорошо бы такое же иметь и в courier-imap, i.e. IMAPD & POP3D с версиями, отражающими происхождение (реальный пакет), и конфликты с IMAPD & POP3D других версий. А в принципе ведь можно представить себе сосуществование разных программ-серверов IMAP в одной системе... если такое кому-нибудь понадобится, придётся думать о более тонком подходе, чем conflicts. |