cleanup, use 5.47

epel9
Rex Dieter 7 years ago
parent de00e35a0b
commit ae8f4ae027

@ -2,27 +2,27 @@
Name: kf5-%{framework}
Version: 5.47.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 3 integration with su
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
BuildRequires: extra-cmake-modules >= %{version}
BuildRequires: kf5-rpm-macros >= %{version}
BuildRequires: kf5-ki18n-devel >= %{version}
BuildRequires: kf5-kcoreaddons-devel >= %{version}
BuildRequires: kf5-kservice-devel >= %{version}
BuildRequires: kf5-kpty-devel >= %{version}
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
BuildRequires: extra-cmake-modules >= %{majmin}
BuildRequires: kf5-rpm-macros >= %{majmin}
BuildRequires: kf5-ki18n-devel >= %{majmin}
BuildRequires: kf5-kcoreaddons-devel >= %{majmin}
BuildRequires: kf5-kservice-devel >= %{majmin}
BuildRequires: kf5-kpty-devel >= %{majmin}
BuildRequires: libX11-devel
BuildRequires: qt5-qtbase-devel
@ -32,7 +32,7 @@ KDE Frameworks 5 Tier 3 integration with su for elevated privileges.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: kf5-kpty-devel >= %{version}
Requires: kf5-kpty-devel >= %{majmin}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
@ -75,6 +75,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog
* Thu Jun 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.47.0-2
- cleanup, use %majmin
* Sat Jun 02 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.47.0-1
- 5.47.0

Loading…
Cancel
Save