Accepting request 236091 from KDE:Qt5

- Improve baselibs
- Improve situation with rpmlints duplicates warnings
- Make private headers noarch

OBS-URL: https://build.opensuse.org/request/show/236091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtbase?expand=0&rev=21
This commit is contained in:
Stephan Kulow 2014-06-04 16:38:26 +00:00 committed by Git OBS Bridge
parent 73724d91a2
commit 6fe871c76c
3 changed files with 74 additions and 5 deletions

View File

@ -23,19 +23,64 @@ libQt5Sql5-postgresql
libQt5Sql5-mysql libQt5Sql5-mysql
obsoletes "libqt5-sql-mysql-<targettype> < <version>" obsoletes "libqt5-sql-mysql-<targettype> < <version>"
provides "libqt5-sql-mysql-<targettype> = <version>" provides "libqt5-sql-mysql-<targettype> = <version>"
libqt5-qtbase-devel libQt5Core-devel
requires "libQt5Core5-<targettype> = <version>" requires "libQt5Core5-<targettype> = <version>"
libQt5Concurrent-devel
requires "libQt5Concurrent5-<targettype> = <version>" requires "libQt5Concurrent5-<targettype> = <version>"
requires "libQt5Core-devel-<targettype> = <version>"
libQt5DBus-devel
requires "libQt5Core-devel-<targettype> = <version>"
requires "libQt5DBus5-<targettype> = <version>" requires "libQt5DBus5-<targettype> = <version>"
libQt5Network-devel
requires "libQt5Core-devel-<targettype> = <version>"
requires "libQt5Network5-<targettype> = <version>" requires "libQt5Network5-<targettype> = <version>"
libQt5OpenGL-devel
requires "libQt5Core-devel-<targettype> = <version>"
requires "libQt5Gui-devel-<targettype> = <version>"
requires "libQt5OpenGL5-<targettype> = <version>" requires "libQt5OpenGL5-<targettype> = <version>"
requires "libQt5Widgets-devel-<targettype> = <version>"
libQt5PrintSupport-devel
requires "libQt5Core-devel-<targettype> = <version>"
requires "libQt5Gui-devel-<targettype> = <version>"
requires "libQt5PrintSupport5-<targettype> = <version>" requires "libQt5PrintSupport5-<targettype> = <version>"
requires "libQt5Widgets-devel-<targettype> = <version>"
libQt5Xml-devel
requires "libQt5Core-devel-<targettype> = <version>"
requires "libQt5Xml5-<targettype> = <version>" requires "libQt5Xml5-<targettype> = <version>"
requires "libQt5Gui5-<targettype> = <version>" libQt5Test-devel
requires "libQt5Sql5-<targettype> = <version>" requires "libQt5Core-devel-<targettype> = <version>"
requires "libQt5Test5-<targettype> = <version>" requires "libQt5Test5-<targettype> = <version>"
libQt5Widgets-devel
requires "libQt5Core-devel-<targettype> = <version>"
requires "libQt5Gui-devel-<targettype> = <version>"
requires "libQt5Widgets5-<targettype> = <version>" requires "libQt5Widgets5-<targettype> = <version>"
libQt5Gui-devel
requires "libQt5Core-devel-<targettype> = <version>"
requires "libQt5Gui5-<targettype> = <version>"
libQt5Sql-devel
requires "libQt5Core-devel-<targettype> = <version>"
requires "libQt5Sql5-<targettype> = <version>"
requires "libQt5Sql5-mysql-<targettype> = <version>"
requires "libQt5Sql5-postgresql-<targettype> = <version>"
requires "libQt5Sql5-sqlite-<targettype> = <version>" requires "libQt5Sql5-sqlite-<targettype> = <version>"
requires "libQt5Sql5-unixODBC-<targettype> = <version>" requires "libQt5Sql5-unixODBC-<targettype> = <version>"
requires "libQt5Sql5-postgresql-<targettype> = <version>" libQt5Bootstrap-devel-static
requires "libQt5Sql5-mysql-<targettype> = <version>" libQt5OpenGLExtensions-devel-static
requires "libQt5Core-devel-<targettype> = <version>"
requires "libQt5Gui-devel-<targettype> = <version>"
libQt5PlatformSupport-devel-static
requires "libQt5Core-devel-<targettype> = <version>"
requires "libQt5Gui-devel-<targettype> = <version>"
libqt5-qtbase-examples
libqt5-qtbase-devel
requires "libQt5Concurrent-devel-<targettype> = <version>"
requires "libQt5Core-devel-<targettype> = <version>"
requires "libQt5DBus-devel-<targettype> = <version>"
requires "libQt5Gui-devel-<targettype> = <version>"
requires "libQt5Network-devel-<targettype> = <version>"
requires "libQt5OpenGL-devel-<targettype> = <version>"
requires "libQt5PrintSupport-devel-<targettype> = <version>"
requires "libQt5Sql-devel-<targettype> = <version>"
requires "libQt5Test-devel-<targettype> = <version>"
requires "libQt5Widgets-devel-<targettype> = <version>"
requires "libQt5Xml-devel-<targettype> = <version>"

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Jun 1 23:43:25 UTC 2014 - hrvoje.senjan@gmail.com
- Improve baselibs
- Improve situation with rpmlints duplicates warnings
- Make private headers noarch
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 27 09:52:05 UTC 2014 - hrvoje.senjan@gmail.com Tue May 27 09:52:05 UTC 2014 - hrvoje.senjan@gmail.com

