On Wednesday 2015-03-25 15:06, Cristian Morales Vega wrote:
I have SR#290195 changing
Source0: https://github.com/LMMS/lmms/archive/v%{version}.tar.gz for Source0: https://github.com/LMMS/lmms/archive/%{name}-%{version}.tar.gz
Since the new version has been created in the author's machine through git. The thing is that https://github.com/LMMS/lmms/archive/%{name}-%{version}.tar.gz doesn't exist.
If it does not exist at the URL https://github.com/LMMS/lmms/archive/%{name}-%{version}.tar.gz, then the question would be where you actually downloaded it from *instead*. Unless you mean "author's machine through git" to be "packager's machine through git".
a) The SR is OK b) If upstream offers a tarball, even if with a weird name, it must be used c) It's acceptable to use "git archive" like this, but fake URLs are not. Just use "Source0: %{name}-%{version}.tar.gz"
c. Plus any number of comments (or dangling _service files...) that tell the git:// location and commit (`git describe` is handy). In either case, the info you leave has less value for verifiability, more so for you to know in future where the last copy was obtained and where/how to obtain _the next one_. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org