#42 centpkg-sig srpm doesn't work
Closed a year ago by tdawson. Opened 2 years ago by sergiomb.

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

2 years ago

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:

Classic CentOS packages

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

SIG only branches

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)

a year ago

Login to comment on this ticket.

Metadata