Hi guys
When trying to use fedpkg-copr I get:
[copr-service@copr02 python-urllib3]$ fedpkg-copr -v --dist epel7 srpm
Creating repo object from /tmp/3/python-urllib3
Could not determine the remote name: 'git config --get branch.epel7.remote'
returned with exit code 1
Falling back to default remote name 'origin'
Downloading urllib3-1.10.2.tar.gz
Full url:
http://localhost/repo/pkgs/mrmeee/Fisk/python-urllib3/urllib3-1.10.2.tar....
######################################################################## 100.0%
Could not execute srpm: Server returned status code 404
Traceback (most recent call last):
File "/bin/fedpkg-copr", line 138, in <module>
main()
File "/bin/fedpkg-copr", line 128, in main
sys.exit(client.args.command())
File "/usr/lib/python2.7/site-packages/pyrpkg/cli.py", line 1246, in srpm
self.cmd.sources()
File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 1783, in
sources
hashtype=entry.hashtype, branch=self.branch_merge)
File "/usr/lib/python2.7/site-packages/pyrpkg/lookaside.py", line 179, in
download
raise DownloadError('Server returned status code %d' % status)
pyrpkg.errors.DownloadError: Server returned status code 404
This is because the url generated is wrong... in my working url the "md5" is not
there...
Generated url from fedpkg-copr:
http://localhost/repo/pkgs/mrmeee/Fisk/python-urllib3/urllib3-1.10.2.tar....
working url:
http://localhost/repo/pkgs/mrmeee/Fisk/python-urllib3/urllib3-1.10.2.tar....
Does anyone know howto either change the generated url or the url generated by
dist-git???
Regards
Martin