https://bugzilla.redhat.com/show_bug.cgi?id=1649577
--- Comment #12 from Jie Kang jkang@redhat.com --- Following the sample [1], please include a .sh script in the srpm that users can run without modification to acquire the sources.
The comments in the spec [2] aren't useful as users can't copy-paste and run them without a large amount of modification to acquire the source.
[1] https://src.fedoraproject.org/rpms/objectweb-asm/blob/master/f/objectweb-asm...
[2] # original source: http://hg.openjdk.java.net/%%%7Bname%7D/%%%7Bname%7D/archive/%%%7Bhgrevhash%... # wget http://hg.openjdk.java.net/%%%7Bname%7D/%%%7Bname%7D/archive/%%%7Bhgrevhash%... # tar xzf %%{hgrevhash}.tar.gz # rm %%{hgrevhash}.tar.gz # cp -r %%{name}-%%{hgrevhash}/core/ %%{name}-%%{version}/ # cp %%{name}-%%{hgrevhash}/license/* %%{name}-%%{version}/ # cp %%{name}-%%{hgrevhash}/README.md %%{name}-%%{version}/ # tar czf %%{name}-%%{version}.tar.gz %%{name}-%%{version}/ # rm -r %%{name}-%%{version}/ %%{name}-%%{hgrevhash} Source0: %{name}-%{version}.tar.gz