fix build error

This commit is contained in:
peijiankang 2023-10-23 17:12:27 +08:00
parent 961d210427
commit 29c1146e3e

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