diff options
author | François Andriot <[email protected]> | 2022-05-15 09:14:59 +0200 |
---|---|---|
committer | François Andriot <[email protected]> | 2022-05-15 09:23:34 +0200 |
commit | b005a4d36bca73c31fb61f4dfd89cfc7421c0d59 (patch) | |
tree | 00f5293c8cfd8af166bc74684834ef65df119020 /redhat/extras/brp-check-trinity/brp-check-trinity.spec | |
parent | e858b3aaf2f449a46c3cbaaa7423289bba9635e3 (diff) | |
download | tde-packaging-b005a4d36bca73c31fb61f4dfd89cfc7421c0d59.tar.gz tde-packaging-b005a4d36bca73c31fb61f4dfd89cfc7421c0d59.zip |
RPM: add support for openSuse Leap 15.4
Signed-off-by: François Andriot <[email protected]>
Diffstat (limited to 'redhat/extras/brp-check-trinity/brp-check-trinity.spec')
-rw-r--r-- | redhat/extras/brp-check-trinity/brp-check-trinity.spec | 6 |
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 513a1d2c1..62d13a5d8 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 |