Accepting request 211348 from KDE:Qt5

Move away from pkgconfig(...) BuildRequires and just use libqt5-$upstreammodulename-(devel|private-headers-devel)



No hurry to checkin ;-) but it is needed for QtLocation

OBS-URL: https://build.opensuse.org/request/show/211348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtsensors?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2013-12-19 11:44:04 +00:00 committed by Git OBS Bridge
parent 275ce1e245
commit 4989be1b6f
2 changed files with 19 additions and 7 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 16 23:19:32 UTC 2013 - hrvoje.senjan@gmail.com
- Make devel packages naming consistent:
use libqt5-$upstreammodulename-(devel, private-headers-devel)
-------------------------------------------------------------------
Thu Dec 12 13:42:39 UTC 2013 - hrvoje.senjan@gmail.com
- Update to 5.2.0 final:

View File

@ -48,22 +48,28 @@ Group: Development/Libraries/X11
%description -n %libname
Qt is a set of libraries for developing applications.
%package -n libQt5Sensors-devel
%package devel
Summary: Qt Development Kit
Group: Development/Libraries/X11
Requires: %libname = %{version}
Requires: libqt5-qtbase-devel >= %{version}
Provides: libQt5Sensors-devel = %{version}
# TODO: change to < on 5.2.1 update
Obsoletes: libQt5Sensors-devel <= %{version}
%description -n libQt5Sensors-devel
%description devel
You need this package, if you want to compile programs with qtsensors.
%package -n libQt5Sensors-private-headers-devel
%package private-headers-devel
Summary: Non-ABI stable experimental API
Group: Development/Libraries/C and C++
Requires: libQt5Sensors-devel = %{version}
Requires: %{name}-devel = %{version}
Requires: libqt5-qtbase-private-headers-devel >= %{version}
Provides: libQt5Sensors-private-headers-devel = %{version}
# TODO: change to < on 5.2.1 update
Obsoletes: libQt5Sensors-private-headers-devel <= %{version}
%description -n libQt5Sensors-private-headers-devel
%description private-headers-devel
This package provides private headers of libqt5-qtsensors that are normally
not used by application development and that do not have any ABI or
API guarantees. The packages that build against these have to require
@ -86,11 +92,11 @@ the exact Qt version.
%{_libqt5_plugindir}/sensors
%{_libqt5_plugindir}/sensorgestures
%files -n libQt5Sensors-private-headers-devel
%files private-headers-devel
%defattr(-,root,root,755)
%{_libqt5_includedir}/QtSensors/%{so_version}
%files -n libQt5Sensors-devel
%files devel
%defattr(-,root,root,755)
%exclude %{_libqt5_includedir}/QtSensors/%{so_version}
%{_libqt5_includedir}/QtSensors