From: Alexey Tourbin <at@altlinux.ru> To: devel@altlinux.ru Subject: [devel] Fwd: rpm macros tmp.spec Date: Fri, 13 Jun 2003 08:22:51 +0400 Message-ID: <20030613042251.GD31171@solemn.turbinal.org> (raw) [-- Attachment #1: Type: text/plain, Size: 1579 bytes --] Господа, может кто-нибудь знает, в чем тут дело? ----- Forwarded message from Alexey Tourbin <at@altlinux.ru> ----- Date: Sat, 24 May 2003 09:34:02 +0400 From: Alexey Tourbin <at@altlinux.ru> Subject: rpm macros tmp.spec To: "Dmitry V. Levin" <ldv@altlinux.org> Привет, Кажется, я плохо понимаю, как работают макросы в RPM. В данном случае мне кажется, что они должны работать, но они не работают. Где я ошибаюсь? > $ rpm -bc tmp.spec > Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.93192 > + umask 022 > + /bin/mkdir -p /home/at/RPM/BUILD > + cd /home/at/RPM/BUILD > + : perl_arch = i386 > + : perl_arch_os = i386-linux > + : binary_compat_versions = 5.8.0 > + : binary_inc_version_list = 5.8.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Должно быть то же самое, что и на следующей строчке. > + : binary_inc_version_list CAST = 5.8.0/i386-linux > + exit 0 > $ Name: sucks Version: 0 Release: 0 Summary: really %name Group: the one that %name License: also %name %ifarch %ix86 %define perl_arch i386 %else %define perl_arch %_arch %endif %define perl_arch_os %perl_arch-%_os %define binary_compat_versions 5.8.0 %define binary_inc_version_list %(echo %binary_compat_versions | sed 's!\([0-9.]\+\)!\1/%perl_arch_os!g') %description It's about things that %name. %build : perl_arch = %perl_arch : perl_arch_os = %perl_arch_os : binary_compat_versions = %binary_compat_versions : binary_inc_version_list = %binary_inc_version_list : binary_inc_version_list CAST = %(echo %binary_compat_versions | sed 's!\([0-9.]\+\)!\1/%perl_arch_os!g') ----- End forwarded message ----- [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2003-06-13 4:22 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-06-13 4:22 Alexey Tourbin [this message] 2003-06-13 6:02 ` Alexey Voinov 2003-06-13 13:43 ` [devel] " Alexey Tourbin 2003-06-13 14:36 ` Alexey Voinov
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=20030613042251.GD31171@solemn.turbinal.org \ --to=at@altlinux.ru \ --cc=devel@altlinux.ru \ /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