ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Порт gear для Fedora
Date: Sat, 19 Nov 2011 16:52:59 +0400
Message-ID: <20111119125259.GA19652@altlinux.org> (raw)
In-Reply-To: <CAK42-Gr04bEKJyR8knOYdv_f8vus9FJxV8ug7j9s_yCA0ZAaJw@mail.gmail.com>

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

On Sat, Nov 19, 2011 at 04:43:34PM +0400, Evgeny Sinelnikov wrote:
> 19 ноября 2011 г. 16:36 пользователь Dmitry V. Levin написал:
> > On Sat, Nov 19, 2011 at 04:28:14PM +0400, Evgeny Sinelnikov wrote:
> >> Тут подойдёт, похоже, только такое:
> >>  https://fedoraproject.org/wiki/Packaging/SourceURL#Using_Revision_Control
> >>  https://fedoraproject.org/wiki/Packaging/NamingGuidelines#SnapshotPackages
> >>
> >> Using Revision Control
> >>
> >> In some cases you may want to pull sources from upstream's revision
> >> control system because there have been many changes since the last
> >> release and you think that a tarball that you generate from there will
> >> more accurately show how the package relates to upstream's
> >> development. Here's how you can use a comment to show where the source
> >> came from:
> >>
> >> # The source for this package was pulled from upstream's vcs.  Use the
> >> # following commands to generate the tarball:
> >> #  svn export -r 250 http://www.example.com/svn/foo/trunk foo-20070221
> >> #  tar -cJvf foo-20070221.tar.xz foo-20070221
> >> Source0: foo-20070221.tar.xz
> >> When pulling from revision control, please remember to use a
> >> Name-version-release compatible with the Version and Release
> >> Guidelines. In particular, check the section on Naming Snapshots .
> >
> > $ git archive --format=tar --prefix=gear-1.7.2.6-alt1/ tags/1.7.2.6-alt1 | gzip -9n > gear-1.7.2.6-alt1.tar.gz
> >
> > Если не забыть передать -n gzip'у, то файл для указанного тэга будет получаться всякий раз одинаковым.
> 
> Это интересно, а как бы согласовать это с тем , что упаковывается из
> gear-rules по правилу:
> tar.gz: @version@-alt1:. name=@name@-@version@-alt1 base=@name@-@version@-alt1

Ни откуда не следует, что это вам нужно согласовывать.  Но если убрать
.gz, или добавить -n в реализацию запуска gzip в gear, то результаты
будут совпадать.


-- 
ldv

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

  reply	other threads:[~2011-11-19 12:52 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-16 19:38 Evgeny Sinelnikov
2011-11-16 19:43 ` Aleksey Novodvorsky
2011-11-16 21:06 ` Michael Shigorin
2011-11-16 22:32   ` Evgeny Sinelnikov
2011-11-16 22:35     ` Paul Wolneykien
2011-11-17  6:25       ` Evgeny Sinelnikov
2011-11-17  7:24     ` Michael Shigorin
2011-11-16 23:49 ` Alexey Gladkov
2011-11-17  6:03   ` Evgeny Sinelnikov
2011-11-17 12:53     ` Alexey Gladkov
2011-11-17 12:57       ` Andrew Clark
2011-11-19  9:33         ` Evgeny Sinelnikov
2011-11-19 10:35           ` Evgeny Sinelnikov
2011-11-19 10:44             ` Aleksey Novodvorsky
2011-11-19 12:07               ` Dmitry V. Levin
2011-11-19 12:21                 ` Evgeny Sinelnikov
2011-11-19 12:28                   ` Evgeny Sinelnikov
2011-11-19 12:36                     ` Dmitry V. Levin
2011-11-19 12:43                       ` Evgeny Sinelnikov
2011-11-19 12:52                         ` Dmitry V. Levin [this message]
2011-11-19 10:53             ` Paul Wolneykien
2011-11-19 11:29               ` Evgeny Sinelnikov
2011-11-19 11:35                 ` Michael Shigorin
2011-11-19 12:12                   ` Evgeny Sinelnikov
2011-11-19 13:04             ` Dmitry V. Levin
2011-11-17  5:42 ` Boris Savelev
2011-11-17  6:33   ` Evgeny Sinelnikov

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=20111119125259.GA19652@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.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