#3 Error when building rust-imagequant in rawhide
Closed by blinxen. Opened by blinxen.

I am getting the following error:

Processing files: rust-imagequant+num_cpus-devel-4.1.0-1.fc39.noarch
Unknown feature: num_cpus
error: Dependency tokens must begin with alpha-numeric, '_' or '/': *** FATAL ERROR ENCOUNTERED WHILE PROCESSING RPM GENERATORS ***
Unknown feature: num_cpus
error: Dependency tokens must begin with alpha-numeric, '_' or '/': *** FATAL ERROR ENCOUNTERED WHILE PROCESSING RPM GENERATORS ***

I hope this is the right issue tracker for this.

Here are the spec and SRPM files:

  • https://blinxen.fedorapeople.org/rust-imagequant/rust-imagequant.spec
  • https://blinxen.fedorapeople.org/rust-imagequant/rust-imagequant-4.1.0-1.fc37.src.rpm

It is the right issue tracker. :)

You will need to use rust2rpm v24.0.2 (only available from Rawhide right now) to get the correct behaviour for generated subpackages.

Let me know if you still get errors with rust2rpm v24.

You will need to use rust2rpm v24.0.2

Thanks for the fast response. Regenerating the spec file fixed the sub-packages problem.

Metadata Update from @blinxen:
- Issue status updated to: Closed (was: Open)

Log in to comment on this ticket.

Metadata