Temporary pass -Wno-deprecated-declarations to gcc to ignore deprecated warnings to be able to build against OpenSSL-3.0
Resolves: rhbz#1958028
This commit is contained in:
parent
948607b1ae
commit
e2bea1ff11
15
vsftpd.spec
15
vsftpd.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: vsftpd
|
Name: vsftpd
|
||||||
Version: 3.0.3
|
Version: 3.0.3
|
||||||
Release: 44%{?dist}
|
Release: 45%{?dist}
|
||||||
Summary: Very Secure Ftp Daemon
|
Summary: Very Secure Ftp Daemon
|
||||||
|
|
||||||
# OpenSSL link exception
|
# OpenSSL link exception
|
||||||
@ -109,10 +109,14 @@ scratch.
|
|||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# temporary ignore deprecated warnings to be able to build against OpenSSL 3.0
|
||||||
|
# upstram tracking bug: rhbz#1962603
|
||||||
|
%define ignore_deprecated -Wno-deprecated-declarations
|
||||||
|
|
||||||
%ifarch s390x sparcv9 sparc64
|
%ifarch s390x sparcv9 sparc64
|
||||||
%make_build CFLAGS="$RPM_OPT_FLAGS -fPIE -pipe -Wextra -Werror" \
|
%make_build CFLAGS="$RPM_OPT_FLAGS -fPIE -pipe -Wextra -Werror %ignore_deprecated" \
|
||||||
%else
|
%else
|
||||||
%make_build CFLAGS="$RPM_OPT_FLAGS -fpie -pipe -Wextra -Werror" \
|
%make_build CFLAGS="$RPM_OPT_FLAGS -fpie -pipe -Wextra -Werror %ignore_deprecated" \
|
||||||
%endif
|
%endif
|
||||||
LINK="-pie -lssl $RPM_LD_FLAGS" %{?_smp_mflags}
|
LINK="-pie -lssl $RPM_LD_FLAGS" %{?_smp_mflags}
|
||||||
|
|
||||||
@ -167,6 +171,11 @@ mkdir -p $RPM_BUILD_ROOT/%{_var}/ftp/pub
|
|||||||
%{_var}/ftp
|
%{_var}/ftp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 20 2021 Artem Egorenkov <aegorenk@redhat.com> - 3.0.3-45
|
||||||
|
- Temporary pass -Wno-deprecated-declarations to gcc to ignore
|
||||||
|
deprecated warnings to be able to build against OpenSSL-3.0
|
||||||
|
- Resolves: rhbz#1958028
|
||||||
|
|
||||||
* Fri Apr 16 2021 Artem Egorenkov <aegorenk@redhat.com> - 3.0.3-44
|
* Fri Apr 16 2021 Artem Egorenkov <aegorenk@redhat.com> - 3.0.3-44
|
||||||
- Enable support for wide-character strings in logs
|
- Enable support for wide-character strings in logs
|
||||||
- Replace unprintables with HEX code, not question marks
|
- Replace unprintables with HEX code, not question marks
|
||||||
|
Loading…
Reference in New Issue
Block a user