summaryrefslogtreecommitdiffstats
path: root/redhat/extras/brp-check-trinity/brp-check-trinity.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2022-05-15 09:14:59 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2022-05-15 09:27:38 +0200
commit11b59120b4b653f7915851ada6673e3d38b032f8 (patch)
tree4dd35cae65670867e7a810af4b7d5c40dfdcd123 /redhat/extras/brp-check-trinity/brp-check-trinity.spec
parentc09543aa3d09abae6779b5e16ed5dc416d8e7c70 (diff)
downloadtde-packaging-11b59120b4b653f7915851ada6673e3d38b032f8.tar.gz
tde-packaging-11b59120b4b653f7915851ada6673e3d38b032f8.zip
RPM: add support for openSuse Leap 15.4
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/extras/brp-check-trinity/brp-check-trinity.spec')
-rw-r--r--redhat/extras/brp-check-trinity/brp-check-trinity.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/extras/brp-check-trinity/brp-check-trinity.spec b/redhat/extras/brp-check-trinity/brp-check-trinity.spec
index 325f1aef4..cca9786f1 100644
--- a/redhat/extras/brp-check-trinity/brp-check-trinity.spec
+++ b/redhat/extras/brp-check-trinity/brp-check-trinity.spec
@@ -43,10 +43,14 @@ BuildArch: noarch
BuildRequires: update-desktop-files
BuildRequires: brp-check-suse
+%if 0%{?suse_version} <= 1500
BuildRequires: brp-extract-appdata
+%endif
Requires: update-desktop-files
Requires: brp-check-suse
+%if 0%{?suse_version} <= 1500
Requires: brp-extract-appdata
+%endif
Requires: sed
@@ -82,7 +86,7 @@ for i in \
-e "s|applications/kde|applications/tde|g" \
-e "s|KDE|TDE|g" \
-e "s|kde-|tde-|g" \
-%if 0%{?suse_version} == 1550
+%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150400
-e "s|/usr/share/applications|/opt/trinity/share/applications|g" \
-e "/^for i in/ s|\\\| /\$RPM_BUILD_ROOT/opt/trinity/share/applnk \\\|" \
%endif