From: Igor Vlasenko <vlasenko@imath.kiev.ua> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Cc: Kirill Maslinsky <kirill@altlinux.org> Subject: [devel] java spec cleanup example [was: obsolete macroses] Date: Tue, 22 Jul 2008 20:04:59 +0300 Message-ID: <20080722170459.GA18533@dad.imath.kiev.ua> (raw) In-Reply-To: <20080717200440.GC5964@imap.altlinux.org> Извиняюсь за задержку с ответом, был в отъезде. On Fri, Jul 18, 2008 at 12:04:40AM +0400, Kirill Maslinsky wrote: > Но я как прорессивный мантейнер ;) всё-таки повторю свой вопрос: > на что нужно заменить эти deprecated макросы в моём случае? Кстати, (усеченный?) writer2latex.jar есть в openoffice.org: rpm -qf /usr/lib64/openoffice.org/program/classes/writer2latex.jar openoffice.org-2.4.1.7-alt2 $ diff writer2latex.spec.0 writer2latex.spec 17c17 < Requires: java-common --- > Requires: jpackage-1.6-compat сейчас вы собираете openjdk-1.7.0, что не есть хорошо. [$java -version openjdk version "1.7.0-internal" OpenJDK Runtime Environment (build 1.7.0-internal-builder_10_jul_2007_12_36-b00) OpenJDK 64-Bit Server VM (build 1.7.0-internal-builder_10_jul_2007_12_36-b00, mixed mode)] а Requires: jpackage-1.6-compat заставит собирать writer2latex с помощью java-1.6.0. В идеале было бы собирать с java-1.5, но это не пойдет, так как jarы в openoffice требуют java >= 1.6 :( из-за того, наверное, что собраны не тем, чем хотелось бы. а здесь пример избавления от макросов. 54c54 < %set_classpath %_javadir/junit.jar --- > export CLASSPATH=$(build-classpath junit) Замечание. build-classpath junit в отличие от %set_classpath %_javadir/junit.jar ищет junit.jar в нескольких местах, кроме того, выругается, если его не найдет. ну и 56c56 < %ant_build \ --- > %ant \ из-за того, что %ant_build играет с значением в %set_classpath. -- Dr. Igor Vlasenko -------------------- Topology Department Institute of Math Kiev, Ukraine
next prev parent reply other threads:[~2008-07-22 17:04 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-07-17 12:27 [devel] obsolete macroses Igor Vlasenko 2008-07-17 12:28 ` Mikhail Gusarov 2008-07-17 12:31 ` Igor Vlasenko 2008-07-17 12:35 ` Mikhail Gusarov 2008-07-17 13:03 ` Kirill Maslinsky 2008-07-17 13:09 ` Igor Vlasenko 2008-07-17 18:00 ` Igor Vlasenko 2008-07-17 20:04 ` Kirill Maslinsky 2008-07-22 17:04 ` Igor Vlasenko [this message] 2008-07-23 6:57 ` [devel] java spec cleanup example [was: obsolete macroses] Kirill Maslinsky 2008-07-24 10:14 ` Igor Vlasenko 2008-07-24 10:30 ` Igor Vlasenko 2008-07-24 10:16 ` Igor Vlasenko 2008-07-24 14:19 ` Igor Vlasenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080722170459.GA18533@dad.imath.kiev.ua \ --to=vlasenko@imath.kiev.ua \ --cc=devel@lists.altlinux.org \ --cc=kirill@altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git