Repository navigation
tarballs deps: one package per EL base for gdal, proj and perl - #178
Merged
Merged
Conversation
percona-gdal, percona-proj and percona-perl in ppg:common:deps:tarballs
each built two upstream versions from one OBS package, picking the
source with %if 0%{?rhel} == 8: GDAL 3.8.5 / 3.13.3, PROJ 9.6.2 / 9.8.1,
Perl 5.26.3 / 5.32.1. One OBS package therefore had two versions, which
breaks anything that keys versions by package, e.g. the agreement check
of EXPECTED_VERSIONS read from OBS builds.
Split each into one package per tarball base, the way
ppg:common:deps:postgis already splits gdal38/gdal313 and
proj96/proj98:
percona-gdal38 (RHEL 8) percona-gdal313 (RHEL 9)
percona-proj96 (RHEL 8) percona-proj98 (RHEL 9)
percona-perl526 (RHEL 8) percona-perl532 (RHEL 9)
Each spec builds a single version from a single source, and its
package.yaml disables the other base's repositories. RPM names follow
the package names (GDAL/PROJ from the GIS_* macros); install prefixes
stay /opt/percona-gdal, /opt/percona-proj and /opt/percona-perl, so
build-tarball.sh and the tarball layout do not change. The 5.26 libxcrypt
patch stays with percona-perl526 only.
Consumers pick the package for their base: the tarball simpleimage
BuildRequires and percona-gis-compat's Requires are %if 0%{?rhel} == 8
conditional, and the Prefer: lines of the ssl1.1 / ssl3 / ssl3.5 blocks
in the shared tarballs project config name the per-EL package.
Rebuilds every tarball. The old percona-gdal, percona-proj and
percona-perl OBS packages must be deleted from ppg:common:deps:tarballs
once the new ones are built.
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
mohitj1988
self-requested a review
October 20, 2026 12:15
mohitj1988
approved these changes
Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
percona-gdal,percona-projandpercona-perlinppg:common:deps:tarballseach built two upstream versions from one OBS package, picking the source with%if 0%{?rhel} == 8:One OBS package with two versions breaks anything that keys versions by package. With #177 (EXPECTED_VERSIONS from OBS builds),
qa run ppg:staging:18:tarballsaborts withOBS builds disagree on the versionfor all three.What
Split each into one package per tarball base, the way
ppg:common:deps:postgisalready splitsgdal38/gdal313andproj96/proj98:percona-gdal38percona-gdal313percona-proj96percona-proj98percona-perl526percona-perl532%if 0%{?rhel} == 8version branches are resolved per package), and itspackage.yamldisables the other base's repositories (build:flags).GIS_*_MAJORmacros. The 5.26 libxcrypt patch stays withpercona-perl526only./opt/percona-gdal,/opt/percona-proj,/opt/percona-perl), sobuild-tarball.sh's component inventory and the tarball layout do not change.percona-postgresql-tarball/obs/simpleimageBuildRequires —%if 0%{?rhel} == 8(verified%rhelis 8 on ssl1.1 and 9 on ssl3/ssl3.5 in the live build config);percona-gis-compat.specRequires — same conditional;_shared/tarballs/project.yamlPrefer:lines — ssl1.1 names the RHEL 8 packages, ssl3 and ssl3.5 the RHEL 9 ones.root/README.md, thecommon:deps:tarballsdescription,build-tarball.shFATAL messages.Release mirrors (
root/ppg/releases/*/tarballs) are not hand-edited; the nextproject releaseregenerates them.Verification
rpmspecunder its own EL with the expected name/version/single source and matchingpercona-proj<NN>dependency (the local Fedora rpm rejects the pre-existing%patch0of the 5.26 spec; unchanged and valid on EL8).project verify --offlinepasses forppg:common:deps:tarballsandppg:staging:{14,17,18}:tarballs.After merge
percona-gdal,percona-projandpercona-perlOBS packages stay inppg:common:deps:tarballsuntil deleted (sync never deletes); remove them on both instances once the new ones are built.EXPECTED_VERSIONSkeys becomepercona-gdal38=3.8.5,percona-gdal313=3.13.3, …: ppg-testing's tarball tests need the matching names if they look uppercona-gdal/percona-proj/percona-perlby name.