cleanup, use 5.47

epel9
Rex Dieter 7 years ago
parent de00e35a0b
commit ae8f4ae027

@ -1,28 +1,28 @@
%global framework kdesu %global framework kdesu
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.47.0 Version: 5.47.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 3 integration with su Summary: KDE Frameworks 5 Tier 3 integration with su
License: LGPLv2+ License: LGPLv2+
URL: https://cgit.kde.org/%{framework}.git 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) %global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50 %if %{revision} >= 50
%global stable unstable %global stable unstable
%else %else
%global stable stable %global stable stable
%endif %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 >= %{version} BuildRequires: extra-cmake-modules >= %{majmin}
BuildRequires: kf5-rpm-macros >= %{version} BuildRequires: kf5-rpm-macros >= %{majmin}
BuildRequires: kf5-ki18n-devel >= %{version} BuildRequires: kf5-ki18n-devel >= %{majmin}
BuildRequires: kf5-kcoreaddons-devel >= %{version} BuildRequires: kf5-kcoreaddons-devel >= %{majmin}
BuildRequires: kf5-kservice-devel >= %{version} BuildRequires: kf5-kservice-devel >= %{majmin}
BuildRequires: kf5-kpty-devel >= %{version} BuildRequires: kf5-kpty-devel >= %{majmin}
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
@ -32,7 +32,7 @@ KDE Frameworks 5 Tier 3 integration with su for elevated privileges.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: kf5-kpty-devel >= %{version} Requires: kf5-kpty-devel >= %{majmin}
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
@ -75,6 +75,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog %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 * Sat Jun 02 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.47.0-1
- 5.47.0 - 5.47.0

Loading…
Cancel
Save