diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-10 17:42:48 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-10 17:42:48 -0500 |
commit | baed758af333e84845c82b0ac438f1a8ed49afc0 (patch) | |
tree | 41f543a8557ea4b01c2c0f37940495966bb098d8 /redhat/build/get_rpm_package_name.sh | |
parent | 4dd12b757689fde246b6e7608d2d44b9bb147a60 (diff) | |
parent | 93915c7dddafd2f8e81bb0d9859d41d1e2c0e175 (diff) | |
download | tde-packaging-baed758af333e84845c82b0ac438f1a8ed49afc0.tar.gz tde-packaging-baed758af333e84845c82b0ac438f1a8ed49afc0.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/build/get_rpm_package_name.sh')
-rwxr-xr-x | redhat/build/get_rpm_package_name.sh | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/redhat/build/get_rpm_package_name.sh b/redhat/build/get_rpm_package_name.sh index c6221420d..507dc7665 100755 --- a/redhat/build/get_rpm_package_name.sh +++ b/redhat/build/get_rpm_package_name.sh @@ -24,14 +24,19 @@ case "${PKGNAME}" in esac # Runtime packages -lib=$(rpm -E %_lib) +if [ -r /etc/mandriva-release ]; then + lib=$(rpm -E %_lib) +else + lib="lib" +fi + case "${PKGNAME}" in # Some packages have different runtime name than source package. "avahi-tqt") PKGRUNTIME="${lib}avahi-tqt1";; "dbus-tqt") PKGRUNTIME="${lib}dbus-tqt-1-0";; "dbus-1-tqt") PKGRUNTIME="${lib}dbus-1-tqt0";; "esound") PKGRUNTIME="esound-libs";; - "koffice") PKGRUNTIME="trinity-koffice-suite";; + "koffice") PKGRUNTIME="koffice-suite";; "libart-lgpl") PKGRUNTIME="${lib}art_lgpl_2-2";; "tqt3") PKGRUNTIME="${lib}tqt3-mt";; "tqtinterface") PKGRUNTIME="${lib}tqt4";; @@ -67,7 +72,7 @@ if [ -n "${DEVEL}" ]; then "dbus-1-tqt") PKGDEVEL="libdbus-1-tqt-devel";; "esound") PKGDEVEL="esound-devel";; "libart-lgpl") PKGDEVEL="libart_lgpl-devel";; - "tqt3") PKGDEVEL="tqt3-dev-tools tqt3-apps-devel";; + "tqt3") PKGDEVEL="tqt3-dev-tools tqt3-apps-devel tqt3-compat-headers";; # Default case: development package has same name as runtime package, plus '-devel' suffix. *) PKGDEVEL="${PKGRUNTIME}-devel";; esac |