View File

@ -205,6 +205,7 @@ Qt 5 Core Library - development files.
%package -n libQt5Core-private-headers-devel %package -n libQt5Core-private-headers-devel
Summary: Qt 5 Core Library - Non-ABI stable development files Summary: Qt 5 Core Library - Non-ABI stable development files
Group: Development/Libraries/X11 Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-devel = %{version} Requires: libQt5Core-devel = %{version}
%description -n libQt5Core-private-headers-devel %description -n libQt5Core-private-headers-devel
@ -246,6 +247,7 @@ Qt5's qdbusxml2cpp and qdbuscpp2xml binaries.
%package -n libQt5DBus-private-headers-devel %package -n libQt5DBus-private-headers-devel
Summary: Qt 5 DBus Library - Non-ABI stable development files Summary: Qt 5 DBus Library - Non-ABI stable development files
Group: Development/Libraries/X11 Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version} Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5DBus-devel = %{version} Requires: libQt5DBus-devel = %{version}
@ -271,6 +273,7 @@ The Qt 5 Network library - development files.
%package -n libQt5Network-private-headers-devel %package -n libQt5Network-private-headers-devel
Summary: Qt 5 Network Library - Non-ABI stable development files Summary: Qt 5 Network Library - Non-ABI stable development files
Group: Development/Libraries/X11 Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version} Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5Network-devel = %{version} Requires: libQt5Network-devel = %{version}
@ -303,6 +306,7 @@ The Qt 5 OpenGL library - development files.
%package -n libQt5OpenGL-private-headers-devel %package -n libQt5OpenGL-private-headers-devel
Summary: Qt 5 OpenGL Library - Non-ABI stable development files Summary: Qt 5 OpenGL Library - Non-ABI stable development files
Group: Development/Libraries/X11 Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version} Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5Gui-private-headers-devel = %{version} Requires: libQt5Gui-private-headers-devel = %{version}
Requires: libQt5OpenGL-devel = %{version} Requires: libQt5OpenGL-devel = %{version}
@ -332,6 +336,7 @@ The Qt 5 Print Support library - development files.
%package -n libQt5PrintSupport-private-headers-devel %package -n libQt5PrintSupport-private-headers-devel
Summary: Qt 5 Print Support Library - Non-ABI stable development files Summary: Qt 5 Print Support Library - Non-ABI stable development files
Group: Development/Libraries/X11 Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version} Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5Gui-private-headers-devel = %{version} Requires: libQt5Gui-private-headers-devel = %{version}
Requires: libQt5PrintSupport-devel = %{version} Requires: libQt5PrintSupport-devel = %{version}
@ -375,6 +380,7 @@ The Qt 5 library for testing - development files.
%package -n libQt5Test-private-headers-devel %package -n libQt5Test-private-headers-devel
Summary: Qt 5 Test Library - Non-ABI stable development files Summary: Qt 5 Test Library - Non-ABI stable development files
Group: Development/Libraries/X11 Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version} Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5Test-devel = %{version} Requires: libQt5Test-devel = %{version}
@ -401,6 +407,7 @@ The Qt 5 library to display widgets - development files.
%package -n libQt5Widgets-private-headers-devel %package -n libQt5Widgets-private-headers-devel
Summary: Qt 5 Widgets Library - Non-ABI stable development files Summary: Qt 5 Widgets Library - Non-ABI stable development files
Group: Development/Libraries/X11 Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version} Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5Gui-private-headers-devel = %{version} Requires: libQt5Gui-private-headers-devel = %{version}
Requires: libQt5Widgets-devel = %{version} Requires: libQt5Widgets-devel = %{version}
@ -481,6 +488,7 @@ Qt 5 libraries which are depending on X11 - development files.
%package -n libQt5Gui-private-headers-devel %package -n libQt5Gui-private-headers-devel
Summary: Qt 5 Gui Library - Non-ABI stable development files Summary: Qt 5 Gui Library - Non-ABI stable development files
Group: Development/Libraries/X11 Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version} Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5Gui-devel = %{version} Requires: libQt5Gui-devel = %{version}
@ -514,6 +522,7 @@ will need also a plugin package for a supported SQL server - development files.
%package -n libQt5Sql-private-headers-devel %package -n libQt5Sql-private-headers-devel
Summary: Qt 5 SQL Library - Non-ABI stable development files Summary: Qt 5 SQL Library - Non-ABI stable development files
Group: Development/Libraries/X11 Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version} Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5Sql-devel = %{version} Requires: libQt5Sql-devel = %{version}
@ -532,6 +541,7 @@ Qt 5 tool used by Qt Developers to generate documentation for software projects.
%package private-headers-devel %package private-headers-devel
Summary: Non-ABI stable experimental API Summary: Non-ABI stable experimental API
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version} Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5DBus-private-headers-devel = %{version} Requires: libQt5DBus-private-headers-devel = %{version}
Requires: libQt5Gui-private-headers-devel = %{version} Requires: libQt5Gui-private-headers-devel = %{version}
@ -592,6 +602,7 @@ Qt PlatformSupport module.
%package -n libQt5PlatformSupport-private-headers-devel %package -n libQt5PlatformSupport-private-headers-devel
Summary: Qt 5 PlatformSupport Library - Non-ABI stable development files Summary: Qt 5 PlatformSupport Library - Non-ABI stable development files
Group: Development/Libraries/X11 Group: Development/Libraries/X11
BuildArch: noarch
Requires: libQt5Core-private-headers-devel = %{version} Requires: libQt5Core-private-headers-devel = %{version}
Requires: libQt5Gui-private-headers-devel = %{version} Requires: libQt5Gui-private-headers-devel = %{version}
Requires: libQt5PlatformSupport-devel-static = %{version} Requires: libQt5PlatformSupport-devel-static = %{version}
@ -751,6 +762,12 @@ popd
# Only symlink mkspecs, as headers and cmake files are across different packages. If needed, call fdupes on every dir, as per package split # Only symlink mkspecs, as headers and cmake files are across different packages. If needed, call fdupes on every dir, as per package split
%fdupes -s %{buildroot}%{libqt5_archdatadir}/mkspecs/ %fdupes -s %{buildroot}%{libqt5_archdatadir}/mkspecs/
%fdupes -s %{buildroot}%{libqt5_examplesdir}/
for headers in QtCore QtConcurrent QtTest QtNetwork QtXml QtSql QtGui QtWidgets QtDBus QtPrintSupport QtOpenGL; do
%fdupes -s %{buildroot}%{libqt5_includedir}/$headers
done
%post -n libQt5Core5 -p /sbin/ldconfig %post -n libQt5Core5 -p /sbin/ldconfig
%post -n libQt5Concurrent5 -p /sbin/ldconfig %post -n libQt5Concurrent5 -p /sbin/ldconfig