use %make_build %ldconfig_scriptlets
This commit is contained in:
Rex Dieter 2018-05-27 07:48:41 -05:00
parent e3725acc4c
commit fa8db39ca6
3 changed files with 12 additions and 7 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/qtwebchannel-opensource-src-5.9.3.tar.xz /qtwebchannel-opensource-src-5.9.3.tar.xz
/qtwebchannel-everywhere-src-5.10.0.tar.xz /qtwebchannel-everywhere-src-5.10.0.tar.xz
/qtwebchannel-everywhere-src-5.10.1.tar.xz /qtwebchannel-everywhere-src-5.10.1.tar.xz
/qtwebchannel-everywhere-src-5.11.0.tar.xz

View File

@ -2,13 +2,14 @@
Summary: Qt5 - WebChannel component Summary: Qt5 - WebChannel component
Name: qt5-%{qt_module} Name: qt5-%{qt_module}
Version: 5.10.1 Version: 5.11.0
Release: 1%{?dist} Release: 1%{?dist}
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
License: LGPLv2 with exceptions or GPLv3 with exceptions License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://qt.io Url: http://qt.io
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
BuildRequires: qt5-qtbase-devel >= %{version} BuildRequires: qt5-qtbase-devel >= %{version}
BuildRequires: qt5-qtbase-private-devel BuildRequires: qt5-qtbase-private-devel
@ -42,7 +43,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%build %build
%{qmake_qt5} %{qmake_qt5}
make %{?_smp_mflags} %make_build
%install %install
@ -62,11 +63,10 @@ done
popd popd
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig
%files %files
%license LICENSE.GPL* LICENSE.LGPL* %license LICENSE.*
%{_qt5_libdir}/libQt5WebChannel.so.5* %{_qt5_libdir}/libQt5WebChannel.so.5*
%{_qt5_archdatadir}/qml/QtWebChannel/ %{_qt5_archdatadir}/qml/QtWebChannel/
@ -86,6 +86,10 @@ popd
%changelog %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 * Wed Feb 14 2018 Jan Grulich <jgrulich@redhat.com> - 5.10.1-1
- 5.10.1 - 5.10.1

View File

@ -1 +1 @@
SHA512 (qtwebchannel-everywhere-src-5.10.1.tar.xz) = aea4c82d3873be24aa1648e197d6b3403f11658793dff40fe37cd3726a34360286638424cba83de530049e4ff5a69d9f251cb105c65da5142376dc2827510d47 SHA512 (qtwebchannel-everywhere-src-5.11.0.tar.xz) = 3e084afcb35c06a694516ff38d335ea4659455d12f790c56d0fe1476e45709cd478213c9152bc436b6d5d4e8e54713a17dcef6e0a97d3aee9179b61d690a3c00