From 5d1f1f7fc103e2af35237be996069524fe2c63ca Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 2 Jun 2017 06:50:18 -0500 Subject: [PATCH] use macros in Source0, apply examples patch, +whitespace between .spec sections --- qt5-qtsvg.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/qt5-qtsvg.spec b/qt5-qtsvg.spec index b619407..0f5c0d4 100644 --- a/qt5-qtsvg.spec +++ b/qt5-qtsvg.spec @@ -3,12 +3,12 @@ Summary: Qt5 - Support for rendering and displaying SVG Name: qt5-%{qt_module} Version: 5.9.0 -Release: 1%{?dist} +Release: 2%{?dist} # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details License: LGPLv2 with exceptions or GPLv3 with exceptions Url: http://www.qt.io -Source0: https://download.qt.io/official_releases/qt/5.9/5.9.0/submodules/qtsvg-opensource-src-5.9.0.tar.xz +Source0: https://download.qt.io/official_releases/qt/5.9/%{version}/submodules/qtsvg-opensource-src-%{version}.tar.xz Patch0: qtsvg-opensource-src-5.6.0-beta1-example-install.patch @@ -36,8 +36,10 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description examples %{summary}. + %prep -%setup -q -n %{qt_module}-opensource-src-%{version} +%autosetup -n %{qt_module}-opensource-src-%{version} -p1 + %build mkdir %{_target_platform} @@ -47,6 +49,7 @@ pushd %{_target_platform} make %{?_smp_mflags} popd + %install make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} @@ -62,6 +65,7 @@ for prl_file in libQt5*.prl ; do done popd + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -84,7 +88,11 @@ popd %files examples %{_qt5_examplesdir}/ + %changelog +* Fri Jun 02 2017 Rex Dieter - 5.9.0-2 +- use macros in Source0, apply examples patch, +whitespace between .spec sections + * Wed May 31 2017 Helio Chissini de Castro - 5.9.0-1 - Upstream official release