Fix build failures with -Werror=format-security

This commit is contained in:
Stephen Gallagher 2017-03-24 10:39:30 -04:00
parent 04a42b7cee
commit 82bd43c6ac
No known key found for this signature in database
GPG Key ID: 7A25556236BAA3A3

View File

@ -5,7 +5,7 @@
Summary: A program-script interaction and testing utility
Name: expect
Version: %{majorver}
Release: 23%{?dist}
Release: 24%{?dist}
License: Public Domain
Group: Development/Languages
# URL: probably more useful is http://sourceforge.net/projects/expect/
@ -42,6 +42,8 @@ Patch102: expect-5.45-check-telnet.patch
Patch103: expect-5.45-passmass-su-full-path.patch
# Patch104: rhbz 963889, fixes inaccuracy in mkpasswd man page
Patch104: expect-5.45-mkpasswd-man.patch
# Patch105: Fix error with -Werror=format-security
Patch105: expect-5.45-format-security.patch
%description
Expect is a tcl application for automating and testing
@ -97,6 +99,7 @@ of expectk.
%patch102 -p1 -b .check-telnet
%patch103 -p1 -b .passmass-su-full-path
%patch104 -p1 -b .mkpasswd-man
%patch105 -p0 -b .format-security
# -pkgpath.patch touch configure.in
aclocal
autoconf
@ -180,6 +183,9 @@ rm -rf "$RPM_BUILD_ROOT"
%{_mandir}/man1/tknewsbiff.1*
%changelog
* Fri Mar 24 2017 Stephen Gallagher <sgallagh@redhat.com> - 5.45-24
- Fix build failures with -Werror=format-security
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.45-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild