.spec cleanup, update URL

epel9
Rex Dieter 4 years ago
parent 4f44e4ac47
commit ea92bcd397

@ -1,4 +1,3 @@
%undefine __cmake_in_source_build
%global framework kdeclarative %global framework kdeclarative
# uncomment to enable bootstrap mode # uncomment to enable bootstrap mode
@ -14,7 +13,7 @@ Release: 1%{?dist}
Summary: KDE Frameworks 5 Tier 3 addon for Qt declarative Summary: KDE Frameworks 5 Tier 3 addon for Qt declarative
License: LGPLv2+ License: LGPLv2+
URL: https://cgit.kde.org/%{framework}.git/ URL: https://invent.kde.org/frameworks/%{framework}
%global majmin %(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)
@ -42,13 +41,17 @@ BuildRequires: kf5-kpackage-devel >= %{majmin}
BuildRequires: kf5-kwidgetsaddons-devel >= %{majmin} BuildRequires: kf5-kwidgetsaddons-devel >= %{majmin}
BuildRequires: kf5-kwindowsystem-devel >= %{majmin} BuildRequires: kf5-kwindowsystem-devel >= %{majmin}
BuildRequires: kf5-rpm-macros BuildRequires: kf5-rpm-macros
BuildRequires: libepoxy-devel BuildRequires: libepoxy-devel
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
# https://bugs.kde.org/show_bug.cgi?id=365569#c8 claims this may be needed, # https://bugs.kde.org/show_bug.cgi?id=365569#c8 claims this may be needed,
# so err on the side of caution # so err on the side of caution
BuildRequires: qt5-qtbase-private-devel BuildRequires: qt5-qtbase-private-devel
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtdeclarative-devel
%if 0%{?tests} %if 0%{?tests}
BuildRequires: dbus-x11 BuildRequires: dbus-x11
BuildRequires: mesa-dri-drivers BuildRequires: mesa-dri-drivers
@ -75,8 +78,9 @@ developing applications that use %{name}.
%build %build
%{cmake_kf5} \ %cmake_kf5 \
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
%cmake_build %cmake_build
@ -132,6 +136,7 @@ make test ARGS="--output-on-failure --timeout 10 --verbose" -C %{_target_platfor
%changelog %changelog
* Thu Nov 19 08:59:21 CST 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.76.0-1 * Thu Nov 19 08:59:21 CST 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.76.0-1
- 5.76.0 - 5.76.0
- .spec cleanup, update URL
* Wed Oct 14 09:50:44 CDT 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.75.0-1 * Wed Oct 14 09:50:44 CDT 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.75.0-1
- 5.75.0 - 5.75.0

Loading…
Cancel
Save