On Thu, Feb 03, 2005 at 06:14:55PM +0300, Dmitry V. Levin wrote: > On Thu, Feb 03, 2005 at 05:35:52PM +0300, Alexey Tourbin wrote: > > On Thu, Jan 06, 2005 at 11:03:28PM +0300, Dmitry V. Levin wrote: > > > Рекомендую подумать, не добавить ли по умолчанию: > > > set protocol.rewrite.smart.altbug = > > > "https://bugzilla.altlinux.ru/buglist.cgi?product=1.+Sisyphus&component=%0&component_type=substring&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&simple=1" > > > set protocol.rewrite.smart.altbugno = > > > "https://bugzilla.altlinux.ru:8080/show_bug.cgi?id=%0" > > > > А почему 8080? > > Потому что глюк. > И "product=1.+Sisyphus&" тоже не нужен. Сделал так, работает: --- elinks-0.10.1-alt1/elinks.spec 2005-01-06 18:59:37 +0000 +++ elinks-0.10.2-alt1/elinks.spec 2005-02-03 16:23:21 +0000 @@ -1,5 +1,5 @@ Name: elinks -Version: 0.10.1 +Version: 0.10.2 %define pre %nil Release: alt1 @@ -40,7 +40,7 @@ Provides: webclient, links Provides: %_bindir/links Obsoletes: links -# Automatically added by buildreq on Thu Jan 06 2005 +# Automatically added by buildreq on Thu Feb 03 2005 BuildRequires: bzlib-devel libexpat-devel libgpm-devel liblua5-devel libssl-devel samba-client tetex-core unzip zlib-devel %description @@ -102,12 +102,21 @@ __EOF__ %__mkdir_p %buildroot%_sysconfdir/%name cat <<__EOF__ >%buildroot%_sysconfdir/%name/%name.conf -# ALT defaults for ELinks +# ALT defaults for ELinks. +# See elinks.conf(5) for details. +# Use Options manager for custom options. + +# Assume VT100 colored terminal. set terminal._template_.colors = 1 set terminal._template_.type = 1 +# Vi-style scrolling. bind "main" "k" = "scroll-up" bind "main" "j" = "scroll-down" + +# Smart prefixes for ALT bugzilla. +set protocol.rewrite.smart.altbug = "https://bugzilla.altlinux.org/buglist.cgi?component=%0&component_type=substring&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED" +set protocol.rewrite.smart.altbugno = "https://bugzilla.altlinux.org/show_bug.cgi?id=%0" __EOF__ %find_lang %name @@ -137,6 +146,10 @@ __EOF__ %doc doc/*.txt doc/*.html %changelog +* Thu Feb 03 2005 Alexey Tourbin 0.10.2-alt1 +- 0.10.1 -> 0.10.2 +- added smart prefixes (altbug and altbugno) for ALT bugzilla to elinks.conf + * Thu Jan 06 2005 Alexey Tourbin 0.10.1-alt1 - 0.10pre3 -> 0.10.1 - build without JavaScript by default End of diff Files not compared in elinks-0.10.1-alt1: elinks-0.10.1/ Files not compared in elinks-0.10.2-alt1: elinks-0.10.2/ > -- > ldv