diff --git a/.gitignore b/.gitignore index c7bb88f..51ba0ff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,22 +1 @@ -/kcrash-5.18.0.tar.xz -/kcrash-5.19.0.tar.xz -/kcrash-5.20.0.tar.xz -/kcrash-5.21.0.tar.xz -/kcrash-5.22.0.tar.xz -/kcrash-5.23.0.tar.xz -/kcrash-5.24.0.tar.xz -/kcrash-5.25.0.tar.xz -/kcrash-5.26.0.tar.xz -/kcrash-5.27.0.tar.xz -/kcrash-5.29.0.tar.xz -/kcrash-5.31.0.tar.xz -/kcrash-5.32.0.tar.xz -/kcrash-5.33.0.tar.xz -/kcrash-5.34.0.tar.xz -/kcrash-5.35.0.tar.xz -/kcrash-5.36.0.tar.xz -/kcrash-5.37.0.tar.xz -/kcrash-5.38.0.tar.xz -/kcrash-5.39.0.tar.xz -/kcrash-5.40.0.tar.xz /kcrash-5.41.0.tar.xz diff --git a/kf5-kcrash.spec b/kf5-kcrash.spec index 8a0c90e..b25f851 100755 --- a/kf5-kcrash.spec +++ b/kf5-kcrash.spec @@ -8,25 +8,24 @@ Summary: KDE Frameworks 5 Tier 2 addon for handling application crashes License: LGPLv2+ URL: https://cgit.kde.org/%{framework}.git -%global versiondir %(echo %{version} | cut -d. -f1-2) +%global majmin %(echo %{version} | cut -d. -f1-2) %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/%{versiondir}/%{framework}-%{version}.tar.xz +Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz + +BuildRequires: extra-cmake-modules >= %{majmin} +BuildRequires: kf5-kcoreaddons-devel >= %{majmin} +BuildRequires: kf5-kwindowsystem-devel >= %{majmin} +BuildRequires: kf5-rpm-macros -BuildRequires: extra-cmake-modules >= %{version} -BuildRequires: kf5-kcoreaddons-devel >= %{version} -BuildRequires: kf5-kwindowsystem-devel >= %{version} -BuildRequires: kf5-rpm-macros >= %{version} BuildRequires: libX11-devel BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtx11extras-devel -Requires: kf5-filesystem >= %{version} - %description KCrash provides support for intercepting and handling application crashes.