diff --git a/kf5-frameworkintegration.spec b/kf5-frameworkintegration.spec index ae3f1a1..5006991 100644 --- a/kf5-frameworkintegration.spec +++ b/kf5-frameworkintegration.spec @@ -1,5 +1,4 @@ %define framework frameworkintegration -#%define snapshot 20140206 Name: kf5-%{framework} Version: 5.4.0 @@ -7,12 +6,14 @@ Release: 1%{?dist} Summary: KDE Frameworks 5 Tier 4 workspace and cross-framework integration plugins License: LGPLv2+ URL: http://www.kde.org -# git archive --format=tar --prefix=%{framework}-%{version}/ \ -# --remote=git://anongit.kde.org/%{framework}.git master | \ -# bzip2 -c > %{name}-%{version}-%{snapshot}git.tar.bz2 -#Source0: %{name}-%{version}-%{snapshot}git.tar.bz2 -Source0: http://download.kde.org/stable/frameworks/%{version}/%{framework}-%{version}.tar.xz +%global revision %(echo %{version} | cut -d. -f3) +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif +Source0: http://download.kde.org/%{stable}/frameworks/%{version}/%{framework}-%{version}.tar.xz BuildRequires: kf5-rpm-macros BuildRequires: extra-cmake-modules @@ -39,7 +40,6 @@ Qt applications when running on a KDE Plasma workspace. Applications do not need to link to this directly. - %package libs Summary: Runtime libraries for %{name}. # last version of the main package before the split @@ -64,6 +64,7 @@ Requires: oxygen-fonts-devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. + %prep %setup -q -n %{framework}-%{version}