Bug 30304

Summary: Unversioned Obsoletes is in the spec file when it's NOT recommended to have that
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: openssl CVE:
Status comment:

Description Kristoffer Grundström 2022-04-20 01:43:14 CEST
Description of problem: In the spec file for openssl I see Obsoletes:  %{mklibname openssl 1.0.0}-devel and Obsoletes:  %{mklibname openssl 1.0.0}-static-devel. This gives out warnings about row 84 and 97.
The warnings looks like this:

warning: rad 84: It's not recommended to have unversioned Obsoletes: Obsoletes:  lib64openssl1.0.0-devel
warning: rad 97: It's not recommended to have unversioned Obsoletes: Obsoletes:  lib64openssl1.0.0-static-devel
 
This should be corrected.

Version-Release number of selected component (if applicable): 3.0.2

How reproducible: At least one time.

Steps to Reproduce:
1. Download the spec file for openssl from Cauldron.
2. Open a terminal window.
3. cd to the directory where the spec file is saved.
4. Use sudo together with urpmi openssl.spec
5. Place the files from the src.rpm in ~/rpmbuild/SOURCES/
6. Run rpmbuild -ba openssl.spec
Comment 1 Kristoffer Grundström 2022-04-20 01:43:58 CEST
I know that warnings aren't fatal, but if it can be corrected I think it should be corrected.
Comment 2 David Walser 2022-04-20 17:10:27 CEST
Thanks, fixed in SVN.

Resolution: (none) => FIXED
Status: NEW => RESOLVED