!7 add buildrequires gcc and systemd

From: @yang_zhuang_zhuang
Reviewed-by: @overweight
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2021-05-28 17:08:43 +08:00 committed by Gitee
commit d580fe2bc8

View File

@ -2,13 +2,13 @@
Name: timedatex Name: timedatex
Version: 0.6 Version: 0.6
Release: 1 Release: 2
Summary: D-Bus service for system clock and RTC settings Summary: D-Bus service for system clock and RTC settings
License: GPLv2+ License: GPLv2+
URL: https://github.com/mlichvar/timedatex URL: https://github.com/mlichvar/timedatex
Source0: https://github.com/mlichvar/timedatex/archive/v%{version}/%{name}-%{version}.tar.gz 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 Requires: polkit systemd util-linux
%description %description
@ -62,6 +62,13 @@ make test
%{_mandir}/man8/%{name}.8* %{_mandir}/man8/%{name}.8*
%changelog %changelog
* Fri May 28 2021 yangzhuangzhuang <yangzhuangzhuang1@huawei.com>- 0.6-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: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
* Fri Jul 24 2020 Hugel <gengqihu1@huawei.com> - 0.6.1 * Fri Jul 24 2020 Hugel <gengqihu1@huawei.com> - 0.6.1
- Type: enhancement - Type: enhancement
- ID: NA - ID: NA