!19 update to upstream version 5.100.0

From: @liqiuyu123 
Reviewed-by: @dou33 
Signed-off-by: @dou33
This commit is contained in:
openeuler-ci-bot 2022-12-09 09:12:31 +00:00 committed by Gitee
commit 9f4b9429a9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 33 additions and 1 deletions

View File

@ -1,5 +1,5 @@
Name: kf5 Name: kf5
Version: 5.97.0 Version: 5.100.0
Release: 1 Release: 1
Summary: Filesystem and RPM macros for KDE Frameworks 5 Summary: Filesystem and RPM macros for KDE Frameworks 5
License: BSD License: BSD
@ -60,6 +60,9 @@ sed -i -e "s|@@KF5_VERSION@@|%{version}|g" %{buildroot}%{_rpmconfigdir}/macros.d
%{_rpmconfigdir}/macros.d/macros.kf5 %{_rpmconfigdir}/macros.d/macros.kf5
%changelog %changelog
* Fri Dec 09 2022 liqiuyu <liqiuyu@kylinos.cn> - 5.100.0-1
- Update package to version 5.100.0
* Mon Sep 05 2022 liweiganga <liweiganga@uniontech.com> - 5.97.0-1 * Mon Sep 05 2022 liweiganga <liweiganga@uniontech.com> - 5.97.0-1
- update to upstream version 5.97.0 - update to upstream version 5.97.0

View File

@ -68,3 +68,32 @@
(find %{buildroot}/%{_datadir}/locale/ -name "%1.qm" -type f | sed ' \ (find %{buildroot}/%{_datadir}/locale/ -name "%1.qm" -type f | sed ' \
s:%{buildroot}/:: \ s:%{buildroot}/:: \
s:%{_datadir}/locale/\\([a-zA-Z_\\@]*\\)/\\([a-zA-Z_]*\\)/%1.qm:%lang(\\1) %{_datadir}/locale/\\1/\\2/%1.qm:' > %1.lang) s:%{_datadir}/locale/\\([a-zA-Z_\\@]*\\)/\\([a-zA-Z_]*\\)/%1.qm:%lang(\\1) %{_datadir}/locale/\\1/\\2/%1.qm:' > %1.lang)
# Start of backwards compatible macros
# Used mostly in plasma and gear packages:
# %%maj_ver_kf5
# %%min_ver_kf5
# %%bug_ver_kf5
# %%majmin_ver_kf5
# %%stable_kf5
%maj_ver_kf5 %(echo %{version} | cut -d. -f1)
%min_ver_kf5 %(echo %{version} | cut -d. -f2)
%bug_ver_kf5 %(echo %{version} | cut -d. -f3)
%stable_kf5 %( \
if test %bug_ver_kf5 -ge 50 ; then
echo "unstable"
else
echo "stable"
fi
)
%majmin_ver_kf5 %( \
if test %bug_ver_kf5 -ge 50 ; then
echo %{maj_ver_kf5}.%{min_ver_kf5}.50
else
echo %{maj_ver_kf5}.%{min_ver_kf5}
fi
)
# End of backwards compatible macros