This commit is contained in:
Jan Grulich 2022-04-20 16:46:45 +02:00
parent fcd51810d1
commit 07ce6785a7
3 changed files with 13 additions and 7 deletions

1
.gitignore vendored
View File

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

View File

@ -6,10 +6,12 @@
%global prerelease rc2 %global prerelease rc2
%endif %endif
#global examples 1
Summary: Qt6 - SerialBus component Summary: Qt6 - SerialBus component
Name: qt6-%{qt_module} Name: qt6-%{qt_module}
Version: 6.2.3 Version: 6.3.0
Release: 2%{?dist} Release: 1%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -51,19 +53,20 @@ Requires: qt6-qtbase-devel%{?_isa}
%description devel %description devel
%{summary}. %{summary}.
%if 0%{?examples}
%package examples %package examples
Summary: Programming examples for %{name} Summary: Programming examples for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description examples %description examples
%{summary}. %{summary}.
%endif
%prep %prep
%autosetup -n %{qt_module}-everywhere-src-%{qt_version}%{?unstable:-%{prerelease}} -p1 %autosetup -n %{qt_module}-everywhere-src-%{qt_version}%{?unstable:-%{prerelease}} -p1
%build %build
%cmake_qt6 %cmake_qt6 -DQT_BUILD_EXAMPLES:BOOL=%{?examples:ON}%{!?examples:OFF}
%cmake_build %cmake_build
@ -93,14 +96,16 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%{_qt6_libdir}/metatypes/qt6*_metatypes.json %{_qt6_libdir}/metatypes/qt6*_metatypes.json
%{_qt6_datadir}/modules/*.json %{_qt6_datadir}/modules/*.json
# no examples, yet %if 0%{?examples}
%if 0%{?_qt6_examplesdir:1}
%files examples %files examples
%{_qt6_examplesdir}/ %{_qt6_examplesdir}/
%endif %endif
%changelog %changelog
* Wed Apr 20 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 * Fri Feb 25 2022 Jan Grulich <jgrulich@redhat.com> - 6.2.3-2
- Enable s390x builds - Enable s390x builds

View File

@ -1 +1 @@
SHA512 (qtserialbus-everywhere-src-6.2.3.tar.xz) = 0f7b45792853995d05114fcd453fa7ed715c4459769fd82f8d7a95941fe7225fda72ff199823a907895412820c4d62c7db3e37f47313ae7aabc5fcb4734ebbe1 SHA512 (qtserialbus-everywhere-src-6.3.0.tar.xz) = f79dc4620e172918b5bea1ba92ccb47ec0b3c16eec0951bf1c1d42bf8c9433e55ea71354d923f321bd8d7927d2e3d926c499b085a2ac0593b92d891607e98f26