-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add push script to tweak spec file for IBS
There are some build differences between the tools for Uyuni and those for SUSE Manager. Add a push.sh script to apply those changes when pushing to IBS for SUSE Manager.
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/bash | ||
|
||
# SPDX-FileCopyrightText: 2024 SUSE LLC | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# This script is called by push-packages-to-obs | ||
|
||
OSCAPI=$1 | ||
GIT_DIR=$2 | ||
PKG_NAME=$3 | ||
|
||
SRPM_PKG_DIR=$(dirname "$0") | ||
|
||
if [ "${OSCAPI}" == "https://api.suse.de" ]; then | ||
sed 's/^tag=%{!?_default_tag:latest}/tag=5.0.0-alpha1/' -i ${SRPM_PKG_DIR}/uyuni-tools.spec | ||
fi |