Fix build failure

This commit is contained in:
zou_lin77 2022-01-08 16:47:30 +08:00
parent 7dd6f501a7
commit 0922c575ff

View File

@ -1,6 +1,6 @@
Name: libidn2
Version: 2.3.2
Release: 1
Release: 2
Summary: GNU IDN Library
License: (GPLv2+ or LGPLv3+) and GPLv3+
URL: https://www.gnu.org/software/libidn/#libidn2
@ -9,7 +9,7 @@ Source0: https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
Patch0: bugfix-libidn2-change-rpath.patch
#Dependency
BuildRequires: gcc gettext libunistring-devel autoconf texinfo automake
BuildRequires: gcc gettext-devel libunistring-devel autoconf texinfo automake libtool gtk-doc
Provides: bundled(gnulib)
Provides: idn2
Obsoletes: idn2
@ -33,7 +33,7 @@ Files for %{name} development
%autosetup -n %{name}-%{version} -p1
%build
autoreconf
autoreconf -fi
%configure --disable-static
%make_build
%make_build -C doc html
@ -75,6 +75,12 @@ make %{?_smp_mflags} -C tests check
%{_datadir}/gtk-doc/
%changelog
* Sat Jan 8 2022 zoulin <zoulin13@huawei.com> - 2.3.2-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:Fix build failure
* Wed Dec 1 2021 wangchen <wangchen137@huawei.com> - 2.3.2-1
- Type:enhancement
- ID:NA