use %make_build %ldconfig_scriptlets
This commit is contained in:
Rex Dieter 2018-05-27 07:50:24 -05:00
parent 2df04ecb7b
commit 4db1fb48f2
3 changed files with 12 additions and 11 deletions

5
.gitignore vendored
View File

@ -1,5 +1,2 @@
/qtwebsockets-opensource-src-5.9.1.tar.xz
/qtwebsockets-opensource-src-5.9.2.tar.xz
/qtwebsockets-opensource-src-5.9.3.tar.xz
/qtwebsockets-everywhere-src-5.10.0.tar.xz
/qtwebsockets-everywhere-src-5.10.1.tar.xz
/qtwebsockets-everywhere-src-5.11.0.tar.xz

View File

@ -2,13 +2,14 @@
Summary: Qt5 - WebSockets component
Name: qt5-%{qt_module}
Version: 5.10.1
Version: 5.11.0
Release: 1%{?dist}
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://qt-project.org/
Source0: https://download.qt.io/official_releases/qt/5.10/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
%global majmin %(echo %{version} | cut -d. -f1-2)
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
# filter qml provides
%global __provides_exclude_from ^%{_qt5_archdatadir}/qml/.*\\.so$
@ -43,7 +44,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%build
%{qmake_qt5}
make %{?_smp_mflags}
%make_build
%install
@ -62,11 +63,10 @@ done
popd
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%license LICENSE.LGPL*
%license LICENSE.*
%{_qt5_libdir}/libQt5WebSockets.so.5*
%{_qt5_archdatadir}/qml/Qt/WebSockets/
@ -87,6 +87,10 @@ popd
%changelog
* Sun May 27 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.11.0-1
- 5.11.0
- use %%make_build %%ldconfig_scriptlets
* Wed Feb 14 2018 Jan Grulich <jgrulich@redhat.com> - 5.10.1-1
- 5.10.1

View File

@ -1 +1 @@
SHA512 (qtwebsockets-everywhere-src-5.10.1.tar.xz) = c5ab093ec4e93a94f646adff1ff6ef3eeb70fe302be04ddb694a5f7781c5d68777d75a3e831128a23d852522a6a0ca4e54a6bc67d10fb6e395632df4e7e71596
SHA512 (qtwebsockets-everywhere-src-5.11.0.tar.xz) = b3d25ea5fbf39714ec04702e342551f848e0ad166570600115816cf4daceaa2ca459f590aa01bf8defce4c4bbe2a0384fb856667a043ae667d59b3f92328d5c3