generate debuginfo to fix not not stripped

This commit is contained in:
wk333 2023-11-07 16:34:12 +08:00
parent 6897ea6735
commit 21bd993691

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: 1
Release: 2
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
* 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
- Add fPIC parameters to prevent symbol redirection failure