Bug 18610 - we should use templates to simplify locales.spec
Summary: we should use templates to simplify locales.spec
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-02 18:12 CEST by Thierry Vignaud
Modified: 2016-06-02 18:21 CEST (History)
0 users

See Also:
Source RPM: locales-2.22-5.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Thierry Vignaud 2016-06-02 18:12:31 CEST
locale sub package definitions should be more streamlined, using templates (see: libreoffice).

We could get inspiration from Fedora:
http://pkgs.fedoraproject.org/cgit/rpms/glibc.git/commit/?id=9edc2b688b4e009d0c56e14f3c7176823cec60d0

We would need to:
- adjust to our group policy,
- add our %post(un) scriptlets,
- keep our translations,
- ... 

That would greatly simplify our spec file (locales.spec is nearly 5k lines long whereas FC's glibc.spec is only 2K lines long (w/o the changelog, including the glibc bits)
Comment 1 Thomas Backlund 2016-06-02 18:21:18 CEST
yeah, I've been thinking of simplifying the locales.spec, but I wont merge it with glibc.spec as I want to keep the possibility to fix locales without having tp push a new glibc build that requires a system restart on endusers

It's not often it happends, but I want to keep the option available...

But I will postpone that for post mga6 as we have more important things to fix

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