Bug 1224224 - Typo in postgresql14.spec file
Summary: Typo in postgresql14.spec file
Status: RESOLVED FIXED
Alias: None
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/405147/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-14 16:29 UTC by Jose Fernandez
Modified: 2024-05-17 16:36 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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