diff --git a/telnet.spec b/telnet.spec index 3021d7fb912ae5330109ea16497d8be18988179b..934a50f598408518cebcf53ee0fe12803a734380 100644 --- a/telnet.spec +++ b/telnet.spec @@ -1,7 +1,7 @@ Name: telnet Epoch: 1 Version: 0.17 -Release: 78 +Release: 79 Summary: Client and Server programs for the Telnet communication protocol License: BSD Url: http://web.archive.org/web/20070819111735/www.hcs.harvard.edu/~dholland/computers/old-netkit.html @@ -63,7 +63,7 @@ mv -f telnet telnet-NETKIT %autosetup -T -D -a 1 -n netkit-telnet-%{version} -p1 %build -%{_configure} --with-c-compiler=gcc --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} +%{_configure} --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} sed -i 's,-O2,\$(CC_FLAGS),;s,LDFLAGS=.*,LDFLAGS=\$(LD_FLAGS),;s,^MANDIR=.*$,MANDIR=%{_mandir},' MCONFIG sed -i 's,install [+-]s,install,g' ./telnet/GNUmakefile ./telnetd/Makefile ./telnetlogin/Makefile ./telnet-NETKIT/Makefile @@ -100,6 +100,9 @@ install -pm644 %{SOURCE3} %{buildroot}%{_unitdir}/telnet.socket %{_mandir}/man1/telnet.1* %changelog +* Wed May 24 2023 cf-zhao - 1:0.17-79 +- Support building this package with clang + * Tue Dec 15 2020 xihaochen - 1:0.17-78 - Type:requirement - ID:NA