!23 fix build error

From: @peijiankang 
Reviewed-by: @hua_yadong 
Signed-off-by: @hua_yadong
This commit is contained in:
openeuler-ci-bot 2023-10-24 01:11:35 +00:00 committed by Gitee
commit 27da8839b4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: ukwm
Version: 1.2.1
Release: 7
Release: 8
Summary: lightweight GTK+ window manager
License: LGPL-2.0-or-later and GPL-2.0-or-later and MIT
URL: http://www.ukui.org
@ -158,7 +158,7 @@ Ukwm is a small window manager, using GTK+ and Clutter to do
%patch0 -p1
%patch1 -p1
%build
%define gettext_version %(dnf info gettext |grep Version |awk '{print $3}'| awk -F "." 'BEGIN {OFS = FS} {print $1,$2}')
%define gettext_version %(dnf info gettext |grep Version |awk '{print $3}'| awk -F "." 'BEGIN {OFS = FS} {print $1,$2}'|awk 'NR==1')
sed -i 's/GETTEXT_MACRO_VERSION = .*/GETTEXT_MACRO_VERSION = %{gettext_version}/g' po/Makefile.in.in
./autogen.sh --prefix=/usr --libdir=/usr/lib64
@ -215,6 +215,9 @@ update-alternatives --install /usr/bin/x-window-manager \
%exclude %{_libdir}/ukwm/*.la
%changelog
* Mon Oct 23 2023 peijiankang <peijiankang@kylinos.cn> - 1.2.1-8
- fix build error
* Mon Sep 25 2023 peijiankang <peijiankang@kylinos.cn> - 1.2.1-7
- update ukwm.spec