!14 generate debuginfo to fix not not stripped

From: @wk333 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-11-07 09:03:41 +00:00 committed by Gitee
commit d2891b03d1
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 Summary: Tool for getting the date/time from a remote machine
Name: rdate Name: rdate
Version: 1.5 Version: 1.5
Release: 1 Release: 2
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
* Tue Nov 07 2023 wangkai <13474090681@163.com> - 1.5-2
- generate debuginfo to fix not not stripped
* Mon Jun 09 2021 yangyunyi <yangyunyi2@huawei.com> - 1.5-1 * Mon Jun 09 2021 yangyunyi <yangyunyi2@huawei.com> - 1.5-1
- Add fPIC parameters to prevent symbol redirection failure - Add fPIC parameters to prevent symbol redirection failure