From 3a1818e53cad1d892ef512ccf2158ba8076a7d13 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 19 Feb 2016 16:37:19 +0200 Subject: [PATCH] Addition of builds for Leap 42.1. (grafted from 1f21289e9b73475035b4adb1795cc2b87ae2237a) --HG-- branch : develop --- dist/rpm/valentina.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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