Bug 30636

Summary: warnings about macro being expanded in comment on row 34 and 35 when rebuilding the src.rpm of firefox-beta
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: lovaren
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: firefox-beta-103.0-0.b5.mga9.src.rpm CVE:
Status comment:
Attachments: rpmlint warnings for the firefox-beta spec file

Description Kristoffer Grundström 2022-07-15 01:48:36 CEST
Description of problem: I downloaded the src.rpm for firefox-beta-103.0b7 and as I run sudo urpmi firefox-beta.spec to install the dependencies I see these two warnings that I'd like to see get corrected. I can also see this warning when using rpmbuild --rebuild firefox-beta-103.0-0.b7.mga9.src.rpm. I ran rpmlint on the firefox-beta.spec file and I have attached the warnings that should be corrected.

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

How reproducible: All the time.

Steps to Reproduce:
1. Download the firefox-beta.spec file.
2. Open a terminal.
3. cd to where the spec file is downloaded.
4. Type sudo urpmi firefox-beta.spec --auto and hit Enter.
5. During the beginning of the installation of all the dependencies you'll see a warning about row 34 and 35.
6. Download the src.rpm of said firefox-beta version and run rpmbuild --rebuild firefox-beta-103.0-0.b7.mga9.src.rpm and see the same warnings as the package is being rebuilt.
Comment 1 Kristoffer Grundström 2022-07-15 01:50:01 CEST
Note that I know very well that warnings aren't fatal, but it looks better if these issues are fixed in the future.
Comment 2 Kristoffer Grundström 2022-07-15 01:52:18 CEST
Created attachment 13336 [details]
rpmlint warnings for the firefox-beta spec file

CC: (none) => lovaren

Comment 3 Kristoffer Grundström 2022-07-15 01:54:22 CEST
AS an extra note about this spec file I see this message during the rebuild:

The "MACH_USE_SYSTEM_PYTHON" environment variable is deprecated, please unset it or replace it with either "MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system" or "MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none"
Comment 4 Lewis Smith 2022-07-15 21:33:55 CEST
Never sure of the validity of your reports, but we do have in Cauldron the SRPM noted at heading. Whether what you are doing is within our sphere remains to see.

Assigning this to tv who seems to deal with firefox-beta.

Assignee: bugsquad => thierry.vignaud
Source RPM: firefox-beta => firefox-beta-103.0-0.b5.mga9.src.rpm

Comment 5 sturmvogel 2022-11-15 06:58:01 CET
*** Bug 31125 has been marked as a duplicate of this bug. ***