This commit is contained in:
Jan Grulich 2022-04-21 09:34:33 +02:00
parent 6e99aa6d8f
commit a27a19df03
3 changed files with 13 additions and 5 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/qtwebchannel-everywhere-src-6.2.1.tar.xz
/qtwebchannel-everywhere-src-6.2.2.tar.xz
/qtwebchannel-everywhere-src-6.2.3.tar.xz
/qtwebchannel-everywhere-src-6.3.0.tar.xz

View File

@ -6,10 +6,12 @@
%global prerelease rc2
%endif
#global examples 1
Summary: Qt6 - WebChannel component
Name: qt6-%{qt_module}
Version: 6.2.3
Release: 2%{?dist}
Version: 6.3.0
Release: 1%{?dist}
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -49,18 +51,20 @@ Requires: qt6-qtbase-devel%{?_isa}
%description devel
%{summary}.
%if 0%{?examples}
%package examples
Summary: Programming examples for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description examples
%{summary}.
%endif
%prep
%autosetup -n %{qt_module}-everywhere-src-%{qt_version}%{?unstable:-%{prerelease}} -p1
%build
%cmake_qt6
%cmake_qt6 -DQT_BUILD_EXAMPLES:BOOL=%{?examples:ON}%{!?examples:OFF}
%cmake_build
@ -101,13 +105,16 @@ popd
%{_qt6_libdir}/metatypes/qt6*_metatypes.json
%{_qt6_datadir}/modules/*.json
%if 0%{?_qt6_examplesdir:1}
%if 0%{?examples}
%files examples
%{_qt6_examplesdir}/
%endif
%changelog
* Wed Apr 13 2022 Jan Grulich <jgrulich@redhat.com> - 6.3.0-1
- 6.3.0
* Fri Feb 25 2022 Jan Grulich <jgrulich@redhat.com> - 6.2.3-2
- Enable s390x builds

View File

@ -1 +1 @@
SHA512 (qtwebchannel-everywhere-src-6.2.3.tar.xz) = e2b330d53241f803055607cb6bbe6e1d295b56b690fb0b5d7ea6fb32f5ffd8ae8205a328a2074f3871d55cf98578a88383b342da16749c6d90b838129d53328e
SHA512 (qtwebchannel-everywhere-src-6.3.0.tar.xz) = 350892766af486f5f1d6925f156342c4958ce8a86ecd018f65f533af56f62c097d220dc59fa7d169206edb489134cebd7e5b247181d8111ca90630ddf603ca22