This commit is contained in:
Jan Grulich 2022-04-20 16:40:08 +02:00
parent 53ca342a3d
commit d59d174f74
3 changed files with 14 additions and 6 deletions

1
.gitignore vendored
View File

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

View File

@ -6,10 +6,12 @@
%global prerelease rc2
%endif
#global examples 1
Summary: Qt6 - Sensors component
Name: qt6-%{qt_module}
Version: 6.2.3
Release: 2%{?dist}
Version: 6.3.0
Release: 1%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -54,19 +56,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
@ -114,11 +117,15 @@ popd
%{_qt6_libdir}/metatypes/qt6*_metatypes.json
%{_qt6_datadir}/modules/*.json
%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 (qtsensors-everywhere-src-6.2.3.tar.xz) = 786e92aef519c2b96d056a873a8653d4ed6fb85b4c320398ed9221cafac205a33b13f163b515790f0c918adb1848902989c7eb9b67c0b46273e9f927772a471d
SHA512 (qtsensors-everywhere-src-6.3.0.tar.xz) = df622b43d24128aed9864a1c69cfcd8870efe23916a4144b38156c329b9503f76bddf051f9a1808ca6d64d862f0018e7d0f71e4df2af3585d3f925ce0496aea5