rdate should generate debuginfo

(cherry picked from commit 4583e9fb9be18c3aa9ce043cd1c7201086faafc3)
This commit is contained in:
sunguoshuai 2021-09-09 20:07:16 +08:00 committed by openeuler-sync-bot
parent cd39148d2f
commit 290552801e

View File

@ -1,8 +1,7 @@
%global debug_package %{nil}
Summary: Tool for getting the date/time from a remote machine Summary: Tool for getting the date/time from a remote machine
Name: rdate Name: rdate
Version: 1.5 Version: 1.5
Release: 2 Release: 3
License: GPLv2+ License: GPLv2+
Source: https://www.aelius.com/njh/rdate/%{name}-%{version}.tar.gz Source: https://www.aelius.com/njh/rdate/%{name}-%{version}.tar.gz
URL: https://www.aelius.com/njh/rdate/ 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 %build
%{configure} --prefix=%{buildroot}%{_bindir} %{configure} --prefix=%{buildroot}%{_bindir}
%{make_build} CFLAGS="-DINET6 -fno-strict-aliasing -fPIC" %{make_build} CFLAGS="-DINET6 -fno-strict-aliasing -fPIC -g"
%install %install
%{make_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* %{_mandir}/man1/rdate.1*
%changelog %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 * Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 1.5-2
- Completing build dependencies to fix gcc compiler missing error - Completing build dependencies to fix gcc compiler missing error