diff --git a/rdate.spec b/rdate.spec index 4e4eb47..9b64e26 100644 --- a/rdate.spec +++ b/rdate.spec @@ -2,7 +2,7 @@ Summary: Tool for getting the date/time from a remote machine Name: rdate Version: 1.5 -Release: 0 +Release: 1 License: GPLv2+ Source: https://www.aelius.com/njh/rdate/%{name}-%{version}.tar.gz URL: https://www.aelius.com/njh/rdate/ @@ -17,7 +17,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" +%{make_build} CFLAGS="-DINET6 -fno-strict-aliasing -fPIC" %install %{make_install} @@ -30,5 +30,8 @@ rdate connects to an RFC 868 time server over a TCP/IP network, printing the ret %{_mandir}/man1/rdate.1* %changelog +* Mon Mar 15 2021 huanghaitao - 1.5-1 +- Add fPIC parameters to prevent symbol redirection failure + * Thu Nov 07 2019 openEuler Buildtam - 1.5-0 - Package Init