Bug 30304 - Unversioned Obsoletes is in the spec file when it's NOT recommended to have that
Summary: Unversioned Obsoletes is in the spec file when it's NOT recommended to have that
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-20 01:43 CEST by Kristoffer Grundström
Modified: 2022-04-20 17:10 CEST (History)
0 users

See Also:
Source RPM: openssl
CVE:
Status comment:


Attachments

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


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