ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: devel@altlinux.ru
Subject: [devel] Re: sisyphus-daily?
Date: Wed, 19 Nov 2003 19:46:45 +0200
Message-ID: <20031119174645.GI14907@osdn.org.ua> (raw)
In-Reply-To: <20031119165603.GD23078@master.mivlgu.local>


[-- Attachment #1.1: Type: text/plain, Size: 352 bytes --]

On Wed, Nov 19, 2003 at 07:56:03PM +0300, Sergey Vlasov wrote:
> Сюда надо бы засадить переименование в
> "`rpmquery --qf='%{NAME}' -p "$srpm"`.spec".

Заодно вылезло, что в synaptic-0.45-alt1.src.rpm спек именуется
просто synaptic (вынуто из sandman?).

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

[-- Attachment #1.2: rpm2specs.sh --]
[-- Type: text/plain, Size: 700 bytes --]

#!/bin/sh
TEMPSPECDIR="/www/altlinux.org.ua/html/devel/RPM/SPECS/.tmp"
SRPMPREFIX="/var/ftp/pub/Linux/ALT/Sisyphus/SRPMS."
SPECPREFIX="/www/altlinux.org.ua/html/devel/RPM/SPECS/"
#REPOS="base castle contrib junior kernel master non-free"
#REPOS="base"
REPOS="classic"
                                                                       
rm -rf "$TEMPSPECDIR"
rm -rf "$SPECPREFIX"
mkdir -p "$TEMPSPECDIR"
cd "$TEMPSPECDIR"

for repo in $REPOS; do
  mkdir -p "$SPECPREFIX$repo"
  for srpm in $SRPMPREFIX$repo/*.src.rpm; do
    rpm2cpio "$srpm" | cpio --quiet --extract *.spec
    spec="`rpmquery --qf='%{NAME}' -p "$srpm"`.spec"
    mv -f *.spec "$SPECPREFIX$repo/$spec" || echo "$srpm"
  done
done

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

  reply	other threads:[~2003-11-19 17:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-19 15:23 [devel] sisyphus-daily? Alexey Tourbin
2003-11-19 15:28 ` Sergey V Turchin
2003-11-19 15:33 ` [devel] Re: [sisyphus] sisyphus-daily? Sergey Vlasov
2003-11-19 15:36   ` Sergey V Turchin
2003-11-19 15:37   ` [devel] sisyphus-daily? Alexey Tourbin
2003-11-19 16:36 ` Michael Shigorin
2003-11-19 16:56   ` Sergey Vlasov
2003-11-19 17:46     ` Michael Shigorin [this message]
2003-11-19 18:40       ` Yuri N. Sedunov
2003-11-20  7:29       ` Sviataslau Svirydau
2003-11-20  9:23         ` Alexander Bokovoy
2003-11-20 17:23           ` Sviataslau Svirydau
2003-11-19 18:36   ` Alexey Tourbin
2003-11-19 19:18       ` Alexey Tourbin
2003-11-19 19:25         ` Michael Shigorin
2003-11-19 19:37           ` Alexey Tourbin
2003-11-19 20:17             ` Michael Shigorin
2003-11-19 19:29         ` Alexey Tourbin
2003-11-20  1:20         ` [devel] Re: [sisyphus] " Alexey Morozov

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=20031119174645.GI14907@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --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