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:
parent
d15c445eb2
commit
7019df29da
@ -9,7 +9,7 @@
|
|||||||
Name: qt5-%{qt_module}
|
Name: qt5-%{qt_module}
|
||||||
Version: 5.2.0
|
Version: 5.2.0
|
||||||
Summary: Qt5 - module with set of QtQuick controls
|
Summary: Qt5 - module with set of QtQuick controls
|
||||||
Release: 0.1.%{pre}%{?dist}
|
Release: 0.2.%{pre}%{?dist}
|
||||||
License: BSD and (LGPLv2 with exceptions or GPLv3 with exceptions) and GFDL
|
License: BSD and (LGPLv2 with exceptions or GPLv3 with exceptions) and GFDL
|
||||||
Url: http://qt-project.org/
|
Url: http://qt-project.org/
|
||||||
%if 0%{?pre:1}
|
%if 0%{?pre:1}
|
||||||
@ -32,9 +32,10 @@ BuildRequires: pkgconfig(Qt5Core)
|
|||||||
%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
|
%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Qt Quick Controls module provides a set of controls that can be used to
|
The Qt Quick Controls module provides a set of controls that can be used to
|
||||||
build complete interfaces in Qt Quick.
|
build complete interfaces in Qt Quick.
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?docs}
|
%if 0%{?docs}
|
||||||
%package doc
|
%package doc
|
||||||
Summary: API documentation for %{name}
|
Summary: API documentation for %{name}
|
||||||
@ -42,6 +43,7 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
# for qhelpgenerator
|
# for qhelpgenerator
|
||||||
BuildRequires: qt5-qttools-devel
|
BuildRequires: qt5-qttools-devel
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
%{summary}.
|
%{summary}.
|
||||||
%endif
|
%endif
|
||||||
@ -78,6 +80,7 @@ make install_docs INSTALL_ROOT=%{buildroot}
|
|||||||
%doc LGPL_EXCEPTION.txt
|
%doc LGPL_EXCEPTION.txt
|
||||||
%doc header.BSD
|
%doc header.BSD
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?docs}
|
%if 0%{?docs}
|
||||||
%files doc
|
%files doc
|
||||||
%{_qt5_docdir}/qtquickcontrols.qch
|
%{_qt5_docdir}/qtquickcontrols.qch
|
||||||
@ -88,6 +91,9 @@ make install_docs INSTALL_ROOT=%{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 24 2013 Lubomir Rintel <lkundrak@v3.sk> - 5.2.0-0.2.alpha
|
||||||
|
- Bulk sad and useless attempt at consistent SPEC file formatting
|
||||||
|
|
||||||
* Wed Oct 02 2013 Rex Dieter <rdieter@fedoraproject.org> - 5.2.0-0.1.alpha
|
* Wed Oct 02 2013 Rex Dieter <rdieter@fedoraproject.org> - 5.2.0-0.1.alpha
|
||||||
- 5.2.0-alpha
|
- 5.2.0-alpha
|
||||||
- tidy dir ownership
|
- tidy dir ownership
|
||||||
|
Loading…
Reference in New Issue
Block a user