#355 Update and override creation are unaware of bootstrapping
Opened 5 years ago by qulogic. Modified 5 years ago

If you have bootstrap enabled in your build, e.g.:

%bcond_without bootstrap

then the build is package-name-version-release~bootstrap.

Both fedpkg update and fedpkg override create attempt to add builds without the ~bootstrap suffix.

Using fedpkg-1.37-7.fc30.


Can you share in which package you're seeing this? Fedpkg does not parse the spec, it calls rpm to get the information. Running fedpkg -v -d verrel should show what how it got the NVR.

For example, python-fsspec or python-dask:

$ rpmspec -P python-fsspec.spec  | rg Release  # Of course the dist is wrong here...
Release:        1.fc30~bootstrap

$ fedpkg -v -d verrel 
Creating repo object from .../python-fsspec
python-fsspec-0.5.1-1.fc32

$ fedpkg mockbuild && ls results_*/*/*/*.rpm
results_python-fsspec/0.5.1/1.fc32/python3-fsspec-0.5.1-1.fc32~bootstrap.noarch.rpm
results_python-fsspec/0.5.1/1.fc32/python-fsspec-0.5.1-1.fc32~bootstrap.src.rpm

Log in to comment on this ticket.

Metadata