diff options
author | François Andriot <albator78@libertysurf.fr> | 2022-11-06 11:46:08 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2022-11-06 11:46:42 +0100 |
commit | a6ebd51a1a94620586a032f3191380e971a83e20 (patch) | |
tree | e9a587e51c296a322c4aa8459088c108bc68bfca /redhat/build | |
parent | 0efff2a27d4255f27d967351ee52089b5d9c39c1 (diff) | |
download | tde-packaging-a6ebd51a1a94620586a032f3191380e971a83e20.tar.gz tde-packaging-a6ebd51a1a94620586a032f3191380e971a83e20.zip |
RPM: updates for TDE R14.0.13
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/build')
-rwxr-xr-x | redhat/build/build_rpm_package.sh | 4 | ||||
-rwxr-xr-x | redhat/build/configure_repository.sh | 2 | ||||
-rwxr-xr-x | redhat/build/gather_rpm_sources.sh | 4 | ||||
-rwxr-xr-x | redhat/build/get_installed_package_version.sh | 2 | ||||
-rwxr-xr-x | redhat/build/get_latest_built_package_filename.sh | 2 | ||||
-rwxr-xr-x | redhat/build/get_latest_built_package_version.sh | 2 | ||||
-rwxr-xr-x | redhat/build/get_latest_tarball_filename.sh | 2 | ||||
-rwxr-xr-x | redhat/build/get_latest_tarball_version.sh | 2 | ||||
-rwxr-xr-x | redhat/build/get_rpm_package_name.sh | 1 | ||||
-rwxr-xr-x | redhat/build/get_source_files.sh | 8 | ||||
-rwxr-xr-x | redhat/build/get_spec_version.sh | 2 | ||||
-rwxr-xr-x | redhat/build/get_specfile.sh | 2 | ||||
-rwxr-xr-x | redhat/build/is_latest_package_built.sh | 2 | ||||
-rwxr-xr-x | redhat/build/is_latest_package_installed.sh | 2 | ||||
-rwxr-xr-x | redhat/build/update_repository.sh | 2 |
15 files changed, 22 insertions, 17 deletions
diff --git a/redhat/build/build_rpm_package.sh b/redhat/build/build_rpm_package.sh index 5de5c7881..4642a7298 100755 --- a/redhat/build/build_rpm_package.sh +++ b/redhat/build/build_rpm_package.sh @@ -1,12 +1,12 @@ #!/bin/bash -ex # Usage: build_rpm_package.sh <TDE_PACKAGE> [TDE_VERSION] -# Example: build_rpm_package.sh tdebase 14.0.12 +# Example: build_rpm_package.sh tdebase 14.0.13 PKGNAME="${1%/}" PKGNAME="${PKGNAME##*/}" -TDE_VERSION="${2:-${TDE_VERSION:-14.0.12}}" +TDE_VERSION="${2:-${TDE_VERSION:-14.0.13}}" PATH="$(cd $(dirname $0); pwd):${PATH}" SPECFILE=$(get_specfile.sh ${PKGNAME} ${TDE_VERSION}) diff --git a/redhat/build/configure_repository.sh b/redhat/build/configure_repository.sh index 025211ac2..4dc708a6a 100755 --- a/redhat/build/configure_repository.sh +++ b/redhat/build/configure_repository.sh @@ -1,6 +1,6 @@ #!/bin/bash -x -TDE_VERSION="${1:-${TDE_VERSION:-14.0.12}}" +TDE_VERSION="${1:-${TDE_VERSION:-14.0.13}}" ARCH=$(rpm -E %_target_cpu) RPMDIR=$(rpm -E %{_rpmdir}.tde-${TDE_VERSION}) diff --git a/redhat/build/gather_rpm_sources.sh b/redhat/build/gather_rpm_sources.sh index fd8b21a2b..ee1d1ca6e 100755 --- a/redhat/build/gather_rpm_sources.sh +++ b/redhat/build/gather_rpm_sources.sh @@ -1,11 +1,11 @@ #!/bin/bash # Usage: gather_rpm_sources.sh <TDE_PACKAGE> <TDE_VERSION> <DESTINATION> -# Example: gather_rpm_sources.sh tdebase 14.0.12 /tmp/tdebase +# Example: gather_rpm_sources.sh tdebase 14.0.13 /tmp/tdebase PKGNAME="${1%/}" PKGNAME="${PKGNAME##*/}" -TDE_VERSION="${2:-${TDE_VERSION:-14.0.12}}" +TDE_VERSION="${2:-${TDE_VERSION:-14.0.13}}" TARGETDIR="${3:-/tmp/${PKGNAME}-${TDE_VERSION}}" DIST="$4" diff --git a/redhat/build/get_installed_package_version.sh b/redhat/build/get_installed_package_version.sh index bfe0b1649..c97c38b13 100755 --- a/redhat/build/get_installed_package_version.sh +++ b/redhat/build/get_installed_package_version.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Sample package name: trinity-tdelibs-14.0.12-0_pre727+6be06b3d.mga3.opt +# Sample package name: trinity-tdelibs-14.0.13-0_pre727+6be06b3d.mga3.opt PKGNAME="${1##*/}" [ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1 diff --git a/redhat/build/get_latest_built_package_filename.sh b/redhat/build/get_latest_built_package_filename.sh index 4d6de64fd..9431fa519 100755 --- a/redhat/build/get_latest_built_package_filename.sh +++ b/redhat/build/get_latest_built_package_filename.sh @@ -2,7 +2,7 @@ PKGNAME="$1" [ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1 -TDE_VERSION="${2:-${TDE_VERSION:-14.0.12}}" +TDE_VERSION="${2:-${TDE_VERSION:-14.0.13}}" RPMDIR="$(rpm -E %{_rpmdir}.tde-${TDE_VERSION})" RPMDIR_ARCH="${RPMDIR}/$(rpm -E %_target_cpu)" diff --git a/redhat/build/get_latest_built_package_version.sh b/redhat/build/get_latest_built_package_version.sh index 8ac052c9e..fad941a9e 100755 --- a/redhat/build/get_latest_built_package_version.sh +++ b/redhat/build/get_latest_built_package_version.sh @@ -1,7 +1,7 @@ #!/bin/bash PKGNAME="$1" -TDE_VERSION="${2:-${TDE_VERSION:-14.0.12}}" +TDE_VERSION="${2:-${TDE_VERSION:-14.0.13}}" [ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1 diff --git a/redhat/build/get_latest_tarball_filename.sh b/redhat/build/get_latest_tarball_filename.sh index 09b41b846..275fb2e27 100755 --- a/redhat/build/get_latest_tarball_filename.sh +++ b/redhat/build/get_latest_tarball_filename.sh @@ -1,7 +1,7 @@ #!/bin/bash PKGNAME="${1##*/}" -TDE_VERSION="${2:-${TDE_VERSION:-14.0.12}}" +TDE_VERSION="${2:-${TDE_VERSION:-14.0.13}}" [ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1 [ -d "${TARBALLS_DIR}" ] || TARBALLS_DIR=~/tde/tarballs/${TDE_VERSION}/ diff --git a/redhat/build/get_latest_tarball_version.sh b/redhat/build/get_latest_tarball_version.sh index 423d89c85..e30e89794 100755 --- a/redhat/build/get_latest_tarball_version.sh +++ b/redhat/build/get_latest_tarball_version.sh @@ -1,7 +1,7 @@ #!/bin/bash PKGNAME="${1##*/}" -TDE_VERSION="${2:-${TDE_VERSION:-14.0.12}}" +TDE_VERSION="${2:-${TDE_VERSION:-14.0.13}}" [ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1 diff --git a/redhat/build/get_rpm_package_name.sh b/redhat/build/get_rpm_package_name.sh index 11993d820..ac821c4af 100755 --- a/redhat/build/get_rpm_package_name.sh +++ b/redhat/build/get_rpm_package_name.sh @@ -64,6 +64,7 @@ case "${PKGNAME}" in "tqca-tls") PKGRUNTIME="${lib}tqt3-mt-tqca-tls";; "tqt3") PKGRUNTIME="${lib}tqt3-mt";; "tqtinterface") PKGRUNTIME="${lib}tqt4";; + "trinity-desktop") PKGRUNTIME="${PKGNAME}-all";; "yaz") PKGRUNTIME="${lib}yaz";; # Language package: install only French language package "k3b-i18n"|"koffice-i18n"|"tde-i18n") diff --git a/redhat/build/get_source_files.sh b/redhat/build/get_source_files.sh index 5a7a49ac0..1817b58ba 100755 --- a/redhat/build/get_source_files.sh +++ b/redhat/build/get_source_files.sh @@ -1,7 +1,7 @@ #!/bin/bash PKGNAME="${1##*/}" -TDE_VERSION="${2:-${TDE_VERSION:-14.0.12}}" +TDE_VERSION="${2:-${TDE_VERSION:-14.0.13}}" DIST="$3" [ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1 @@ -14,7 +14,11 @@ while read var val; do case "${var}" in Version:*) VERSION="${val}";; Source*:|Source:|Patch[0-9]*:) - FILE="${SPECDIR}/${val##*/}" + if [ "${val:0:7}" = "http://" ] || [ "${val:0:8}" = "https://" ]; then + FILE="${SPECDIR}/${val##*/}" + else + FILE="${SPECDIR}/${val}" + fi if [ "${DIST}" = "any" ] && [ "${var//%\{?dist\}/}" = "${var}" ]; then FILES="${FILE//%\{?dist\}/.}"* else diff --git a/redhat/build/get_spec_version.sh b/redhat/build/get_spec_version.sh index 06b360228..b6911bff6 100755 --- a/redhat/build/get_spec_version.sh +++ b/redhat/build/get_spec_version.sh @@ -1,7 +1,7 @@ #!/bin/bash PKGNAME="${1##*/}" -TDE_VERSION="${2:-${TDE_VERSION:-14.0.12}}" +TDE_VERSION="${2:-${TDE_VERSION:-14.0.13}}" [ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1 diff --git a/redhat/build/get_specfile.sh b/redhat/build/get_specfile.sh index 3403a329e..f203660e2 100755 --- a/redhat/build/get_specfile.sh +++ b/redhat/build/get_specfile.sh @@ -1,7 +1,7 @@ #!/bin/bash PKGNAME="${1##*/}" -TDE_VERSION="${2:-${TDE_VERSION:-14.0.12}}" +TDE_VERSION="${2:-${TDE_VERSION:-14.0.13}}" [ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1 diff --git a/redhat/build/is_latest_package_built.sh b/redhat/build/is_latest_package_built.sh index 750e1012d..c6e0a85a6 100755 --- a/redhat/build/is_latest_package_built.sh +++ b/redhat/build/is_latest_package_built.sh @@ -1,7 +1,7 @@ #!/bin/bash PKGNAME="${1##*/}" -TDE_VERSION="${2:-${TDE_VERSION:-14.0.12}}" +TDE_VERSION="${2:-${TDE_VERSION:-14.0.13}}" BUILT="$(get_latest_built_package_version.sh ${PKGNAME} ${TDE_VERSION})" TARBALL="$(get_latest_tarball_version.sh ${PKGNAME} ${TDE_VERSION})" diff --git a/redhat/build/is_latest_package_installed.sh b/redhat/build/is_latest_package_installed.sh index 787962bcf..01c3d93e7 100755 --- a/redhat/build/is_latest_package_installed.sh +++ b/redhat/build/is_latest_package_installed.sh @@ -1,7 +1,7 @@ #!/bin/bash PKGNAME="${1##*/}" -TDE_VERSION="${2:-${TDE_VERSION:-14.0.12}}" +TDE_VERSION="${2:-${TDE_VERSION:-14.0.13}}" INSTALLED=$(get_installed_package_version.sh ${PKGNAME} ${TDE_VERSION}) TARBALL=$(get_latest_tarball_version.sh ${PKGNAME} ${TDE_VERSION}) diff --git a/redhat/build/update_repository.sh b/redhat/build/update_repository.sh index 43d4db934..2a80f02d8 100755 --- a/redhat/build/update_repository.sh +++ b/redhat/build/update_repository.sh @@ -1,7 +1,7 @@ #!/bin/bash WORKERS=$(getconf _NPROCESSORS_ONLN) -TDE_VERSION="${2:-${TDE_VERSION:-14.0.12}}" +TDE_VERSION="${2:-${TDE_VERSION:-14.0.13}}" LOCKFILE="/tmp/lock.${0##*/}" while [ -e "${LOCKFILE}" ]; do |