ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Evgeny Sinelnikov <sin@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Порт gear для Fedora
Date: Sat, 19 Nov 2011 16:28:14 +0400
Message-ID: <CAK42-GoW8KvnpHqCqvRzSmCohTmhoJYf8Kk4CQow4LcsU6UTuA@mail.gmail.com> (raw)
In-Reply-To: <CAK42-Gr0d-JSnUaYSf8go+hz5pUfN27TiMpSt-VE-ntKyw+HcA@mail.gmail.com>

19 ноября 2011 г. 16:21 пользователь Evgeny Sinelnikov
<sin@altlinux.ru> написал:
> 19 ноября 2011 г. 16:07 пользователь Dmitry V. Levin <ldv@altlinux.org> написал:
>> On Sat, Nov 19, 2011 at 01:44:37PM +0300, Aleksey Novodvorsky wrote:
>>> Сделайте англйскую страницу на вики
>>
>> Вообще-то у нас есть, http://en.altlinux.org/Gear
>> Конечно, улучшения и дополнения приветствуются.
>>
>>> и выкладывайте на нее тарбол для
>>> каждого создаваемого федорного пакета.
>>
>> Это, пожалуй, будет не самый удачный вариант.
>> Тем более что у нас есть git snapshot.
>>
>
> git snapshot - это то же, что было указано выше?
>
> Здесь проблема использования Gear для самого Gear и других пакетов возникает.
>
> По вот этому URL:
> http://git.altlinux.org/gears/g/gear.git?p=gear.git;a=snapshot;h=1.7.2.6-alt1;sf=tgz
> выкачивается вот такой файл:
> [sin@base Downloads]$ ls -l gear-1.7.2.6-alt1-388e227.tar.gz
> -rw-r--r-- 1 sin sin 62680 Ноя 19 16:03 gear-1.7.2.6-alt1-388e227.tar.gz
> [sin@base Downloads]$ md5sum gear-1.7.2.6-alt1-388e227.tar.gz
> 5967ed9adc0b92e047699d082bb45a9b  gear-1.7.2.6-alt1-388e227.tar.gz
>
> Вот при таких правилах .gear/rules собирается пакет gear на федоре:
> tar.gz: @version@-alt1:. name=@name@-@version@-alt1-388e227
> base=@name@-@version@-alt1-388e227
> diff: @version@-alt1:. . name=@name@-@version@-alt1.patch
>
> Вот такой файл пакуется, при этом, в src.rpm пакет
> gear-1.7.2.6-1.3.fc16.src.rpm:
> [sin@portal gear]$ ls -l gear-1.7.2.6-alt1-388e227.tar.gz
> -rw-rw-r--. 1 sin sin 62176 Nov 19 16:08 gear-1.7.2.6-alt1-388e227.tar.gz
> [sin@portal gear]$ md5sum gear-1.7.2.6-alt1-388e227.tar.gz
> d748e26d2fd51beab0971b8ff5f8c182  gear-1.7.2.6-alt1-388e227.tar.gz
>
> Получается, что нельзя упаковать в точности тот же тарбол вплоть до
> контрольной суммы.
>
> А тут указано, что именно контрольная сумма и сверяется:
>  https://fedoraproject.org/wiki/Packaging:ReviewGuidelines
> MUST: The sources used to build the package must match the upstream
> source, as provided in the spec URL. Reviewers should use md5sum for
> this task. If no upstream URL can be specified for this package,
> please see the Source URL Guidelines for how to deal with this.
>
> Source URL Guidelines я уже приводил:
>  https://fedoraproject.org/wiki/Packaging/SourceURL
>
>
> Получается, что выкладывать нужно то, что запаковалось... И это вообще
> проблема применения gear на Федоре. Есть на этот счёт идеи?
>

Тут подойдёт, похоже, только такое:
 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 .


-- 
Sin (Sinelnikov Evgeny)
Etersoft

  reply	other threads:[~2011-11-19 12:28 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 [this message]
2011-11-19 12:36                     ` Dmitry V. Levin
2011-11-19 12:43                       ` Evgeny Sinelnikov
2011-11-19 12:52                         ` Dmitry V. Levin
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=CAK42-GoW8KvnpHqCqvRzSmCohTmhoJYf8Kk4CQow4LcsU6UTuA@mail.gmail.com \
    --to=sin@altlinux.ru \
    --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