Skip to content

Commit

Permalink
Merge pull request #283 from bostjan/suse-packaging-remove-specific-v…
Browse files Browse the repository at this point in the history
…ersion-dependency

packaging/suse: Remove definition of specific supported versions
  • Loading branch information
bostjan authored Oct 24, 2024
2 parents fcd6979 + 4bdde9f commit 338a8d1
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions dev-tools/build-native-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,7 @@ case "$OS_ID" in
# For rpm/zypper, 1.0.0~rc1 < 1.0.0
PKG_SNOOPY_VERSION=`echo "$SNOOPY_RELEASE_VERSION" | sed -e 's/-\?rc/~rc/' | sed -e 's/-/_/g'`
PKG_RELEASE_NUMBER="$ARG_PKG_RELEASE_NUMBER"
case "$OS_VERSION" in
"15.4")
PKG_RELEASE_DIST="bp154"
;;
"15.5")
PKG_RELEASE_DIST="bp155"
;;
*)
_fatalError "Unsupported SUSE version: $OS_VERSION"
;;
esac
PKG_RELEASE_DIST=`echo "bp$OS_VERSION" | sed -e 's/\.//'`
PKG_RELEASE_TAG="${PKG_RELEASE_NUMBER}.${PKG_RELEASE_DIST}"

ARCHITECTURE=`rpm --eval '%{_arch}'`
Expand Down

0 comments on commit 338a8d1

Please sign in to comment.