use %majmin (more), %make_build %ldconfig_scriptlets

epel8
Rex Dieter 7 years ago
parent b4209c01d6
commit 9c879e97b8

11
.gitignore vendored

@ -1,13 +1,2 @@
/kauth-5.35.0.tar.xz
/kauth-5.36.0.tar.xz
/kauth-5.37.0.tar.xz
/kauth-5.38.0.tar.xz
/kauth-5.39.0.tar.xz
/kauth-5.40.0.tar.xz
/kauth-5.41.0.tar.xz
/kauth-5.42.0.tar.xz
/kauth-5.43.0.tar.xz
/kauth-5.44.0.tar.xz
/kauth-5.45.0.tar.xz
/kauth-5.46.0.tar.xz
/kauth-5.47.0.tar.xz

@ -2,7 +2,7 @@
Name: kf5-%{framework}
Version: 5.47.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 2 integration module to perform actions as privileged user
License: LGPLv2+
@ -31,7 +31,7 @@ KAuth is a framework to let applications perform actions as a privileged user.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: kf5-kcoreaddons-devel >= %{version}
Requires: kf5-kcoreaddons-devel >= %{majmin}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
@ -48,7 +48,7 @@ pushd %{_target_platform}
-DKDE_INSTALL_LIBEXECDIR=%{_kf5_libexecdir}
popd
make %{?_smp_mflags} -C %{_target_platform}
%make_build -C %{_target_platform}
%install
@ -57,8 +57,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang_kf5 kauth5_qt
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files -f kauth5_qt.lang
%doc README.md
@ -79,6 +78,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog
* Thu Jun 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.47.0-2
- use %%majmin (more), %%make_build %%ldconfig_scriptlets
* Sat Jun 02 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.47.0-1
- 5.47.0

Loading…
Cancel
Save