Re: Source0 from Trac

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I think it's better to use fedorahosted releases storage.
You can find it here: https://fedorahosted.org/releases/

In system-config-bind project we have custom Makefile with
release target:

---code---
archive: ${NAME}-${VERSION}.tar.gz

${NAME}-${VERSION}.tar.gz:
        hg archive -t tgz ${NAME}-${VERSION}.tar.gz

tag:
        hg tag ${VERSION}

release: archive tag
        scp ${NAME}-${VERSION}.tar.gz fedorahosted.org:${NAME}
---code---

Version is read directly from current SPEC file.

---
Jaroslav Reznik <jreznik@xxxxxxxxxx>
Software Engineer - Base OS Core Services Brno
Red Hat, Inc.
+420 532 294 275

----- "Pierre-Yves" <pingou@xxxxxxxxxxxx> wrote:

> Dear list,
> 
> I have a small question, while packaging source obtained from a trac 
> wiki/git the link given on Source0 can be:
> 1 - 
> https://fedorahosted.org/r2spec/export/96ae0f7a737bcda9950ecddc452800804e0c7346/R2spec-2.5.0.tar.gz
> or
> 2 -
> https://fedorahosted.org/r2spec/browser/R2spec-2.5.0.tar.gz?format=raw
> 
> But:
> 1- the link is quite ugly and will need to be changed for every
> release
> 2- the link usable via wget but provide a file named 
> R2spec-2.5.0.tar.gz?format=raw which is not exactly what we are
> looking 
> for...
> 
> I was thus wondering:
> Is there a way on the Trac of Fedorahosted to get a clean link to a 
> tarball ?
> If not what would be the best way to write Source0 on the spec file ?
> I tought https://fedorahosted.org/r2spec/browser/R2spec-2.5.0.tar.gz 
> would be fine with an additional comments but I'm not sure this is
> correct.
> 
> Any input ? :)
> 
> Thanks,
> 
> Pierre
> 
> -- 
> fedora-devel-list mailing list
> fedora-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-devel-list

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux