[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [CONFIGURATION] missing openSUSE_Leap_15.6 for OBS
[Thread Prev] | [Thread Next]
- Subject: Re: [CONFIGURATION] missing openSUSE_Leap_15.6 for OBS
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Tue, 3 Dec 2024 12:12:06 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 03/12/2024 à 07:01, munix9 a écrit :
Am 03.12.24 um 06:35 schrieb munix9:The configuration for openSUSE_Leap_15.6 is still missing, although everything necessary is already available.There are probably two ways to implement this at the moment:1. to implement it laboriously and elaborately in 'gambas-package- config', or2. use the flexibility of rpm-spec and get there faster. I am in favor of variant 2. What is necessary for this:The template 'gambas3-openSUSE_Tumbleweed.spec' is already prepared for this, so what 'gambas-package-config' needs to do would be acp gambas3-openSUSE_Tumbleweed.spec gambas3-openSUSE_Leap_15.6.specI would rename the file 'gambas3.rpmlintrc' or 'gambas3- openSUSE_Tumbleweed.rpmlintrc' to 'gambas3-openSUSE.rpmlintrc' and change it accordingly in the spec.This results in the directory .obs/ gambas3-openSUSE_Leap_15.6.spec gambas3-openSUSE_Tumbleweed.spec gambas3-openSUSE.rpmlintrcI just realized that although it is possible to flexibly configure areas with rpm-spec depending on conditions (e.g. gb_mongodb, gb_qt5_webkit), 'gambas-package-config' does not take this into account in the '%files ...' sections.This is bad and rather inflexible - in my opinion, too much logic is unnecessarily shifted to 'gambas-package-config'.
At the moment, I don't find there is too much logic, rather not enough. If we succeed in generating all the recipes correctly, the maintenance job of all these recipes will be far easier!
There has to be a way to add corresponding '%files ...' sections within the rpm-spec, similar to the packages, for example%if %{with gb_mongodb} @{files gb.mongodb }@ %endif Or is this already possible?
No, but I can add it. Regards, -- Benoît Minisini.
[CONFIGURATION] missing openSUSE_Leap_15.6 for OBS | munix9 <munix9@xxxxxxxxxxxxxx> |
Re: [CONFIGURATION] missing openSUSE_Leap_15.6 for OBS | munix9 <munix9@xxxxxxxxxxxxxx> |