diff --git a/qt5compat-everywhere-src-6.5.0.tar.xz b/qt5compat-everywhere-src-6.5.1.tar.xz similarity index 67% rename from qt5compat-everywhere-src-6.5.0.tar.xz rename to qt5compat-everywhere-src-6.5.1.tar.xz index ff3887c..90fa3dd 100644 Binary files a/qt5compat-everywhere-src-6.5.0.tar.xz and b/qt5compat-everywhere-src-6.5.1.tar.xz differ diff --git a/qt6-qt5compat.spec b/qt6-qt5compat.spec index 35f6036..ed1807b 100644 --- a/qt6-qt5compat.spec +++ b/qt6-qt5compat.spec @@ -1,16 +1,17 @@ %global qt_module qt5compat -%define short_version 6.5 - -Summary: Unsupported Qt 5 APIs for Qt 6 +Summary: Qt6 - Qt 5 Compatibility Libraries Name: qt6-%{qt_module} -Version: 6.5.0 +Version: 6.5.1 Release: 1 License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0 URL: https://www.qt.io -Source: https://download.qt.io/official_releases/qt/%{short_version}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz +%global majmin %(echo %{version} | cut -d. -f1-2) +%global qt_version %(echo %{version} | cut -d~ -f1) + +Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz BuildRequires: gcc-c++ BuildRequires: cmake @@ -29,8 +30,8 @@ BuildRequires: libicu-devel %package devel Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: qt6-qtbase-devel%{?_isa} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: qt6-qtbase-devel%{?_isa} %description devel %{summary}. @@ -63,8 +64,8 @@ popd %files %license LICENSES/* %{_qt6_libdir}/libQt6Core5Compat.so.6* -%{_qt6_archdatadir}/qml/Qt5Compat/GraphicalEffects/* - +%{_qt6_libdir}/qt6/qml/Qt5Compat/GraphicalEffects/* + %files devel %{_qt6_headerdir}/QtCore5Compat/ %{_qt6_libdir}/libQt6Core5Compat.prl @@ -74,12 +75,15 @@ popd %{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/Qt5CompatTestsConfig.cmake %dir %{_qt6_libdir}/cmake/Qt6Core5Compat/ %{_qt6_libdir}/cmake/Qt6Core5Compat/*.cmake -%{_qt6_mkspecsdir}/modules/*.pri -%{_qt6_archdatadir}/modules/*.json -%{_qt6_archdatadir}/metatypes/qt6*_metatypes.json +%{_qt6_archdatadir}/mkspecs/modules/*.pri +%{_qt6_libdir}/qt6/modules/*.json +%{_qt6_libdir}/qt6/metatypes/qt6*_metatypes.json %{_qt6_libdir}/pkgconfig/*.pc %changelog +* Wed Aug 09 2023 peijiankang - 6.5.1-1 +- 6.5.1 + * Fri May 19 2023 EastDong - 6.5.0-1 - init package