ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Денис Смирнов" <mithraen@altlinux.ru>
To: "Yuri N. Sedunov" <aris@altlinux.ru>
Cc: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] x86_64 -- первый этап борьбы и первые проблемы
Date: Mon, 6 Sep 2004 01:32:58 +0400
Message-ID: <20040905213258.GF5373@workstation> (raw)
In-Reply-To: <200409051719.30158.aris@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]

On Sun, Sep 05, 2004 at 05:19:25PM +0400, Yuri N. Sedunov wrote:

 >> Сейчас существует какая-нибудь сущность, анализирующая spec-файлы?
 >> Может этой сущностью может быть cleanup-spec? Только видится мне что это
 >> не так просто как кажется, особенно если не просто выдавать warning'и, а
 >> делать автоматическую замену.
 YNS> $ cat ~/bin/prespec
 YNS> #!/bin/sh
 YNS>  
 YNS> SPEC=$1
 YNS>  
 YNS> cleanup_spec $SPEC
 YNS>  
 YNS> subst 's,%prefix/bin,%_bindir,g
 YNS> s,%prefix/lib,%_libdir,g
 YNS> s,%prefix/share,%_datadir,g
 YNS> s,%prefix/include,%_includedir,g
 YNS> s,%prefix/man,%_mandir,g
 YNS> s,/usr/bin,%_bindir,g
 YNS> s,/usr/lib,%_libdir,g
 YNS> s,/usr/share,%_datadir,g
 YNS> s,/usr/include,%_includedir,g' $SPEC

/me думает -- всегда ли корректна такая замена? Если да, то тогда всё
вообще элементарно -- я ищу скриптом во всех спеках совпадение хотя бы
одной из этих замен. Только к ним ещё ^/lib добавить надо. Если хоть одна
есть -- автоматом заменяю, добавляю запись в changelog и пересобираю srpm
пакет.

-- 
С уважением, Денис

http://freesource.info


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-09-05 21:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-04 16:37 Денис Смирнов
2004-09-04 18:43 ` Dmitry V. Levin
2004-09-04 20:46   ` Денис Смирнов
2004-09-05 13:19     ` Yuri N. Sedunov
2004-09-05 21:32       ` Денис Смирнов [this message]
2004-09-05  8:51 ` Anton Kachalov
2004-09-05 11:49   ` Денис Смирнов
2004-09-06  8:05 ` [devel] [JT] " Michael Shigorin
2004-09-06 12:59   ` Денис Смирнов
2004-09-07  8:37     ` Ivan Fedorov
2004-09-07 10:37       ` Денис Смирнов
2004-09-07 11:30         ` Nick S. Grechukh

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=20040905213258.GF5373@workstation \
    --to=mithraen@altlinux.ru \
    --cc=aris@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