From 4af62b5b5b51a74a447a36bd4d77f100fcba2120 Mon Sep 17 00:00:00 2001 From: yang_zhuang_zhuang <1162011203@qq.com> Date: Fri, 28 May 2021 14:22:46 +0800 Subject: [PATCH] The"cc:No such file or directroy"error message is displayed during compilation.Therefore,add buildrequires gcc. The macro unitdir is used.Therefore,add buildrequires systemd --- timedatex.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/timedatex.spec b/timedatex.spec index 7a5668c..ba09b29 100644 --- a/timedatex.spec +++ b/timedatex.spec @@ -2,13 +2,13 @@ Name: timedatex Version: 0.6 -Release: 1 +Release: 2 Summary: D-Bus service for system clock and RTC settings License: GPLv2+ URL: https://github.com/mlichvar/timedatex Source0: https://github.com/mlichvar/timedatex/archive/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: glib2-devel libselinux-devel +BuildRequires: glib2-devel libselinux-devel gcc systemd Requires: polkit systemd util-linux %description @@ -62,6 +62,10 @@ make test %{_mandir}/man8/%{name}.8* %changelog +* Fri May 28 2021 yangzhuangzhuang - 0.6-2 +- The"cc:No such file or directroy"error message is displayed during compilation.Therefore,add buildrequires gcc. + The macro unitdir is used.Therefore,add buildrequires systemd + * Tue Aug 04 2020 shanzhikun - 0.6-1 - upgrade timedatex to 0.6.