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
This commit is contained in:
Lubomir Rintel 2013-10-24 11:39:54 +02:00
parent 6bf31fcf5a
commit 7f4353f164

View File

@ -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 <lkundrak@v3.sk> - 5.1.0-0.3.20130826git3b0b90b
- Bulk sad and useless attempt at consistent SPEC file formatting
* Sun Oct 06 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.1.0-0.2.20130826git3b0b90b
- Bump platform plugin ABI to 5.2 for Qt 5.2 aplha