From: "Alexey I. Froloff" <raorn@immo.ru> To: ALT Devel discussion list <devel@altlinux.ru> Subject: [devel] RFC: %release_tag Date: Thu, 30 Sep 2004 21:03:01 +0400 Message-ID: <20040930170301.GC6962@hell.devel.altlinux.ru> (raw) [-- Attachment #1: Type: text/plain, Size: 408 bytes --] Ковыряясь в apache.spec и пытаясь работать с ним в трёх сандманских репозитариях одновременно, придумал нечто, пытающееся быть полезным: %define release_tag %(cat /etc/altlinux-release | sed -e 's;^ALT Linux ;;' -e 's; (.*)$;;' -e 's;^\([A-Z]\)[a-z]* \([0-9]\)\.\([0-9]\)$;.\1\2\3;' | grep '^\.[A-Z][0-9][0-9]$') По идее должно работать на всех Master/Junior/Kompact... -- Regards, Sir Raorn. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2004-09-30 17:03 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-09-30 17:03 Alexey I. Froloff [this message] 2004-09-30 18:16 ` Alexey I. Froloff 2004-10-01 10:20 ` [devel] " Michael Shigorin 2004-10-01 10:24 ` Alexey I. Froloff 2004-10-01 10:28 ` Michael Shigorin 2004-10-01 10:32 ` Sergey V Turchin 2004-10-01 10:38 ` Alexey I. Froloff 2004-10-01 10:45 ` Sergey V Turchin 2004-10-01 11:11 ` Alexey I. Froloff 2004-10-01 11:34 ` Sergey V Turchin 2004-10-01 11:36 ` Alexey I. Froloff 2004-10-01 12:08 ` Sergey V Turchin 2004-10-01 12:46 ` Alexey I. Froloff 2004-10-01 17:27 ` Michael Shigorin 2004-10-01 17:58 ` Alexey I. Froloff 2004-10-01 19:19 ` Michael Shigorin 2004-10-02 10:46 ` Sergey V Turchin 2004-10-02 12:12 ` Alexey I. Froloff 2004-10-02 12:23 ` Sergey V Turchin 2004-10-02 12:27 ` Sergey Bolshakov 2004-10-02 12:29 ` Sergey V Turchin
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=20040930170301.GC6962@hell.devel.altlinux.ru \ --to=raorn@immo.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