diff --git a/dist/rpm/valentina.spec b/dist/rpm/valentina.spec index 0f6d30427..ba0e92a26 100644 --- a/dist/rpm/valentina.spec +++ b/dist/rpm/valentina.spec @@ -32,11 +32,11 @@ BuildRequires: libqt5-qttools BuildRequires: libQt5Svg-devel BuildRequires: update-desktop-files -%if 0%{?suse_version} >= 1310 +%if 0%{?suse_version} == 1310 BuildRequires: libQt5XmlPatterns-devel %endif -%if 0%{?suse_version} >= 1320 +%if 0%{?suse_version} >= 1315 BuildRequires: libqt5-linguist-devel BuildRequires: libqt5-qtxmlpatterns-devel %endif @@ -59,7 +59,7 @@ Packager: Roman Telezhinskyi %global _enable_debug_package 0 %global __debug_install_post %{nil} %global debug_package %{nil} -%if 0%{?suse_version} >= 1320 +%if 0%{?suse_version} >= 1315 %global suse_insert_debug_package %{nil} %global _suse_insert_debug_package %{nil} %global _suse_insert_debug_package_seen %{nil} @@ -76,7 +76,7 @@ a unique pattern making tool. %setup -q -n %{name}-%{version} %build -%if 0%{?suse_version} >= 1320 +%if 0%{?suse_version} >= 1315 qmake-qt5 PREFIX=%{_prefix} LRELEASE=lrelease-qt5 Valentina.pro -r CONFIG+=no_ccache %else qmake-qt5 PREFIX=%{_prefix} Valentina.pro -r CONFIG+=no_ccache