update macros file with stable_kde6 and other macros for KDE applications [release 5.249.0-2mamba;Sun Feb 11 2024]

This commit is contained in:
Silvan Calarco 2024-02-12 00:30:10 +01:00
parent 2f54254112
commit c68de4ea63
2 changed files with 18 additions and 2 deletions

View File

@ -3,13 +3,13 @@
Name: kf6-rpm-macros
Version: 5.249.0
Release: 1mamba
Release: 2mamba
Summary: RPM macros for KDE Frameworks 6
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://invent.kde.org/frameworks/rpm-macros
URL: https://invent.kde.org/users/sign_in
Source0: macros.kf6
License: BSD
## AUTOBUILDREQ-BEGIN
@ -36,6 +36,9 @@ cat %{SOURCE0} | sed "s,@kf6_VERSION@,%{version}," \
%attr(644,root,root) %{_rpmmacrodir}/macros.kf6
%changelog
* Sun Feb 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.249.0-2mamba
- update macros file with stable_kde6 and other macros for KDE applications
* Mon Feb 05 2024 Automatic Build System <autodist@openmamba.org> 5.249.0-1mamba
- automatic version update by autodist

View File

@ -15,6 +15,9 @@
%_kf6_qmldir %_kf6_archdatadir/qml
%_kf6_version @@kf6_VERSION@@
%_kf6_icondir %_kf6_prefix/share/icons
%_kf6_kcfgdir %_kf6_prefix/share/config.kcfg
%cmake_kf6 \\\
%undefine __cmake_in_source_build \
QTDIR="%{_qt6_prefix}" ; export QTDIR ; \
@ -98,3 +101,13 @@
fi
)
# End of backwards compatible macros
# Macros used for KDE 6 applications
%stable_kde6 %( \
if test %maj_ver_kf6 -le 23 ; then
echo "unstable"
else
echo "stable"
fi
)