From 94fd02d009f3f51981879a01ce14f65dc29d71b8 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 19 Feb 2016 16:00:49 +0200 Subject: [PATCH] Addition of builds for Leap 42.1. --HG-- branch : release --- dist/rpm/valentina.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/rpm/valentina.spec b/dist/rpm/valentina.spec index b48e2036a..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 @@ -49,7 +49,7 @@ Version: 0.4.2 Release: 0 URL: https://bitbucket.org/dismine/valentina License: GPL-3.0+ -Source0: %{name}-%{version}.tar +Source0: %{name}-%{version}.tar.gz Group: Graphics Summary: Pattern Making Application BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -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