Bug 2224696 - nodejs-npm obsolete obsoletes a provides instead of a package name
Summary: nodejs-npm obsolete obsoletes a provides instead of a package name
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: nodejs18
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Stephen Gallagher
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-22 06:46 UTC by Mattias Ellert
Modified: 2023-07-22 06:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mattias Ellert 2023-07-22 06:46:16 UTC
# rpm -q nodejs-npm
nodejs-npm-9.5.1-1.18.16.1.1.fc38.x86_64
# rpm -q --obsoletes nodejs-npm
npm < 1:9.5.1-1.20

This obsolete obsoletes a provides and therefore has no effect.
Obsoletes only works for package names.

Please change this to:

Obsoletes: nodejs20-npm < 1:9.5.1-1.20


Reproducible: Always

Steps to Reproduce:
1. mock --root fedora-38-x86_64 --init
2. mock --root fedora-38-x86_64 --install npm

Actual Results:  
nodejs20-npm-1:9.5.1-1.19.8.1.7.fc38.x86_64 is installed

Expected Results:  
nodejs-npm-9.5.1-1.18.16.1.1.fc38.x86_64 is installed


Note You need to log in before you can comment on or make changes to this bug.