Bug 1224224

Summary: Typo in postgresql14.spec file
Product: [Novell Products] SUSE Security Incidents Reporter: Jose Fernandez <jose.fernandez1>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P5 - None CC: abergmann, max
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/405147/
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jose Fernandez 2024-05-14 16:29:26 UTC
Inherit from this issue https://bugzilla.suse.com/show_bug.cgi?id=1224038
I detected a typo into postgresql14.spec file, the typo is at line 25 `dreived` when it should be `derived`.
Comment 1 Alexander Bergmann 2024-05-15 04:39:30 UTC
Good catch Jose! ;) 

@Reinhard: Could you please have a look and submit a fixed version?

SUSE:Maintenance:33787/postgresql14.SUSE_SLE-15-SP2_Update/postgresql14.spec

 24+%if %pgmajor >= 17
 25+%bcond_with dreived
 26+%else
 27+%bcond_without derived
 28+%endif


I will then merge the new submission into SUSE:Maintenance:33787.
Comment 2 Reinhard Max 2024-05-15 07:55:10 UTC
It affects the spec files for all PostgreSQL versions from 12 through 16.
Comment 3 Reinhard Max 2024-05-15 11:51:09 UTC
New packages submitted to the relevant SLE-Codestreams and Factory. I thought I need no reference to this bug, because my new submissions would supersede the pending ones, but unfortunately they got released shortly before I submitted.

But the typo actually didn't do any harm to existing PostgreSQL major versions up to 16, because they all take the %else branch where "derived" was spelled correctly.
Comment 4 Reinhard Max 2024-05-15 11:53:39 UTC
Therefore it would be fine with me to decline the new submissions and I will submit the typo fix next time I touch the PostgreSQL packages anyway.
Comment 5 Alexander Bergmann 2024-05-17 16:36:05 UTC
Fixed