Now testing:
$ fedpkg --dist f24 prep
leaves me with this error: mattermost-3.4.0: No such file or directory
$ ls returns in fact mattermost. I guess the difference is due to untar.
How can I tell in my spec file that the source directory will be named %{name} and not %{name}.%{version} ?
EDIT : In fact, the unpacked directory is called platform-release-3.4 when the macro is looking for mattermost-3.4. I used this setup option:
%autosetup -n platform-release-3.4
but it doesn't solve my issue. I still get cd: mattermost-3.4: No such file or directory
What is wrong ?
Then, I though the %autosetup macro would have download the source, which is not the case. I need to run $ spectool -g *spec to get the source. Is it the normal behavior?
Thank you for help.