Hi,
Yesterday I updated the spec file of the "wcd" package, because there is a new upstream version. I pushed the new wcd.spec file and started a new build with "fedpkg build". The build fails, because the source package is not found. See http://kojipkgs.fedoraproject.org//work/tasks/1451/5871451/build.log
error: File /builddir/build/SOURCES/wcd-5.2.4-src.tar.gz: No such file or directory
What should I do to fix this error? I was in the assumption that the source package is automatically downloaded via the info in the spec file.
regards,
Hello,
On 30 August 2013 09:05, Erwin Waterlander waterlan@xs4all.nl wrote:
error: File /builddir/build/SOURCES/wcd-5.**2.4-src.tar.gz: No such file or directory
What should I do to fix this error? I was in the assumption that the source package is automatically downloaded via the info in the spec file.
it is not. You have to issue "fedpkg new-sources tarball.tar.gz" in the git repository after you have downloaded the source tarball. This way it gets uploaded.
After uploading do a git commit to update the sources file.
Please see:
https://fedoraproject.org/wiki/Package_update_HOWTO http://fedoraproject.org/wiki/Using_Fedora_GIT
Regards, --Simone
Op 30-08-13 09:11, Simone Caronni schreef:
Hello,
On 30 August 2013 09:05, Erwin Waterlander <waterlan@xs4all.nl mailto:waterlan@xs4all.nl> wrote:
error: File /builddir/build/SOURCES/wcd-5.2.4-src.tar.gz: No such file or directory What should I do to fix this error? I was in the assumption that the source package is automatically downloaded via the info in the spec file.
it is not. You have to issue "fedpkg new-sources tarball.tar.gz" in the git repository after you have downloaded the source tarball. This way it gets uploaded.
After uploading do a git commit to update the sources file.
Please see:
https://fedoraproject.org/wiki/Package_update_HOWTO http://fedoraproject.org/wiki/Using_Fedora_GIT
Regards, --Simone
Thanks. That works.
regards,
Erwin
On Fri, Aug 30, 2013 at 09:05:08AM +0200, Erwin Waterlander wrote:
Yesterday I updated the spec file of the "wcd" package, because there is a new upstream version. I pushed the new wcd.spec file and started a new build with "fedpkg build". The build fails, because the source package is not found. See http://kojipkgs.fedoraproject.org//work/tasks/1451/5871451/build.log
error: File /builddir/build/SOURCES/wcd-5.2.4-src.tar.gz: No such file or directory
What should I do to fix this error? I was in the assumption that the source package is automatically downloaded via the info in the spec file.
You need to download the source tarball to the git working directory, e.g with spectool -g wcd.spec
And then add it to the sources file with: fedpkg new-sources wcd-5.2.4-src.tar.gz
Then you needs to commit and push the new sources file.
Koji fetches only the tarballs that are mentioned in the sources file and for security reasons they need to be added explicitly by packagers to it.
Regards Till
devel@lists.stg.fedoraproject.org