From 0cae121b83c0b6f4595e0115ba2c51da6b7c2d4f91182d6c23f298e97cc97d59 Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer Date: Thu, 27 Apr 2017 20:24:00 +0000 Subject: [PATCH] Revert to using _tar_path to fix Factory submission OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/extra-cmake-modules?expand=0&rev=130 --- extra-cmake-modules.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/extra-cmake-modules.spec b/extra-cmake-modules.spec index 862abf4..ecc9d30 100644 --- a/extra-cmake-modules.spec +++ b/extra-cmake-modules.spec @@ -16,6 +16,7 @@ # +%define _tar_path 5.33 Name: extra-cmake-modules Summary: CMake modules License: BSD-3-Clause @@ -23,11 +24,7 @@ Group: Development/Tools/Other Url: https://projects.kde.org/projects/kdesupport/extra-cmake-modules Version: 5.33.0 Release: 0 -# Full KF5 version (e.g. 5.33.0) -%{!?_kf5_version: %global _kf5_version %{version}} -# Last major and minor KF5 version (e.g. 5.33) -%{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} -Source: http://download.kde.org/stable/frameworks/%{_kf5_bugfix_version}/%{name}-%{version}.tar.xz +Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM: Search for unversioned clang Patch0: 0001-FindPyModGen-Also-search-for-an-unversioned-clang.patch # PATCH-FIX-UPSTREAM: Import FindClangLLVM from KDevelop