From a0d8c223e29bc2dedcc98fe0e2e9811a0890e49f Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 2 Jun 2017 06:52:23 -0500 Subject: [PATCH] use %version macro in Source0, use %autosetup +whitespace between .spec sections --- qt5-qtx11extras.spec | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/qt5-qtx11extras.spec b/qt5-qtx11extras.spec index 4cbed95..97670dd 100644 --- a/qt5-qtx11extras.spec +++ b/qt5-qtx11extras.spec @@ -3,12 +3,12 @@ Summary: Qt5 - X11 support library 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/qtx11extras-opensource-src-5.9.0.tar.xz +Source0: https://download.qt.io/official_releases/qt/5.9/%{version}/submodules/qtx11extras-opensource-src-%{version}.tar.xz BuildRequires: qt5-qtbase-devel >= %{version} BuildRequires: qt5-qtbase-private-devel @@ -26,8 +26,10 @@ Requires: qt5-qtbase-devel%{?_isa} %description devel %{summary}. + %prep -%setup -q -n %{qt_module}-opensource-src-%{version} +%autosetup -n %{qt_module}-opensource-src-%{version} + %build mkdir %{_target_platform} @@ -36,6 +38,7 @@ pushd %{_target_platform} make %{?_smp_mflags} + %install make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} @@ -51,6 +54,7 @@ for prl_file in libQt5*.prl ; do done popd + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -67,7 +71,13 @@ popd %{_qt5_libdir}/pkgconfig/Qt5X11Extras.pc %{_qt5_archdatadir}/mkspecs/modules/qt_lib_x11extras*.pri + %changelog +* Fri Jun 02 2017 Rex Dieter - 5.9.0-2 +- use %%version macro in Source0, +- use %%autosetup +- +whitespace between .spec sections + * Wed May 31 2017 Helio Chissini de Castro - 5.9.0-1 - Upstream official release