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'у, то файл для указанного тэга будет получаться всякий раз одинаковым. -- ldv