!12 [sync] PR-6: rdate should generate debuginfo

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-07-30 06:29:54 +00:00 committed by Gitee
commit 1e631a19f5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,8 +1,7 @@
%global debug_package %{nil}
Summary: Tool for getting the date/time from a remote machine
Name: rdate
Version: 1.5
Release: 2
Release: 3
License: GPLv2+
Source: https://www.aelius.com/njh/rdate/%{name}-%{version}.tar.gz
URL: https://www.aelius.com/njh/rdate/
@ -17,7 +16,7 @@ rdate connects to an RFC 868 time server over a TCP/IP network, printing the ret
%build
%{configure} --prefix=%{buildroot}%{_bindir}
%{make_build} CFLAGS="-DINET6 -fno-strict-aliasing -fPIC"
%{make_build} CFLAGS="-DINET6 -fno-strict-aliasing -fPIC -g"
%install
%{make_install}
@ -30,6 +29,9 @@ rdate connects to an RFC 868 time server over a TCP/IP network, printing the ret
%{_mandir}/man1/rdate.1*
%changelog
* Thu Sep 09 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.5-3
- rdate should generate debuginfo
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 1.5-2
- Completing build dependencies to fix gcc compiler missing error