With centpkg-sig-0.6.4-1.fc33.noarch
centpkg-sig clone --anonymous tar cd tar centpkg-sig srpm
sources file doesn't exist. Source files download skipped. error: Unable to open /home/sergio/fedora-scm/debs/fakeroot/tar/tar.spec: No such file or directory error: query of specfile /home/sergio/fedora-scm/debs/fakeroot/tar/tar.spec failed, can't parse
Could not execute srpm: Could not get n-v-r-e from /home/sergio/fedora-scm/debs/fakeroot/tar/tar.spec
Metadata Update from @tdawson: - Issue tagged with: Bug
This will be fixed once this other issue is implemented. https://git.centos.org/centos/centpkg/issue/45
This should be fixed in centpkg 0.6.8 which is currently in fedora and epel-testing.
You should use centpkg-sig for this because it has the correct configurations for the look aside cache.
Examples:
centpkg-sig clone tar ; cd tar centpkg-sig sources # pulls down the source(s) and puts them in SOURCES directory centpkg-sig srpm # pulls down the sources and creates a srpm which is placed in SRPM directory
centpkg-sig clone kmod-mpt3sas ; cd kmod-mpt3sas git checkout c8s-sig-kmods # main is not a recognized branch centpkg switch-branch c9s-sig-kmods centpkg-sig sources # pulls down the source(s) and puts them in SOURCES directory centpkg-sig srpm # pulls down the sources and creates a srpm which is placed in SRPM directory
centpkg 0.6.8, which fixes this issue is in stable.
Metadata Update from @tdawson: - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.