xorg-x11-server/xserver-sdk-abi-requires-git
Leon Wang 197fb05951 fix .git and openEuler hardcode problem
(cherry picked from commit bf177786d48956d808830d2a0350a5c76dee9a83)
2023-01-05 10:40:49 +08:00

15 lines
405 B
Bash

#!/bin/sh
#
# The X server provides capabilities of the form:
#
# Provides: xserver-abi(ansic-0) = 4
#
# for an ABI version of 0.4. The major number is encoded into the name so
# that major number changes force upgrades. If we didn't, then
#
# Requires: xserver-abi(ansic) >= 0.4
#
# would also match 1.0, which is wrong since major numbers mean an ABI break.
echo "xserver-abi($1-@MAJOR@) >= @MINOR@"