[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:23:57 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 03/12/2024 à 06:35, munix9 a écrit :
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.rpmlintrc
Actually it's better to generate different files for different versions, because the list of packages that must be generated for one version can only be elaborated by 'gambas-package-config' outside of the configuration files.
But if I add conditional commands (@{if}@ @{else}@ @{endif}@), the same template file can be used to generate all openSUSE spec files. So we get the flexibility back.
Regards, -- Benoît Minisini.
Re: [CONFIGURATION] missing openSUSE_Leap_15.6 for OBS | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
[CONFIGURATION] missing openSUSE_Leap_15.6 for OBS | munix9 <munix9@xxxxxxxxxxxxxx> |