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
This commit is contained in:
Wolfgang Bauer 2017-04-27 20:24:00 +00:00 committed by Git OBS Bridge
parent ec223f165e
commit 0cae121b83

View File

@ -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