From 7f4353f16491fd9a956b98a716476d1852929b79 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Thu, 24 Oct 2013 11:39:54 +0200 Subject: [PATCH] Attempt at saner SPEC file formatting I'm doing this semi-automatically across all packages I maintain, since some are several years old and since then several have suffered bit-rot and such. I'm fixing up the following: - Old RPM relics (such as %defattr, BuildRoot or %clean sections) - Whitespace errors (such as trailing spaces) - Consistent use of %{buildroot} - Dropping useless %{name} expansions that harm legibility - Consistent spacing between RPM sections - Bad days in %changelogs --- qt5-qtwayland.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/qt5-qtwayland.spec b/qt5-qtwayland.spec index f08bb69..0d0781f 100644 --- a/qt5-qtwayland.spec +++ b/qt5-qtwayland.spec @@ -4,7 +4,7 @@ Summary: Qt5 - Wayland platform support and QtCompositor module Name: qt5-%{qt_module} Version: 5.1.0 -Release: 0.2.20130826git3b0b90b%{?dist} +Release: 0.3.20130826git3b0b90b%{?dist} # Full license texts are yet to be included upstream: # https://codereview.qt-project.org/65586 License: LGPLv2 with exceptions or GPLv3 with exceptions @@ -57,16 +57,15 @@ make %{?_smp_mflags} %install -make install INSTALL_ROOT=$RPM_BUILD_ROOT +make install INSTALL_ROOT=%{buildroot} install -pm644 src/compositor/{wayland-wayland-server-protocol.h,qwayland-server-wayland.h} \ - $RPM_BUILD_ROOT%{_qt5_headerdir}/QtCompositor/%{version}/QtCompositor/private + %{buildroot}%{_qt5_headerdir}/QtCompositor/%{version}/QtCompositor/private %post -p /sbin/ldconfig - - %postun -p /sbin/ldconfig + %files %{_qt5_plugindir}/platforms %{_qt5_plugindir}/waylandcompositors @@ -86,6 +85,9 @@ install -pm644 src/compositor/{wayland-wayland-server-protocol.h,qwayland-server %changelog +* Thu Oct 24 2013 Lubomir Rintel - 5.1.0-0.3.20130826git3b0b90b +- Bulk sad and useless attempt at consistent SPEC file formatting + * Sun Oct 06 2013 Lubomir Rintel - 5.1.0-0.2.20130826git3b0b90b - Bump platform plugin ABI to 5.2 for Qt 5.2 aplha