format spec

This commit is contained in:
yeqinglong 2020-08-21 17:58:38 +08:00
parent f87b8d44c5
commit e0123e7f3b

View File

@ -1,8 +1,5 @@
%global framework syntax-highlighting %global framework syntax-highlighting
# uncomment to enable bootstrap mode
#global bootstrap 1
%if !0%{?bootstrap} %if !0%{?bootstrap}
%global tests 1 %global tests 1
%endif %endif
@ -24,20 +21,13 @@ URL: https://cgit.kde.org/%{framework}.git
%endif %endif
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
## upstream fixes (lookaside cache) BuildRequires: extra-cmake-modules >= %{majmin} kf5-rpm-macros perl-interpreter qt5-qtbase-devel
BuildRequires: extra-cmake-modules >= %{majmin}
BuildRequires: kf5-rpm-macros
BuildRequires: perl-interpreter
BuildRequires: qt5-qtbase-devel
# optional deps # optional deps
%if ! 0%{?bootstrap} %if ! 0%{?bootstrap}
BuildRequires: qt5-qtxmlpatterns-devel BuildRequires: qt5-qtxmlpatterns-devel
%endif %endif
Requires: kf5-filesystem >= %{majmin} Requires: kf5-filesystem >= %{majmin}
%description %description
%{summary}. %{summary}.
@ -96,3 +86,4 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
%changelog %changelog
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1 * Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
- Initial release for OpenEuler - Initial release for OpenEuler